MySQL - input line too long
#3

First, you forgot to close the string with " at the end.
The format line is too long, pawn stops processing them at some point, dont know when exactly.
So youll need to split it like this

pawn Code:
format(query, sizeof(query), "UPDATE ...",
    parameters_here, ...);
Also your query string is probably too short if you also insert other strings, increase it to 250-300.
Reply


Messages In This Thread
MySQL - input line too long - by DJ123 - 22.11.2011, 18:43
Re: MySQL - input line too long - by IceCube! - 22.11.2011, 18:47
Re: MySQL - input line too long - by Mauzen - 22.11.2011, 18:51
Re: MySQL - input line too long - by DJ123 - 22.11.2011, 19:31
Re: MySQL - input line too long - by Mauzen - 22.11.2011, 19:36

Forum Jump:


Users browsing this thread: 2 Guest(s)