<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="494255">
  <date_last_updated>2010-02-11 19:47:16.679658+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/494255</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~hakan-askmonty</bug_owner_link>
    <milestone_link></milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/494255/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/494255/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/494255</bug_web_link>
  <owner>Hakan Küçükyılmaz</owner>
  <assignee>Hakan Küçükyılmaz</assignee>
  <milestone_title></milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>Cannot run RQG due to errors in mysql-test-run.pl v1</title>
  <status>Fix Released</status>
  <importance>High</importance>
  <created>2009-12-08 23:59:25.853452+00:00</created>
  <description>
<![CDATA[I cannot run Random Query Generator with MariaDB

How to reproduce:
* branch and compile lp:maria

* bzr branch lp:randgen
* cd randgen
* perl runall.pl --basedir=/home/hakan/work/monty_program/maria --gendata=conf/example.zz --grammar=conf/example.yy
# 00:51:46 Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
# 00:51:46 Please see http://forge.mysql.com/wiki/Category:RandomQueryGenerator for more information on this test framework.
# 00:51:46 Starting 
# 00:51:46 # runall.pl \ 
# 00:51:46 # --basedir=/home/hakan/work/monty_program/maria \ 
# 00:51:46 # --gendata=conf/example.zz \ 
# 00:51:46 # --grammar=conf/example.yy
# 00:51:46 master_port : 19300 slave_port : 19302 master_ports : 19300 19302 MTR_BUILD_THREAD : 930 
# 00:51:46 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
Wed Dec  9 00:51:47 2009 [8742] runall.pl will exit with exit status 9

Problem seems to in mysql-test-run.pl v1:
hakan@lu0012:~/work/monty_program/maria/mysql-test/lib/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.
BEGIN not safe after errors--compilation aborted at mysql-test-run.pl line 2370.]]>  </description>
  <activities>
    <activity datechanged="2009-12-08T23:59:25.853452+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2009-12-08T23:59:45.463936+00:00">
      <oldvalue>
<![CDATA[New]]>      </oldvalue>
      <newvalue>
<![CDATA[Confirmed]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-12-08T23:59:48.267512+00:00">
      <oldvalue>
<![CDATA[Undecided]]>      </oldvalue>
      <newvalue>
<![CDATA[High]]>      </newvalue>
      <whatchanged>maria: importance</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-12-09T00:00:07.657897+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Kristian Nielsen (knielsen)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-12-09T00:15:01.546683+00:00">
      <oldvalue>
<![CDATA[Kristian Nielsen (knielsen)]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-12-09T00:15:09.218536+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Hakan Küçükyılmaz (hakan-askmonty)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-12-09T00:18:39.095870+00:00">
      <oldvalue>
<![CDATA[Confirmed]]>      </oldvalue>
      <newvalue>
<![CDATA[Fix Committed]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2010-02-11T19:47:15.737795+00:00">
      <oldvalue>
<![CDATA[Fix Committed]]>      </oldvalue>
      <newvalue>
<![CDATA[Fix Released]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Kristian Nielsen</person>
      <message></message>
    </activity>
  </activities>
  <comments>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/494255/comments/0" datecreated="2009-12-08T23:59:25.853452+00:00">
      <person>Hakan Küçükyılmaz</person>
      <subject>
<![CDATA[Cannot run RQG due to errors in mysql-test-run.pl v1]]>      </subject>
      <content>
<![CDATA[I cannot run Random Query Generator with MariaDB

How to reproduce:
* branch and compile lp:maria

* bzr branch lp:randgen
* cd randgen
* perl runall.pl --basedir=/home/hakan/work/monty_program/maria --gendata=conf/example.zz --grammar=conf/example.yy
# 00:51:46 Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
# 00:51:46 Please see http://forge.mysql.com/wiki/Category:RandomQueryGenerator for more information on this test framework.
# 00:51:46 Starting 
# 00:51:46 # runall.pl \ 
# 00:51:46 # --basedir=/home/hakan/work/monty_program/maria \ 
# 00:51:46 # --gendata=conf/example.zz \ 
# 00:51:46 # --grammar=conf/example.yy
# 00:51:46 master_port : 19300 slave_port : 19302 master_ports : 19300 19302 MTR_BUILD_THREAD : 930 
# 00:51:46 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
Wed Dec  9 00:51:47 2009 [8742] runall.pl will exit with exit status 9

Problem seems to in mysql-test-run.pl v1:
hakan@lu0012:~/work/monty_program/maria/mysql-test/lib/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.
BEGIN not safe after errors--compilation aborted at mysql-test-run.pl line 2370.]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/494255/comments/1" datecreated="2009-12-09T00:00:48.318756+00:00">
      <person>Hakan Küçükyılmaz</person>
      <subject>
<![CDATA[Re: Cannot run RQG due to errors in mysql-test-run.pl v1]]>      </subject>
      <content>
<![CDATA[Kristian,

this is most likely a merge issue. Therefore I assigned this bug to you.

Best regards,]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/494255/comments/2" datecreated="2009-12-09T00:14:49.481693+00:00">
      <person>Hakan Küçükyılmaz</person>
      <subject>
<![CDATA[Re: Cannot run RQG due to errors in mysql-test-run.pl v1]]>      </subject>
      <content>
<![CDATA[This fixes the issue:

hakan@lu0012:~/work/monty_program/maria/mysql-test/lib/v1$ bzr diff
=== modified file 'mysql-test/lib/v1/mysql-test-run.pl'
--- mysql-test/lib/v1/mysql-test-run.pl	2009-02-15 10:58:34 +0000
+++ mysql-test/lib/v1/mysql-test-run.pl	2009-12-09 00:13:53 +0000
@@ -178,6 +178,7 @@
 
 our $opt_compress;
 our $opt_ssl;
+our $opt_skip_ssl;
 our $opt_ssl_supported;
 our $opt_ps_protocol;
 our $opt_sp_protocol;
]]>      </content>
    </comment>
  </comments>
</launchpad-bug>
