Switch between 2 databases
Hello. What I want to do is to switch between two DBs in one plugin, for example i save my points into 'points' DATABASE and i want to save logs into 'bans' database. How can I switch between 2 databases in PAWN? I know in php its pretty easy :
PHP Code:
PHP Code:
|
Re: Switch between 2 databases
1 tuple per database, simply create a second tuple
|
Re: Switch between 2 databases
Wont it overload server heavily if I save ADMIN ACTIONS (e.g. Kick, Slay, Gag, Ban) to MYSQL. I mean on every cmd use MYSQL QUERIES will be called, wont it overload server?
|
Re: Switch between 2 databases
Use SQL_ThreadQuery if you are worried about that
|
| All times are GMT -4. The time now is 10:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.