diff options
author | Elena Stepanova <elenst@montyprogram.com> | 2015-02-08 15:47:00 +0300 |
---|---|---|
committer | Elena Stepanova <elenst@montyprogram.com> | 2015-02-08 15:47:00 +0300 |
commit | 0d73bc1c25d12b89153ece12a42bf030679a4add (patch) | |
tree | f21341d74808c5c1c661b9cbf8c5c6c71551270e /debian | |
parent | b9d616c243972afb7bb5169d5136ed451ab7cd31 (diff) | |
download | mariadb-git-0d73bc1c25d12b89153ece12a42bf030679a4add.tar.gz |
MDEV-7519 debian / ubuntu packaging creation of plugin table (if not exists)
Previously IF NOT EXISTS was added in Debian version in revno 3543.
Now added the same for Ubuntu.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/dist/Ubuntu/mariadb-server-5.5.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dist/Ubuntu/mariadb-server-5.5.postinst b/debian/dist/Ubuntu/mariadb-server-5.5.postinst index 1c7aa37f69f..920868e22e6 100644 --- a/debian/dist/Ubuntu/mariadb-server-5.5.postinst +++ b/debian/dist/Ubuntu/mariadb-server-5.5.postinst @@ -213,7 +213,7 @@ EOF # 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';" ` |