fixed a reporting bug

This commit is contained in:
David Anderson 2006-06-03 23:02:18 +00:00
parent 34f5b3257d
commit 27ba10c8a0

View File

@ -385,7 +385,7 @@ static cell AMX_NATIVE_CALL dbi_error(AMX *amx, cell *params)
//native dbi_type(_type[], _len); //native dbi_type(_type[], _len);
static cell AMX_NATIVE_CALL dbi_type(AMX *amx, cell *params) 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); //native dbi_num_fields(Result:result);