replaced depricated MySQL function

This commit is contained in:
Stanislav Klinov 2017-01-11 14:02:16 +03:00
parent 4c56f5126f
commit 92dde6a12b

View File

@ -532,7 +532,7 @@ static int env_close (lua_State *L) {
lua_pushboolean (L, 0);
return 1;
}
mysql_server_end();
mysql_library_end();
env->closed = 1;
lua_pushboolean (L, 1);
return 1;