"mysql_close" - invalid connection handle (id: 1)
#1

Another wierd error..
There are all of my mysql_close.
Код:
public OnGameModeExit() {
	#if defined DEBUG
	    print("[debug] OnGameModeExit()");
	#endif
	mysql_close(handle);
	return 1;
}
public restartTimer()
{
	iGMXTick--;
	switch(iGMXTick)
	{
	    case 0:
		{
			mysql_close(handle);
			KillTimer(iGMXTimer);
			SendRconCommand("gmx");
	         }

	}

	return 1;
}
How can I fix this?
Reply
#2

Is your connection handle literally defined as "handle"?
Reply
#3

Quote:
Originally Posted by DTV
Посмотреть сообщение
Is your connection handle literally defined as "handle"?
Yep it is.
Reply
#4

Is the mysql server connecting successfully?
Reply
#5

Quote:
Originally Posted by DTV
Посмотреть сообщение
Is the mysql server connecting successfully?
Yes.
Reply
#6

Bumping!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)