diff options
author | Haru <haru@dotalux.com> | 2015-10-22 12:54:51 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-10-22 12:54:51 +0200 |
commit | c255837018486684af56c6c2286560f446aa3972 (patch) | |
tree | c818c60b8ce44b1daf0683715a095040a22a0fca /src/plugins | |
parent | 95c3844754b1649aaa4866e1e65034ad24a1cafe (diff) | |
download | hercules-c255837018486684af56c6c2286560f446aa3972.tar.gz hercules-c255837018486684af56c6c2286560f446aa3972.tar.bz2 hercules-c255837018486684af56c6c2286560f446aa3972.tar.xz hercules-c255837018486684af56c6c2286560f446aa3972.zip |
Updated db2sql plugin
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/db2sql.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c index 50781f319..6d4a7789c 100644 --- a/src/plugins/db2sql.c +++ b/src/plugins/db2sql.c @@ -290,11 +290,6 @@ void totable(void) { "\n",tosql.db_name,tosql.db_name,tosql.db_name); } void do_db2sql(void) { - if( map->db_use_sql_item_db ) { - ShowInfo("db2sql: this should not be used with 'db_use_sql_item_db' enabled, skipping...\n"); - return; - } - /* link */ itemdb_readdb_libconfig_sub = itemdb->readdb_libconfig_sub; itemdb->readdb_libconfig_sub = db2sql; @@ -305,7 +300,7 @@ void do_db2sql(void) { return; } - tosql.db_name = map->item_db_db; + tosql.db_name = "item_db"; totable(); memset(&tosql.buf, 0, sizeof(tosql.buf) ); @@ -320,7 +315,7 @@ void do_db2sql(void) { return; } - tosql.db_name = map->item_db_db; + tosql.db_name = "item_db"; totable(); itemdb->clear(false); @@ -333,7 +328,7 @@ void do_db2sql(void) { return; } - tosql.db_name = map->item_db2_db; + tosql.db_name = "item_db2"; totable(); itemdb->clear(false); |