[HELP] MySQL Saving - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] MySQL Saving (
/showthread.php?tid=265388)
[HELP] MySQL Saving -
Alvord - 30.06.2011
Deleted.
Re: [HELP] MySQL Saving -
Calgon - 30.06.2011
Do you know what error MySQL returns when you type that command? Enable debugging from within your plugin if you're not sure and it should then display in your mysql_log.txt.
Re: [HELP] MySQL Saving -
Alvord - 30.06.2011
Deleted.
Re: [HELP] MySQL Saving -
Calgon - 30.06.2011
No query to save the 64th vehicle was even executed.
Could you show us your code please?
Re: [HELP] MySQL Saving -
Alvord - 30.06.2011
Deleted.
Re: [HELP] MySQL Saving -
Calgon - 30.06.2011
Usually, when a query fails, it's still executed and logged, but the query doesn't have any affect.
Try adding debug statements to refine the error to which line could be problematic, add print() statements to every few lines with a unique number (ideally starting from 1) so you can see which line the code stops at.
Re: [HELP] MySQL Saving -
Alvord - 30.06.2011
Deleted.
Re: [HELP] MySQL Saving -
iLinx - 30.06.2011
Quote:
Originally Posted by Alvord
Well, from what I know, my code doesn't have any errors. I heard that there's a limit of 64 indexes per table when executing or saving via MySQL, and I'm wondering how to increase that limit.
|
For the MyISAM engine, yes - you can only have 64 indices, but from the looks of it you only have 1 index, the ID parameter.
Re: [HELP] MySQL Saving -
Alvord - 30.06.2011
Deleted.