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:
parent
221f53d30d
commit
3a7323d34a
|
@ -111,7 +111,7 @@ $result->free();
|
||||||
ELSE
|
ELSE
|
||||||
SET @alter_table = CONCAT('DROP TABLE `', REPLACE(_table_name, '`', '``'), '`');
|
SET @alter_table = CONCAT('DROP TABLE `', REPLACE(_table_name, '`', '``'), '`');
|
||||||
PREPARE alter_command FROM @alter_table;
|
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;
|
DROP PREPARE alter_command;
|
||||||
END CASE;
|
END CASE;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
Loading…
Reference in a new issue