From 27ba10c8a045486be1529890ee195bddf42469bf Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 3 Jun 2006 23:02:18 +0000 Subject: [PATCH] fixed a reporting bug --- dlls/sqlite/oldcompat_sql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/sqlite/oldcompat_sql.cpp b/dlls/sqlite/oldcompat_sql.cpp index c621fb87..8819b76c 100644 --- a/dlls/sqlite/oldcompat_sql.cpp +++ b/dlls/sqlite/oldcompat_sql.cpp @@ -385,7 +385,7 @@ static cell AMX_NATIVE_CALL dbi_error(AMX *amx, cell *params) //native dbi_type(_type[], _len); static cell AMX_NATIVE_CALL dbi_type(AMX *amx, cell *params) { - return MF_SetAmxString(amx, params[1], "mysql", params[2]); + return MF_SetAmxString(amx, params[1], g_Sqlite.NameString(), params[2]); } //native dbi_num_fields(Result:result);