From 4cdd12e805715e7631b2f021cf1272d1d2979d9a Mon Sep 17 00:00:00 2001 From: Fredy Date: Sun, 21 Nov 2021 17:06:36 +0100 Subject: [PATCH] Fixed incorrect name for auto reconnect function --- src/lua/LuaDatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/LuaDatabase.cpp b/src/lua/LuaDatabase.cpp index bd0c1aa..d6a4f2f 100644 --- a/src/lua/LuaDatabase.cpp +++ b/src/lua/LuaDatabase.cpp @@ -255,7 +255,7 @@ void LuaDatabase::createMetaTable(ILuaBase *LUA) { LUA->SetField(-2, "hostInfo"); LUA->PushCFunction(setAutoReconnect); - LUA->SetField(-2, "setSQLAutoReconnect"); + LUA->SetField(-2, "setAutoReconnect"); LUA->PushCFunction(setMultiStatements); LUA->SetField(-2, "setMultiStatements");