dbd/db2/connection.c

changeset 23
a4825c3e65e9
parent 22
fd78e9cdc6e9
child 24
abb9499bef51
equal deleted inserted replaced
22:fd78e9cdc6e9 23:a4825c3e65e9
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
226 /* always close the connection */ 228 /* always close the connection */
227 connection_close(L); 229 connection_close(L);
228 230
229 return 0; 231 return 0;
230 } 232 }

mercurial