]> granicus.if.org Git - php/commitdiff
i always forget something;-)
authorThies C. Arntzen <thies@php.net>
Wed, 22 Sep 1999 15:26:16 +0000 (15:26 +0000)
committerThies C. Arntzen <thies@php.net>
Wed, 22 Sep 1999 15:26:16 +0000 (15:26 +0000)
ext/oracle/oracle.c

index d9b0172e4ec2564b3f413050430e7af3aecfea3a..bf6c6ef5ad6a535726f2f7c17e62a08fb5972139 100644 (file)
@@ -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;
 }