]> granicus.if.org Git - php/commitdiff
- Drop some uncompletley synched code, makes it work at least
authorMarcus Boerger <helly@php.net>
Tue, 31 Oct 2006 19:13:41 +0000 (19:13 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 31 Oct 2006 19:13:41 +0000 (19:13 +0000)
ext/pdo_pgsql/pgsql_statement.c

index 5d5e4723a09a08dcfdd536d11b80d1bbc63ed0b6..50fc9a1706b5e54ea10643871de6e276f9b7d4df 100644 (file)
@@ -55,14 +55,6 @@ static int pgsql_stmt_dtor(pdo_stmt_t *stmt TSRMLS_DC)
                char *q = NULL;
                PGresult *res;
 
-               if (S->is_prepared) {
-                       spprintf(&q, 0, "DEALLOCATE %s", S->stmt_name);
-                       res = PQexec(H->server, q);
-                       efree(q);
-                       if (res) {
-                               PQclear(res);
-                       }
-               }
                efree(S->stmt_name);
                S->stmt_name = NULL;
        }