MySQL's had enough?
#3

Quote:
Originally Posted by jarrah
When you add a new row in your script, you also have to add it in the same tables in the mysql database.
Well, by reading the code you would know that if it doesn't fetch another row, it wont continue the while loop either, hence it will ignore the last poop. Anyway, I can't seem to figure a problem at the exact time but I am looking.

Alright, I just found the problem. Silly me.

Well, lets have a look:

pawn Код:
new
    query[256],
    result[256],
    loop[256],
    poop = 1;
Well, the result could be 1024 cells big. The query itself CAN be 512 cells big. So, I am guessing that it might exceed the cells of result. I can't tell for sure but I can guess, if it doesn't I can surely re-write this as of how I would of done it.
Anyway, try making results 1024 cells big. The query is not needed to be changed, rather to be made smaller, like 128 cells big, because I don't think a username, plus the 32 cells long string from md5 as well as your query are longer then 128 cells.
Reply


Messages In This Thread
MySQL's had enough? - by Lewwy - 18.07.2009, 16:45
Re: MySQL's had enough? - by help! - 13.10.2009, 08:42
Re: MySQL's had enough? - by Extremo - 13.10.2009, 10:58
Re: MySQL's had enough? - by Lewwy - 16.10.2009, 13:53

Forum Jump:


Users browsing this thread: 1 Guest(s)