comparison: dbd/db2/connection.c
dbd/db2/connection.c
- changeset 24
- abb9499bef51
- parent 23
- a4825c3e65e9
- child 26
- cf847efefdb5
equal
deleted
inserted
replaced
221 |
221 |
222 /* |
222 /* |
223 * __gc |
223 * __gc |
224 */ |
224 */ |
225 static int connection_gc(lua_State *L) { |
225 static int connection_gc(lua_State *L) { |
226 printf("Freeing connection\n"); |
|
227 |
|
228 /* always close the connection */ |
226 /* always close the connection */ |
229 connection_close(L); |
227 connection_close(L); |
230 |
228 |
231 return 0; |
229 return 0; |
232 } |
230 } |