Mysql: Establish a default timeout
This commit is contained in:
1 parent
5ca0e5617d
commit
f8ec7f94a4
5 files changed
+41
-20
No files matched your search
@@ -393,6 +393,11 @@ stock Handle:SQL_MakeStdTuple(timeout = 0)
|
||||
get_cvar_string("amx_sql_pass", pass, 31);
|
||||
get_cvar_string("amx_sql_type", set_type, 11);
|
||||
get_cvar_string("amx_sql_db", db, 127);
|
||||
|
||||
if (timeout <= 0)
|
||||
{
|
||||
timeout = get_cvar_num("amx_sql_timeout");
|
||||
}
|
||||
|
||||
SQL_GetAffinity(get_type, 12);
|
||||
|
||||
|
||||
Reference in new issue
Block a user