MySQL-5.1.44のmysql_client_testにfailure 03月08日, 2010


しばらくMySQLを上げていなかったので、久しぶりにupdateしました。

CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer"  \
CXX=gcc CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors \
   -fno-exceptions-fno-rtti" \
   ./configure --prefix=/usr/local/mysql-5.1.44 --with-charset=utf8 \
   --with-collation=utf8_general_ci --enable-thread-safe-client \
   --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static \
   --localstatedir=/usr/local/mysql-5.1.44/data --enable-local-infile \
   --with-readline

ところが、 make test するとすぐに mysql_client_test でfailureになります。前回のコンパイル(5.0.51a)では難無く通過した所です。どうやら with-charset=utf8 がいけないようで with-extra-charsets=complex と入れ替えることで長時間(30分くらい)のtestすべてを無事通過しました。やれやれ。
Source