02.04.2019, 06:57
All the queries I made with y_inline in linux give me this error: mysql_format: no value for specifier '% d' passed
VALUES (%d, %d %d), pname, accountid);
MySQL_TQueryInline(conexion, using inline CountUsersWork, "SELECT COUNT(*) FROM `users` WHERE `id`=%d AND `work`=%d;", id_user, work);
YSI Warning: Bare `___` usage found - make sure it is a function parameter.
[plugins / mysql] mysql_format: no value for specifier '% d' passed [plugins / mysql] mysql_format: no value for specifier '% d' passed [plugins / mysql] mysql_format: no value for specifier '% d' passed [plugins / mysql] mysql_format: no value for specifier '% d' passed [plugins / mysql] mysql_format: no value for specifier '% d' passed [plugins / mysql] mysql_format: no value for specifier '% d' passed [plugins / mysql] mysql_format: no value for specifier '% d' passed
MySQL_TQueryInline (connection, using inline CountUsersWork, "SELECT COUNT (*) FROM` users` WHERE `id` = 1 AND` work` = 1; ");
[22:39:31] [DEBUG] created new resultset '0x94cfb18' [22:39:31] [DEBUG] fetched MySQL result '0x966f3a8' [22:39:31] [DEBUG] allocated 88 bytes for PAWN result [22:39:31] [DEBUG] CHandle::Execute - return value: true [22:39:31] [DEBUG] mysql_tquery: return value: '1' (E:\Documents\user\pawno\include\YSI_Coding\y_inline\y_inline_extra.inc:92 -> core/users.pwn:323) [22:39:31] [DEBUG] CCallback::Execute(amx=0x92a9ca8, index=76, num_params=2) [22:39:31] [INFO] Executing callback 'Indirect_FromCallback' with 2 parameters... [22:39:31] [DEBUG] processing internal specifier 'c' [22:39:31] [DEBUG] pushed value '1' onto AMX stack [22:39:31] [DEBUG] processing internal specifier 'c' [22:39:31] [DEBUG] pushed value '0' onto AMX stack [22:39:31] [DEBUG] executing AMX callback with index '76' [22:39:31] [DEBUG] AMX callback executed with error '0' [22:39:31] [INFO] Callback successfully executed.
*** YSI Warning: Bare `___` usage found - make sure it is a function parameter.