summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2011-10-05 15:16:20 +0200
committerBjorn Munch <bjorn.munch@oracle.com>2011-10-05 15:16:20 +0200
commit83f3aa148b18398f0d209e756c221c29e8fab46b (patch)
treedf4d9ef2edf8a03038d2768c412ca108cd08973b /mysql-test
parentdc265dc4a14af21b7982e66447b6d6250da81599 (diff)
downloadmariadb-git-83f3aa148b18398f0d209e756c221c29e8fab46b.tar.gz
Silly mistake in gdb output: replaced print with resfile_print,
but the latter only takes one argument, duh! Fixed by concatenating the args (replace , with .)
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/lib/My/CoreDump.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/lib/My/CoreDump.pm b/mysql-test/lib/My/CoreDump.pm
index b0c4a1337d8..419a0e7f39f 100644
--- a/mysql-test/lib/My/CoreDump.pm
+++ b/mysql-test/lib/My/CoreDump.pm
@@ -81,7 +81,7 @@ sub _gdb {
return if $? >> 8;
return unless $gdb_output;
- resfile_print <<EOF, $gdb_output, "\n";
+ resfile_print <<EOF . $gdb_output . "\n";
Output from gdb follows. The first stack trace is from the failing thread.
The following stack traces are from all threads (so the failing one is
duplicated).
@@ -245,7 +245,7 @@ sub _cdb {
$cdb_output=~ s/^Child\-SP RetAddr Call Site//gm;
$cdb_output=~ s/\+0x([0-9a-fA-F]+)//gm;
- resfile_print <<EOF, $cdb_output, "\n";
+ resfile_print <<EOF . $cdb_output . "\n";
Output from cdb follows. Faulting thread is printed twice,with and without function parameters
Search for STACK_TEXT to see the stack trace of
the faulting thread. Callstacks of other threads are printed after it.