patch #2899969 [core] Session lock blocks working from a second window

This commit is contained in:
Marc Delisle
2009-12-17 17:27:47 +00:00
parent 8ba0a2ca2e
commit 6ec65aafe3
2 changed files with 9 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #2905629 [auth] Blowfish secret is not hashed - bug #2905629 [auth] Blowfish secret is not hashed
- bug #2910000 [gui] ShowServerInfo should hide all server info from main page - bug #2910000 [gui] ShowServerInfo should hide all server info from main page
- bug #2910568 [structure] Table size for ARCHIVE tables is not displayed - bug #2910568 [structure] Table size for ARCHIVE tables is not displayed
- patch #2899969 [core] Session lock blocks working from a second window,
thanks to Greg Roach - fisharebest
3.2.4.0 (2009-12-02) 3.2.4.0 (2009-12-02)
- bug [engines] Innodb_buffer_pool_pages_latched no longer returned in status - bug [engines] Innodb_buffer_pool_pages_latched no longer returned in status

View File

@@ -294,6 +294,13 @@ if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) {
PMA_DBI_query('SET PROFILING=1;'); PMA_DBI_query('SET PROFILING=1;');
} }
// fisharebest: release the session lock, otherwise we won't be able to run other
// scripts until the query has finished (which could take a very long time).
// Note: footer.inc.php writes debug info to $_SESSION, so debuggers will have to wait.
if (empty($_SESSION['debug'])) {
session_write_close();
}
// garvin: Measure query time. // garvin: Measure query time.
// TODO-Item http://sourceforge.net/tracker/index.php?func=detail&aid=571934&group_id=23067&atid=377411 // TODO-Item http://sourceforge.net/tracker/index.php?func=detail&aid=571934&group_id=23067&atid=377411
$querytime_before = array_sum(explode(' ', microtime())); $querytime_before = array_sum(explode(' ', microtime()));