From 09a9dd4796f8fe13442afdcdd235afbd4906ec0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 5 May 2001 20:39:01 +0000 Subject: [PATCH] Enforce reloading of the left frame if a table has to be created --- db_readdump.php3 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db_readdump.php3 b/db_readdump.php3 index 8f524d308..61a192e34 100755 --- a/db_readdump.php3 +++ b/db_readdump.php3 @@ -21,6 +21,10 @@ if (count($pieces) == 1 && !empty($pieces[0])) { } else { $sql_query = trim($pieces[0]); } + // Enforce reloading of the left frame when a table has to be created + if (eregi('^CREATE TABLE (.+)', $sql_query)) { + $reload = "true"; + } include ("sql.php3"); exit; }