component/mariadb(mroonga): adjust setup script to source new update.sql
Since https://github.com/mroonga/mroonga/commit/35f593037c2d8f5a497349ff98f3a3ce31ee95de install.sql has been split in install.sql and update.sql, adjust the script to source both. install.sql only contains INSTALL PLUGIN, it's safe to run it on every update (that's what we always did). This fixes a regression that mroonga user functions were no longer available after d0589a41 (version up: MariaDB 10.3.35/10.4.25, groonga 12.0.4, mroonga 12.04, groonga-normalizer-mysql 1.1.8, 2022-06-10)
Showing
-
Owner
/cc @jm
I'm going to merge this, unless you have ideas for a better way of doing this.
I think we can see this as a bug in mroonga, because in https://mroonga.org/docs/install/others.html#mysql-u-root-install-sql they recommend using install.sql, but since that change ( https://github.com/mroonga/mroonga/commit/35f593037c2d8f5a497349ff98f3a3ce31ee95de ) it's also required to source update.sql
Please register or sign in to comment