Raised This Month: $ Target: $400
 0% 

Require module sqlite


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-25-2014 , 10:23   Re: Require module sqlite
Reply With Quote #4

sqlite is a special case. Both mysql and sqlite uses "dbi" as library name, to keep compatibility with old natives as well.
They share also the same natives names and basically the same base.

Because of you can choose dynamically the driver with SQL_SetAffinity(), if you plan to use both (you have "mysql" and "sqlite" available, it's possible to create another driver), you need to manually enable them in modules.ini. So with both loaded, you can switch affinity anytime.

If you need just mysql, you have nothing to do because it will load automatically mysql module by default when you include sqlx.inc.
__________________

Last edited by Arkshine; 11-25-2014 at 10:45.
Arkshine 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 17:41.


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