Bug #48887 Cannot run RQG with MariaDB
Submitted: 19 Nov 2009 1:04 Modified: 19 Nov 2009 13:56
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Unsupported Impact on me:
None 
Category:Tools: Random Query Generator Severity:S2 (Serious)
Version: OS:Linux (x86_64)
Assigned to: CPU Architecture:Any

[19 Nov 2009 1:04] Hakan Küçükyılmaz
Description:
I tried to run RQG as described at
    http://forge.mysql.com/wiki/RandomQueryGeneratorQuickStart

How to repeat:
Latest MariaDB from lp:maria
Latest RQG from lp:randgen

perl runall.pl --basedir=/home/hakan/work/monty_program/maria --gendata=conf/example.zz --grammar=conf/example.yy 
# 03:37:29 Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
# 03:37:29 Please see http://forge.mysql.com/wiki/Category:RandomQueryGenerator for more information on this test framework.
# 03:37:29 Starting 
# 03:37:29 # runall.pl \ 
# 03:37:29 # --basedir=/home/hakan/work/monty_program/maria \ 
# 03:37:29 # --gendata=conf/example.zz \ 
# 03:37:29 # --grammar=conf/example.yy
# 03:37:29 master_port : 19300 slave_port : 19302 master_ports : 19300 19302 MTR_BUILD_THREAD : 930 
# 03:37:29 Running perl mysql-test-run.pl --start-and-exit --skip-ndb --mysqld=--core-file --mysqld=--loose-new --mysqld=--sql-mode=no_engine_substitution --mysqld=--relay-log=slave-relay-bin --mysqld=--loose-innodb --mysqld=--loose-falcon-debug-mask=2 --mysqld=--secure-file-priv= --mysqld=--max-allowed-packet=16Mb --mysqld=--loose-innodb-status-file=1 --mysqld=--master-retry-count=65535 --master_port=19300 1st 2>&1 .
=======================================================
  WARNING: Using mysql-test-run.pl version 1!  
=======================================================
Global symbol "$opt_skip_ssl" requires explicit package name at lib/v1/mysql-test-run.pl line 567.
Global symbol "$opt_skip_ssl" requires explicit package name at lib/v1/mysql-test-run.pl line 786.
BEGIN not safe after errors--compilation aborted at lib/v1/mysql-test-run.pl line 2370.
cat: /home/hakan/work/monty_program/maria/mysql-test/var/log/master.err: No such file or directory
Thu Nov 19 03:37:29 2009 [9869] runall.pl will exit with exit status 9
[19 Nov 2009 13:56] Philip Stoev
This is not a bug in the RQG, but a bug in Maria's version of MTR v1 

[philips@fedora10 v1]$ perl -c mysql-test-run.pl
Global symbol "$opt_skip_ssl" requires explicit package name at mysql-test-run.pl line 567.
Global symbol "$opt_skip_ssl" requires explicit package name at mysql-test-run.pl line 786.
Global symbol "$opt_skip_ssl" requires explicit package name at mysql-test-run.pl line 2542.
BEGIN not safe after errors--compilation aborted at mysql-test-run.pl line 3676.

The mysql versions of the same script work properly.

The RQG will become independent of MTR within a few weeks, but in the meantime, fixing maria's MTR v1 is the only solution.