php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55802
Patch pdo_attr_emulate_prepares_getattribute.patch revision 2011-09-27 23:27 UTC by cyberspice at cyberspice dot org dot uk

Patch pdo_attr_emulate_prepares_getattribute.patch for PDO MySQL Bug #55802

Patch version 2011-09-27 23:27 UTC

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

Developer: cyberspice@cyberspice.org.uk

--- php-src-5.3.8.orig/ext/pdo_mysql/mysql_driver.c	2011-09-27 23:59:21.000000000 +0100
+++ php-src-5.3.8/ext/pdo_mysql/mysql_driver.c	2011-09-28 00:05:20.000000000 +0100
@@ -485,6 +485,7 @@
 			break;
 
 		case PDO_MYSQL_ATTR_DIRECT_QUERY:
+		case PDO_ATTR_EMULATE_PREPARES:
 			ZVAL_LONG(return_value, H->emulate_prepare);
 			break;
 
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 27 04:03:38 2021 UTC