felipe          Fri May  1 03:06:40 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/odbc   php_odbc.c 
    /php-src    NEWS 
  Log:
  - MFH: 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.189.2.4.2.11&r2=1.189.2.4.2.12&diff_format=u
Index: php-src/ext/odbc/php_odbc.c
diff -u php-src/ext/odbc/php_odbc.c:1.189.2.4.2.11 
php-src/ext/odbc/php_odbc.c:1.189.2.4.2.12
--- php-src/ext/odbc/php_odbc.c:1.189.2.4.2.11  Wed Dec 31 11:17:40 2008
+++ php-src/ext/odbc/php_odbc.c Fri May  1 03:06:38 2009
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_odbc.c,v 1.189.2.4.2.11 2008/12/31 11:17:40 sebastian Exp $ */
+/* $Id: php_odbc.c,v 1.189.2.4.2.12 2009/05/01 03:06:38 felipe Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1035,7 +1035,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);
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1483&r2=1.2027.2.547.2.1484&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1483 php-src/NEWS:1.2027.2.547.2.1484
--- php-src/NEWS:1.2027.2.547.2.1483    Thu Apr 30 18:55:44 2009
+++ php-src/NEWS        Fri May  1 03:06:39 2009
@@ -11,6 +11,8 @@
 - Fixed segfault on invalid session.save_path. (Hannes)
 - Fixed leaks in imap when a mail_criteria is used. (Pierre)
 
+- Fixed bug #48038 (odbc_execute changes variables used to form params array).
+  (Felipe)
 - Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams). (Arnaud)
 - Fixed bug #47991 (SSL streams fail if error stack contains items). (Mikko)
 - Fixed bug #47981 (error handler not called regardless). (Hannes)



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

Reply via email to