Mysql problem
#5

The output is 1 by default but using multiply connections could cause an issue.

pawn Код:
// global:
static gMySQL = -1;

// gamemode init:
gMySQL = mysql_connect(...);

// gamemode exit:
mysql_close(gMySQL);

...

mysql_query(gMySQL, query);
However, I strongly recommend you to use threaded queries and R39-3 because non-threaded queries are still slower.
Reply


Messages In This Thread
Mysql problem - by TiXz0r - 12.05.2015, 14:22
Re: Mysql problem - by bgedition - 12.05.2015, 14:24
Re: Mysql problem - by X337 - 12.05.2015, 14:25
Re: Mysql problem - by TiXz0r - 12.05.2015, 14:27
Re: Mysql problem - by Konstantinos - 12.05.2015, 14:31
Re: Mysql problem - by X337 - 12.05.2015, 14:33
Re: Mysql problem - by TiXz0r - 12.05.2015, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)