SQLx Tablename Variable problem
I don't see how the plugin can't resolve the tablename
Code:
new g_sqlstats_table[64]Code:
L 01/13/2007 - 17:56:16: Start of error session.The DBI line I'm trying to convert to SQLx is ; Code:
dbi_query(g_dbc, "CREATE TABLE IF NOT EXISTS `%s` (`authid` VARCHAR( 32 ) NOT NULL, `name` VARCHAR( 32 ) NOT NULL , `date` TIMESTAMP( 10 ) NOT NULL , `score` INT NOT NULL ,`kills` INT NOT NULL , `teamkills` INT NOT NULL, `deaths` INT NOT NULL , `hits` INT NOT NULL , `shots` INT NOT NULL , `headshots` INT NOT NULL , `efficiency` DOUBLE (19,2) DEFAULT NULL, `accuracy` double(19,2) default NULL,`accuracyHS` double(19,2) default NULL, PRIMARY KEY(`authid`))", g_sqlstats_table) |
Re: SQLx Tablename Variable problem
Code:
Make sure it doesn't contain no table name in the g_sqlstats_table. If it does contain nothing. Where are you executing g_sqlstats_table to enter the value? |
Re: SQLx Tablename Variable problem
Not exactly sure what your asking.
um.. Are you asking where the actual tablename is being defined? If so, in sql.cfg. if not, could clarify please? |
Re: SQLx Tablename Variable problem
Did you register the cvar amx_sqlstats_table?
|
Re: SQLx Tablename Variable problem
Quote:
|
| All times are GMT -4. The time now is 22:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.