diff options
Diffstat (limited to 'src/map/mapreg_sql.c')
-rw-r--r-- | src/map/mapreg_sql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mapreg_sql.c b/src/map/mapreg_sql.c index 6e8b8f9b0..516be56cb 100644 --- a/src/map/mapreg_sql.c +++ b/src/map/mapreg_sql.c @@ -221,7 +221,7 @@ static void script_load_mapreg(void) SQL->StmtBindColumn(stmt, 2, SQLDT_STRING, &value, sizeof value, NULL, NULL); while ( SQL_SUCCESS == SQL->StmtNextRow(stmt) ) { - int s = script->add_str(varname); + int s = script->add_variable(varname); int i = index; |