[Mageia-dev] HEADSUP: mariadb available for testing

Maarten Vanraes alien at rmail.be
Sat Nov 19 10:10:45 CET 2011


Op zaterdag 19 november 2011 03:37:08 schreef Sam Bailey:
> On 19/11/11 10:48, Maarten Vanraes wrote:
> > Op vrijdag 18 november 2011 23:18:57 schreef Maarten Vanraes:
> >> Op vrijdag 18 november 2011 15:29:51 schreef JA Magallon:
> >> [...]
> >> 
> >>> Quick Hack: change awk to:
> >>> 
> >>> /usr/sbin/mysqld --version | cut -d' ' -f4 | cut -d- -f 1
> >>> 
> >>> Works both in MySQL and MariaDB.
> >> 
> >> thanks i'll try and put it in.
> > 
> > it should be fixed in 5.5.15-0.3.mga2 .
> 
> It's fixed for NEW_VER(mysql->maridb upgrade) but not for OLD_VER
> (upgrading an existing mariadb install)
> 
> It works if OLD_VER in initscript is changed from:
> OLD_VER="`cat $datadir/mysql_upgrade_info`"
> 
> To:
> OLD_VER="`cat $datadir/mysql_upgrade_info | cut -d' ' -f4 | cut -d- -f 1`"

thanks, i've modified it and submitted again


More information about the Mageia-dev mailing list