Alter doesn't work with MySQL extension

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@521 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2008-10-06 15:08:55 +00:00
parent 221f53d30d
commit 3a7323d34a

View file

@ -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;