From 015e3d1e1e9db4558537979628f500140becf966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 13 Jan 2022 10:39:47 +0100 Subject: [PATCH] Sql.mysql: Added reset(). --- lib/modules/Sql.pmod/mysql.pike | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/modules/Sql.pmod/mysql.pike b/lib/modules/Sql.pmod/mysql.pike index bcddad134a..5fe0c6258c 100644 --- a/lib/modules/Sql.pmod/mysql.pike +++ b/lib/modules/Sql.pmod/mysql.pike @@ -394,6 +394,11 @@ void drop_db( string db ) } #endif +void reset() +{ + ::big_query("UNLOCK TABLES"); +} + //! Quote a string so that it can safely be put in a query. //! //! @param s -- GitLab