MySQL logs
#1

I've got few errors on mysql logs, but can't see the query as i see in many player cases
isn't it by default? i have to use OnQueryError?

Is
PHP код:
mysql_tquery(connectionHandlequery); 
Same as?
PHP код:
mysql_query(connectionHandlequeryfalse); 
And one more question, i'm using a threaded query... [FIXED THIS PART]
Reply
#2

Show the query.
Reply
#3

EDIT: Fixed this part
Quote:
Originally Posted by Shinja
Посмотреть сообщение
And one more question, i'm using a threaded query
PHP код:
mysql_tquery(connectionHandlequery""""); 
Give error
PHP код:
[ERRORmysql_tquery callback parameter count does not match format specifier length 
Tried
PHP код:
mysql_tquery(connectionHandlequery); 
Same error, i believe the query is fine
Reply
#4

what is the string size of the query and the size in the database.
Reply
#5

Quote:
Originally Posted by justjamie
Посмотреть сообщение
what is the string size of the query and the size in the database.
I fixed the errors, i just got 2 more questions
Reply
#6

Bump, (reached 4th page and 48 passed)
I've still got some questions here
Reply
#7

Quote:
Originally Posted by Shinja
Посмотреть сообщение
I've got few errors on mysql logs, but can't see the query as i see in many player cases
isn't it by default? i have to use OnQueryError?

Is
PHP код:
mysql_tquery(connectionHandlequery); 
Same as?
PHP код:
mysql_query(connectionHandlequeryfalse); 
And one more question, i'm using a threaded query... [FIXED THIS PART]
They're not the same, as the name itself expresses mysql_tquery uses threades queries, which means that if you use them, they will not freeze your server upon query conclusion, whereas mysql_query will do until the query gets concluded.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)