From 045c1a44df08c1472f5a95742628a2765c1be9d1 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 24 Jun 2013 16:23:46 -0300 Subject: Follow up fcba8a2161a392369db99ab9a516a24470c54796 Fixed "random" item package rates, special thanks to Beret. Also, added the missing (+130) item package calls (special thanks to Streusel!) Signed-off-by: shennetsind --- src/plugins/db2sql.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c index a6e1c20e6..c4d4adff1 100644 --- a/src/plugins/db2sql.c +++ b/src/plugins/db2sql.c @@ -17,7 +17,7 @@ HPExport struct hplugin_info pinfo = { "DB2SQL", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? - "0.2", // Plugin version + "0.3", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated) }; @@ -98,6 +98,11 @@ int db2sql(char** str, const char* source, int line, int scriptopt) { CPCMD(db2sql) { + if( iMap->db_use_sqldbs ) { + ShowInfo("db2sql: this should not be used with 'db_use_sqldbs' enabled, skipping...\n"); + return; + } + stmt = SQL->StmtMalloc(mysql_handle); if( stmt == NULL ) { SqlStmt_ShowDebug(stmt); -- cgit v1.2.3-60-g2f50