Raised This Month: $ Target: $400
 0% 

persistent mysql connection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XyXEL
Junior Member
Join Date: Jun 2007
Old 06-06-2007 , 11:47   persistent mysql connection
Reply With Quote #1

how to make a persistent mysql connection using sqlx ?

does it work if i only use
PHP Code:
SQL_FreeHandle(SqlConnection
on
PHP Code:
public plugin_end() 
XyXEL is offline
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 06-06-2007 , 12:47   Re: persistent mysql connection
Reply With Quote #2

Quote:
Originally Posted by XyXEL View Post
how to make a persistent mysql connection using sqlx ?

does it work if i only use
PHP Code:
SQL_FreeHandle(SqlConnection
on
PHP Code:
public plugin_end() 
Bailopan answered a similar question: http://forums.alliedmods.net/showthr...ersistent+SQLx

IF and ONLY IF I understand correctly, your code would probably result in possible loss of refresh due to idle time if queries aren't sent consistently. However, it's early, I haven't eaten breakfast and probably should read up on MySQL again, so don't take my word for much :-).

Slmclarengt
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode