Ignore SkipLockedTables (Drizzle)

This commit is contained in:
Piotr Przybylski 2011-07-13 16:59:22 +02:00
parent 7801d55018
commit c3d1a8b14a
2 changed files with 5 additions and 4 deletions

View File

@ -929,11 +929,11 @@ if (! defined('PMA_MINIMUM_COMMON')) {
PMA_fatalError(__('You should upgrade to %s %s or later.'), array('MySQL', '5.0.15'));
}
/**
* DisableIS must be set to false for Drizzle, it maps SHOW commands to IS queries anyway
*/
if (PMA_DRIZZLE && $cfg['Server']['DisableIS']) {
if (PMA_DRIZZLE) {
// DisableIS must be set to false for Drizzle, it maps SHOW commands to IS queries anyway
$cfg['Server']['DisableIS'] = false;
// SHOW OPEN TABLES is not supported by Drizzle
$cfg['SkipLockedTables'] = false;
}
/**

View File

@ -596,6 +596,7 @@ $cfg['MemoryLimit'] = '0';
/**
* mark used tables, make possible to show locked tables (since MySQL 3.23.30)
* Is ignored for Drizzle.
*
* @global boolean $cfg['SkipLockedTables']
*/