felipe          Fri May  1 03:02:32 2009 UTC

  Modified files:              
    /php-src/ext/odbc   php_odbc.c 
  Log:
  - Fixed bug #48038 (odbc_execute changes variables used to form params array)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/php_odbc.c?r1=1.218&r2=1.219&diff_format=u
Index: php-src/ext/odbc/php_odbc.c
diff -u php-src/ext/odbc/php_odbc.c:1.218 php-src/ext/odbc/php_odbc.c:1.219
--- php-src/ext/odbc/php_odbc.c:1.218   Tue Mar 10 23:39:27 2009
+++ php-src/ext/odbc/php_odbc.c Fri May  1 03:02:32 2009
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_odbc.c,v 1.218 2009/03/10 23:39:27 helly Exp $ */
+/* $Id: php_odbc.c,v 1.219 2009/05/01 03:02:32 felipe Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1274,7 +1274,7 @@
                        }
 
                        otype = (*tmp)->type;
-                       convert_to_string(*tmp);
+                       convert_to_string_ex(tmp);
                        if (Z_TYPE_PP(tmp) != IS_STRING) {
                                php_error_docref(NULL TSRMLS_CC, 
E_WARNING,"Error converting parameter");
                                SQLFreeStmt(result->stmt, SQL_RESET_PARAMS);



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

Reply via email to