Raised This Month: $ Target: $400
 0% 

MySQL


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-12-2012 , 23:35   Re: MySQL
Reply With Quote #9

Code:
/**  * Creates a connection information tuple.  * This tuple must be passed into connection routines.  * Freeing the tuple is not necessary, but is a good idea if you  *  create many of them.  You can cache these handles globally.  * !!NOTE!! I have seen most people think that this connects to the DB.  *   Nowhere does it say this, and in fact it does not.  It only caches  *   the connection information, the host/user/pass/etc.  *  * The optional timeout parameter specifies how long connections should wait before  * giving up.  If 0, the default (which is undefined) is used.  *  */ native Handle:SQL_MakeDbTuple(const host[], const user[], const pass[], const db[], timeout=0);
Quote:
Freeing the tuple is not necessary, but is a good idea if you create many of them.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
 



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 06:18.


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