PDA

View Full Version : MySQL is lying to me


ReneG
19/07/2012, 10:53 AM
Here is the code http://pastebin.com/42Wk3Skh

The main issue is that.
cache_get_data(rows, fields);
printf("Thread: %d Rows: %d Fields: %d", resultid, rows, fields);

prints out
Thread: 1 Rows: 1598245947 Fields: 1128088916

Even when the name doesn't exist in the database.