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");