diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-26 18:14:06 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-26 18:14:06 +0000 |
commit | 818d67b0a0db8ca3ba4c6e796e8e116be89df69d (patch) | |
tree | fd9b80e0304d12fd55673b5f26cf197094a7cda8 /src/map/script.c | |
parent | 928c64f273a8d50498601c51536d638cf866ab12 (diff) | |
download | hercules-818d67b0a0db8ca3ba4c6e796e8e116be89df69d.tar.gz hercules-818d67b0a0db8ca3ba4c6e796e8e116be89df69d.tar.bz2 hercules-818d67b0a0db8ca3ba4c6e796e8e116be89df69d.tar.xz hercules-818d67b0a0db8ca3ba4c6e796e8e116be89df69d.zip |
* Fixed buildin_query_sql using Sql_Query instead of Sql_QueryStr, wrongly processing all %f,%d,... (fixes bureport:218)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11809 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 17d859289..4198fdd55 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -11588,7 +11588,7 @@ BUILDIN_FUNC(query_sql) // Execute the query query = script_getstr(st,2); - if( SQL_ERROR == Sql_Query(mmysql_handle, query) ) + if( SQL_ERROR == Sql_QueryStr(mmysql_handle, query) ) { Sql_ShowDebug(mmysql_handle); script_pushint(st, 0); |