diff --git a/ChangeLog b/ChangeLog index 3508cef49..b2774cf95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #2905629 [auth] Blowfish secret is not hashed - bug #2910000 [gui] ShowServerInfo should hide all server info from main page - 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) - bug [engines] Innodb_buffer_pool_pages_latched no longer returned in status diff --git a/sql.php b/sql.php index 87914a85b..eabf89afd 100644 --- a/sql.php +++ b/sql.php @@ -294,6 +294,13 @@ if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) { 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. // TODO-Item http://sourceforge.net/tracker/index.php?func=detail&aid=571934&group_id=23067&atid=377411 $querytime_before = array_sum(explode(' ', microtime()));