diff options
author | Michael Widenius <monty@askmonty.org> | 2012-08-23 00:32:25 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-08-23 00:32:25 +0300 |
commit | f277f27ae2fb4ab45a014027f08093a28acc1c14 (patch) | |
tree | e8e1c9bd3f005871e29b35d7383d843f446645f9 /mysql-test/lib/My/Test.pm | |
parent | f1159b18d930910d5b5b9c454a17b0ee66f853c3 (diff) | |
download | mariadb-git-f277f27ae2fb4ab45a014027f08093a28acc1c14.tar.gz |
Fixing test cases
Added missing system tables used in 5.6
Diffstat (limited to 'mysql-test/lib/My/Test.pm')
-rw-r--r-- | mysql-test/lib/My/Test.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/lib/My/Test.pm b/mysql-test/lib/My/Test.pm index 4d017b3b42c..36f35163c5e 100644 --- a/mysql-test/lib/My/Test.pm +++ b/mysql-test/lib/My/Test.pm @@ -111,7 +111,8 @@ sub read_test { $serialized =~ s/\\([0-9a-fA-F]{2})/chr(hex($1))/eg; my $test= Storable::thaw($serialized); use Data::Dumper; - die "wrong class (hack attempt?): ".ref($test)."\n".Dumper(\$test, $serialized) + # We get a stack trace here when + die "wrong class (hack attempt?): ".ref($test)."\n".Dumper(\$test, $serialized) . " Stack trace: " unless ref($test) eq 'My::Test'; resfile_from_test($test) if $::opt_resfile; return $test; |