Skip to content

Commit

Permalink
Fixed incorrect name for auto reconnect function
Browse files Browse the repository at this point in the history
  • Loading branch information
FredyH committed Nov 21, 2021
1 parent b9d5b74 commit 4cdd12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/LuaDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 4cdd12e

Please sign in to comment.