From 3a7323d34aa303b444e8adbe91dd4b9608d19c7f Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 6 Oct 2008 15:08:55 +0000 Subject: [PATCH] Alter doesn't work with MySQL extension git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@521 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- dump.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump.inc.php b/dump.inc.php index 480d321a..2b24b28b 100644 --- a/dump.inc.php +++ b/dump.inc.php @@ -111,7 +111,7 @@ $result->free(); ELSE SET @alter_table = CONCAT('DROP TABLE `', REPLACE(_table_name, '`', '``'), '`'); PREPARE alter_command FROM @alter_table; - EXECUTE alter_command; + EXECUTE alter_command; -- returns "can't return a result set in the given context" with MySQL extension DROP PREPARE alter_command; END CASE; END IF;