mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Implemented amb216 - SQL_MakeStdTuple now has an optional timeout parameter.
This commit is contained in:
parent
b4ff754e29
commit
747d326ed5
@ -342,7 +342,7 @@ stock SQL_QueryAndIgnore(Handle:db, const queryfmt[], any:...)
|
||||
return ret;
|
||||
}
|
||||
|
||||
stock Handle:SQL_MakeStdTuple()
|
||||
stock Handle:SQL_MakeStdTuple(timeout = 0)
|
||||
{
|
||||
static host[64], user[32], pass[32], db[128];
|
||||
static get_type[12], set_type[12];
|
||||
@ -363,5 +363,5 @@ stock Handle:SQL_MakeStdTuple()
|
||||
}
|
||||
}
|
||||
|
||||
return SQL_MakeDbTuple(host, user, pass, db);
|
||||
return SQL_MakeDbTuple(host, user, pass, db, timeout);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user