Diff of /trunk/adminer/include/connect.inc.php [r1520] .. [r1521] Maximize Restore

  Switch to side-by-side view

--- a/trunk/adminer/include/connect.inc.php
+++ b/trunk/adminer/include/connect.inc.php
@@ -61,3 +61,7 @@
 	connect_error(); // separate function to catch SQLite error
 	exit;
 }
+
+if (support("scheme") && DB != "" && $_GET["ns"] !== "" && (!isset($_GET["ns"]) || !set_schema($_GET["ns"]))) {
+	redirect(preg_replace('~ns=[^&]*&~', '', ME) . "ns=" . get_schema());
+}