[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_3, updated. RELEASE_3_3_4-8-g852ed51

Marc Delisle lem9 at users.sourceforge.net
Tue Jun 29 14:14:43 CEST 2010


The branch, QA_3_3 has been updated
       via  852ed51c27f35ec942440e0330318775d8e4c91d (commit)
      from  f463b1cc7a87e8a7e69ee67d942cae34f4ac37ff (commit)


- Log -----------------------------------------------------------------
commit 852ed51c27f35ec942440e0330318775d8e4c91d
Author: Marc Delisle <marc at infomarc.info>
Date:   Tue Jun 29 08:14:31 2010 -0400

    bug [replication] Do not offer information_schema in the list of databases

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                         |    1 +
 libraries/replication_gui.lib.php |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7cdba96..66873fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
   databases, thanks to St├ęphane Pontier - shadow_walker
 - bug #3022705 [import] Import button does not work in Catalan when there
   is no progress bar possible
+- bug [replication] Do not offer information_schema in the list of databases
 
 3.3.4.0 (2010-06-28)
 - bug #2996161 [import] properly escape import value
diff --git a/libraries/replication_gui.lib.php b/libraries/replication_gui.lib.php
index d772800..b5f14ad 100644
--- a/libraries/replication_gui.lib.php
+++ b/libraries/replication_gui.lib.php
@@ -72,6 +72,9 @@ function PMA_replication_db_multibox()
     $multi_values .= '<select name="db_select[]" size="6" multiple="multiple" id="db_select">';
 
     foreach ($GLOBALS['pma']->databases as $current_db) {
+        if ('information_schema' == $current_db) {
+            continue;
+        }
         if (! empty($selectall) || (isset($tmp_select) && strpos(' ' . $tmp_select, '|' . $current_db . '|'))) {
             $is_selected = ' selected="selected"';
         } else {


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list