Server Crash (MySQL R40)
#2

You need to provide a length for it because sizeof doesn't work with enum-arrays.
Код:
cache_get_value(rowid, "field_name", enum_array, size);
EDIT: The function should return 0 for failure instead of crashing, this needs to be fixed because many people tend to forget the size.
Reply


Messages In This Thread
Server Crash (MySQL R40) - by zT KiNgKoNg - 09.09.2016, 10:14
Re: Server Crash (MySQL R40) - by Konstantinos - 09.09.2016, 10:19
Re: Server Crash (MySQL R40) - by zT KiNgKoNg - 09.09.2016, 10:26
Re: Server Crash (MySQL R40) - by Konstantinos - 09.09.2016, 10:31
Re: Server Crash (MySQL R40) - by justjamie - 09.09.2016, 10:33
Re: Server Crash (MySQL R40) - by zT KiNgKoNg - 09.09.2016, 10:37
Re: Server Crash (MySQL R40) - by Konstantinos - 09.09.2016, 11:29
Re: Server Crash (MySQL R40) - by zT KiNgKoNg - 09.09.2016, 12:28
Re: Server Crash (MySQL R40) - by Konstantinos - 09.09.2016, 13:34

Forum Jump:


Users browsing this thread: 2 Guest(s)