diff options
author | shennetsind <ind@henn.et> | 2013-11-15 03:28:11 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-15 03:28:11 -0200 |
commit | cdf6dc90768b1b524c78e3a172c7a844dd88a943 (patch) | |
tree | 4d8859658a9a3b018319646c73de7911fd25dbf4 /src/plugins | |
parent | 5b9ce296cb99a54c5d2c5254c64154271b933917 (diff) | |
download | hercules-cdf6dc90768b1b524c78e3a172c7a844dd88a943.tar.gz hercules-cdf6dc90768b1b524c78e3a172c7a844dd88a943.tar.bz2 hercules-cdf6dc90768b1b524c78e3a172c7a844dd88a943.tar.xz hercules-cdf6dc90768b1b524c78e3a172c7a844dd88a943.zip |
Fixed db2sql plugin forcing minimal mode
Would turn map server into minimal mode regardless of the --db2sql option being used.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/db2sql.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c index 47c85c2f0..169aa8693 100644 --- a/src/plugins/db2sql.c +++ b/src/plugins/db2sql.c @@ -180,7 +180,7 @@ CPCMD(db2sql) { do_db2sql(); } void db2sql_arg(char *param) { - torun = true; + map->minimal = torun = true; } HPExport void server_preinit (void) { h_config_setting_lookup_string = GET_SYMBOL("config_setting_lookup_string"); @@ -192,9 +192,7 @@ HPExport void server_preinit (void) { strlib = GET_SYMBOL("strlib"); iMalloc = GET_SYMBOL("iMalloc"); - addArg("--db2sql",false,db2sql_arg,NULL); - - map->minimal = true; + addArg("--db2sql",false,db2sql_arg,NULL); } HPExport void plugin_init (void) { HPMi->addCPCommand("server:tools:db2sql",CPCMD_A(db2sql)); |