Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.16, 5.5(EOL)
Description
Debian has CREATE TABLE IF NOT EXISTS plugin and Ubuntu only has CREATE TABLE plugin.
Thinking Ubuntu should have IF NOT EXISTS too. It might fail otherwise.
--- debian/dist/Ubuntu/mariadb-server-10.0.postinst 2014-05-25 15:03:40.306600000 +1000
|
+++ debian/dist/Debian/mariadb-server-10.0.postinst 2014-05-25 15:03:40.306600000 +1000
|
@@ -213,7 +212,7 @@
|
# admin might already have chosen to remove one or more plugins. Newlines are necessary.
|
install_plugins=`/bin/echo -e \
|
"USE mysql;\n" \
|
- "CREATE TABLE plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', " \
|
+ "CREATE TABLE IF NOT EXISTS plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', " \
|
" dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', " \
|
" PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';" `
|
|