php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60033
Patch dblib_stmt.diff revision 2011-10-10 22:24 UTC by warezthebeef at gmail dot com

Patch dblib_stmt.diff for PDO related Bug #60033

Patch version 2011-10-10 22:24 UTC

Return to Bug #60033 | Download this patch
Patch Revisions:

Developer: warezthebeef@gmail.com

Index: ext/pdo_dblib/dblib_stmt.c
===================================================================
--- ext/pdo_dblib/dblib_stmt.c  (revision 317847)
+++ ext/pdo_dblib/dblib_stmt.c  (working copy)
@@ -235,9 +235,9 @@
 
                        /* uniqueidentifier is a 16-byte binary number, convert to 32 char hex string */
 #ifdef SQLUNIQUE
-                       *len = dbconvert(NULL, SQLUNIQUE, ptr, *len, SQLCHAR, tmp_ptr, *len);
+                       *len = dbconvert(NULL, SQLUNIQUE, *ptr, *len, SQLCHAR, tmp_ptr, *len);
 #else
-                       *len = dbconvert(NULL, 36, ptr, *len, SQLCHAR, tmp_ptr, *len);
+                       *len = dbconvert(NULL, 36, *ptr, *len, SQLCHAR, tmp_ptr, *len);
 #endif
                        php_strtoupper(tmp_ptr, *len);
                        *ptr = tmp_ptr;
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 13:01:29 2024 UTC