bug #2890443 [mysqli] "No index used in query" exception is reported

This commit is contained in:
Marc Delisle
2009-11-02 17:35:36 +00:00
parent 2afc8f0707
commit 6afa59946a
2 changed files with 8 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
3.2.4.0 (not yet released) 3.2.4.0 (not yet released)
- bug [engines] Innodb_buffer_pool_pages_latched no longer returned in status - bug [engines] Innodb_buffer_pool_pages_latched no longer returned in status
- bug #2890451 [setup] Inconsistent generated "designer_coords" - bug #2890451 [setup] Inconsistent generated "designer_coords"
- bug #2890443 [mysqli] "No index used in query" exception is reported
3.2.3.0 (2009-10-30) 3.2.3.0 (2009-10-30)
- patch #2856664 [export] Date, time, and datetime column types now export correctly to - patch #2856664 [export] Date, time, and datetime column types now export correctly to

View File

@@ -22,7 +22,13 @@ if (!defined('PMA_MYSQL_CLIENT_API')) {
} }
/** /**
* some older mysql client libs are missing this constants ... * some PHP versions are reporting extra messages like "No index used in query"
*/
mysqli_report(MYSQLI_REPORT_OFF);
/**
* some older mysql client libs are missing these constants ...
*/ */
if (! defined('MYSQLI_BINARY_FLAG')) { if (! defined('MYSQLI_BINARY_FLAG')) {
define('MYSQLI_BINARY_FLAG', 128); define('MYSQLI_BINARY_FLAG', 128);