felipe                                   Wed, 02 Jun 2010 12:20:38 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=300089

Log:
- Fixed build and next_rowset prototype

Changed paths:
    U   php/php-src/trunk/ext/pdo_dblib/dblib_stmt.c

Modified: php/php-src/trunk/ext/pdo_dblib/dblib_stmt.c
===================================================================
--- php/php-src/trunk/ext/pdo_dblib/dblib_stmt.c        2010-06-02 10:07:26 UTC 
(rev 300088)
+++ php/php-src/trunk/ext/pdo_dblib/dblib_stmt.c        2010-06-02 12:20:38 UTC 
(rev 300089)
@@ -50,14 +50,14 @@
 {
        pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data;

-       dblib_dblib_stmt_cursor_closer(stmt);
+       dblib_dblib_stmt_cursor_closer(stmt TSRMLS_CC);

        efree(S);

        return 1;
 }

-static int pdo_dblib_stmt_next_rowset(pdo_stmt_t *stmt)
+static int pdo_dblib_stmt_next_rowset(pdo_stmt_t *stmt TSRMLS_DC)
 {
        pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data;
        pdo_dblib_db_handle *H = S->H;
@@ -77,7 +77,6 @@

 static int pdo_dblib_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC)
 {
-       pdo_dbh_t *dbh = stmt->dbh;
        pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data;
        pdo_dblib_db_handle *H = S->H;
        RETCODE ret;
@@ -92,7 +91,7 @@
                return 0;
        }

-       ret = pdo_dblib_stmt_next_rowset(stmt);
+       ret = pdo_dblib_stmt_next_rowset(stmt TSRMLS_CC);

        if (ret == 0) {
                return 0;
@@ -109,7 +108,6 @@
 {

        RETCODE ret;
-       int i;

        pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data;
        pdo_dblib_db_handle *H = S->H;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to