Skip to content

Commit bce1862

Browse files
committed
Merge branch 'master' of https://github.com/tarantool/mysql into pushnull
2 parents d446fdf + 71ae430 commit bce1862

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mysql/init.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ end
5757

5858
local function conn_put(conn)
5959
local mysqlconn = conn.conn
60-
--erase conn for gc
61-
conn.conn = nil
60+
ffi.gc(conn.__gc_hook, nil)
6261
if not conn.queue:get() then
6362
conn.usable = false
6463
return nil

0 commit comments

Comments
 (0)