Mysql_Tquery query size max 64 chars?
#1

Hello, when player connects i wanna show him the login dialog, and I have this query:

Код:
new query[150];
GetPlayerName(playerid, playerInfo[playerid][player_nickname], MAX_PLAYER_NAME); 
format(query, sizeof(query), "SELECT * FROM `players` WHERE `player_nickname` = '%s' LIMIT 1", playerInfo[playerid][player_nickname]);
mysql_tquery_inline(mysql, query, using inline OnAccountCheck, "");
And... the login dialog wasnt showing up (i dont have register ATM... I have the account created in database)
I used mysql_debug(True) and fount out that:

[18:53:12] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `players` WHERE `player_nickname` = 'Jonny_Barneso", callback: "FJ37DH3JG_MYSQL_INTERNAL", format: "d"

While my nickname is Jonny_Barneson. The query between the quotes is 64 characters... Is there a limit or something I dont know about? Confused af.

Edit: the callback isn't even called whoh.
Reply


Messages In This Thread
Mysql_Tquery query size max 64 chars? - by czop1223 - 01.09.2016, 17:01
Re: Mysql_Tquery query size max 64 chars? - by Misiur - 01.09.2016, 17:13
Re: Mysql_Tquery query size max 64 chars? - by czop1223 - 01.09.2016, 17:16
Re: Mysql_Tquery query size max 64 chars? - by Misiur - 01.09.2016, 17:22
Re: Mysql_Tquery query size max 64 chars? - by czop1223 - 01.09.2016, 17:41

Forum Jump:


Users browsing this thread: 3 Guest(s)