Release 1.20 - 2012/01/29
Caution
This release breaks backward compatibility. We need to
dump and restore our database for upgrading.
In this release, mroonga has two changes that requires
database recreation:
- Storage engine name is changed to "mroonga" from "groonga".
- Groonga's native time data value are used for DATE, DATETIME
and TIMESTAMP type values.
We need to modify dumped database to change "ENGINE=groonga"
in "CREATE TABLE" SQL. Here are upgrade sequence.
We dump a database that uses mroonga:
% mysqldump MY_MROONGA_DATABASE > database-groonga.dump
We convert storage engine in dump file:
% sed -e 's/^) ENGINE=groonga/) ENGINE=mroonga/' database-groonga.dump > database-mroonga.dump
We confirm that ENGINE=groonga only in CREATE TABLE
is replaced with ENGINE=mroonga. We need to check @@
... @@ line includes CREATE TABLE. If the line
includes CREATE TABLE, the hunk will be a change for
CREATE TABLE:
% diff -up database-groonga.dump database-mroonga.dump
--- database-groonga.dump 2012-01-29 16:53:20.732624670 +0900
+++ database-mroonga.dump 2012-01-29 16:54:47.608420981 +0900
@@ -29,7 +29,7 @@ CREATE TABLE `diaries` (
PRIMARY KEY (`id`),
FULLTEXT KEY `title_index` (`title`),
FULLTEXT KEY `body_index` (`body`)
-) ENGINE=groonga DEFAULT CHARSET=utf8;
+) ENGINE=mroonga DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
We drop the existing database:
% mysql -u root -e 'DROP DATABASE MY_MROONGA_DATABASE'
We upgrade to "mroonga" storage engine. We will use
apt-get on Debian GNU/Linux or Ubuntu and yum on
CentOS or Fedora:
% sudo apt-get install -y mysql-server-mroonga # for Debian GNU/Linux or Ubuntu
% sudo yum install -y mysql-mroonga # for CentOS or Fedora
We recreate a database:
% mysql -u root -e 'CREATE DATABASE MY_MROONGA_DATABASE'
We restore a database by modified dump file:
% mysql -u root MY_MROONGA_DATABASE < database-mroonga.dump
Now, we can use mroonga 1.20.
Improvements
- Supported MySQL 5.5.20.
- Supported MySQL 5.1.61.
- Required groonga 1.3.0 or later.
- [incompatible] Changed storage engine name to "mroonga" from "groonga".
- Supported UTF8_BIN collate. [#1150]
- Disabled strict-aliasing warnings. [Reported by @issm]
- Supported decimal. [#1249] [Reported by @Kiske]
- [storage mode] Supported HA_KEYREAD_ONLY. It will improve
column value access in index. [#1212]
- [storage mode] Supported float value in multiple column index.
- [storage mode] Supported double value in multiple column index.
- [storage mode] Mapped enum and set types to more suitable
groonga data types.
- [wrapper mode] Supported REPAIR TABLE.
- [storage mode] Supported count(*) on view. [#1255]
[Reported by Takahiro Nagai]
- [incompatible] Groonga's native time value is used for
DATE, DATETIME and TIMESTAMPE type values.
Fixes
- [debian] Fixed wrong mysql-server-groonga version in
replaces and breaks. [Reported by @ytaka5]
- [doc] Fixed wrong execution result. [Reported by Hidekazu Tanaka]
- [wrapper mode] Fixed a memory leak. [Reported by montywi]
Thanks
- @ytaka5
- Hidekazu Tanaka
- @issm
- montywi
- @Kiske
Release 1.10 - 2011/11/29
Since this release, this project and product is called
"mroonga" instead of "groonga storage engine".
This release introduces MariaDB support and fixes several bugs.
Improvements
- rename to "mroonga" from "groonga storage engine". #1170
- add groonga_libgroonga_version and groonga_version variables. #1158
- information_schema.plugins.plugin_version returns mroonga's version. #1157
- add groonga_log_file variable. #1178 [Suggested by nobody]
- FLUSH STATUS flushes groonga_* status variables. #1166 [Reported by Kazuhiko]
- support TRUNCATE TABLE #1151. [Suggested by Takahiro Nagai]
- support ALTER TABLE #1168.
- support MariaDB 5.2.9. #1152 [Reported by Kazuhiko]
- support MariaDB 5.3.2-beta. #1152 [Reported by Kazuhiko]
- [rpm] split document package.
- improve memory allocation for string system variables.
- use PLUGIN_LICENSE_GPL. [Suggested by Kazuhiko]
- remove needless MeCab related configurations.
- support FOUND_ROWS() and SQL_CALC_FOUND_ROWS. #1163 [Reported by Horikoshi Yuki]
- support table name that contains '-'. #1165 [Reported by nobody]
- support inplace index change on MySQL 5.1.
- [deb] support i386.
- [rpm] support i386.
Fixes
- [storage mode] fix a bug that REPLACE INTO with TEXT column does not work. #1153 [Reported by Kazuhiko]
- [wrapper mode] fix a bug that INSERT inside LOCK TABLE does not work with InnoDB. #1154 [Reported by Kazuhiko]
- fix a bug that using ORDER and LIMIT returns a wrong result. #1161 [Reported by Horikoshi Yuki]
- fix a crash bug when FORCE INDEX with unknown key is used. #1181 [Reported by Takahiro Nagai]
Thanks
- Kazuhiko
- Horikoshi Yuki
- nobody
- Takahiro Nagai