fmk             Tue Mar 30 12:54:10 2004 EDT

  Modified files:              
    /php-src/ext/mssql  php_mssql.c 
  Log:
  Fix for #27764. Get return value from a stored procedure not returning any result 
sets
  
http://cvs.php.net/diff.php/php-src/ext/mssql/php_mssql.c?r1=1.132&r2=1.133&ty=u
Index: php-src/ext/mssql/php_mssql.c
diff -u php-src/ext/mssql/php_mssql.c:1.132 php-src/ext/mssql/php_mssql.c:1.133
--- php-src/ext/mssql/php_mssql.c:1.132 Mon Mar 29 13:32:27 2004
+++ php-src/ext/mssql/php_mssql.c       Tue Mar 30 12:54:10 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_mssql.c,v 1.132 2004/03/29 18:32:27 fmk Exp $ */
+/* $Id: php_mssql.c,v 1.133 2004/03/30 17:54:10 fmk Exp $ */
 
 #ifdef COMPILE_DL_MSSQL
 #define HAVE_MSSQL 1
@@ -2105,8 +2105,6 @@
                                dbcanquery(mssql_ptr->link);
                                retval_results = dbresults(mssql_ptr->link);
                        } while (retval_results == SUCCEED);
-
-                       _mssql_get_sp_result(mssql_ptr, statement TSRMLS_CC);
                }
                else {
                        /* Skip results not returning any columns */
@@ -2129,7 +2127,7 @@
                        }
                }
        }
-       else if (retval_results == NO_MORE_RESULTS || retval_results == 
NO_MORE_RPC_RESULTS) {
+       if (retval_results == NO_MORE_RESULTS || retval_results == 
NO_MORE_RPC_RESULTS) {
                _mssql_get_sp_result(mssql_ptr, statement TSRMLS_CC);
        }
        

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

Reply via email to