From 747d326ed5df54399c32b5b68b5031d161c8c244 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Fri, 3 Aug 2007 15:52:35 +0000 Subject: [PATCH] Implemented amb216 - SQL_MakeStdTuple now has an optional timeout parameter. --- plugins/include/sqlx.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/sqlx.inc b/plugins/include/sqlx.inc index e725014f..60748630 100644 --- a/plugins/include/sqlx.inc +++ b/plugins/include/sqlx.inc @@ -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); }