28.06.2012, 14:32
Hello,
My gamemode started to get a little lag because I had too many queries, so I've updated my mysql plugin to r7, and transformed everything to work as multi threaded, but now I'm facing a little problem. There are some queries that I don't want to work in other thread, and I tried something like this:
mysql_function_query(conn, "SELECT * FROM tabley ORDER BY id ASC", true, "", "");
cache_get_data(rows, fields, conn);
but when I print rows there is a huge number of rows that is not possible to be on my database.
Is this possible to do or am I doing something wrong?
I hope someone can give me a little help with this.
Thanks
My gamemode started to get a little lag because I had too many queries, so I've updated my mysql plugin to r7, and transformed everything to work as multi threaded, but now I'm facing a little problem. There are some queries that I don't want to work in other thread, and I tried something like this:
mysql_function_query(conn, "SELECT * FROM tabley ORDER BY id ASC", true, "", "");
cache_get_data(rows, fields, conn);
but when I print rows there is a huge number of rows that is not possible to be on my database.
Is this possible to do or am I doing something wrong?
I hope someone can give me a little help with this.
Thanks