Browse Source

i always forget something;-)

experimetnal/RETURN_REF_PATCH
Thies C. Arntzen 27 years ago
parent
commit
33de7a2ea4
  1. 12
      ext/oracle/oracle.c

12
ext/oracle/oracle.c

@ -191,8 +191,6 @@ DLEXPORT php3_module_entry *get_module() { return &oracle_module_entry; };
static int _close_oraconn(oraConnection *conn)
{
ORALS_FETCH();
printf("_close_oraconn\n");fflush(stdout);
conn->open = 0;
@ -208,16 +206,10 @@ static int _close_oraconn(oraConnection *conn)
static int _close_orapconn(oraConnection *conn)
{
ORALS_FETCH();
printf("_close_orapconn\n");fflush(stdout);
conn->open = 0;
ologof(&conn->lda);
free(conn);
ORA(num_links)--;
ORA(num_persistent)--;
_close_oraconn(conn);
zend_hash_del(ORA(conns),(void*)&conn,sizeof(void*));
ORA(num_persistent)--;
return 1;
}

Loading…
Cancel
Save