Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1614c927
Commit
1614c927
authored
Jan 19, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
merge from 5.1-mtr
parents
77bc81b8
65d6cf79
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
99 additions
and
66 deletions
+99
-66
client/mysqltest.cc
client/mysqltest.cc
+2
-2
mysql-test/Makefile.am
mysql-test/Makefile.am
+4
-5
mysql-test/include/rpl_start_server.inc
mysql-test/include/rpl_start_server.inc
+1
-9
mysql-test/include/rpl_stop_server.inc
mysql-test/include/rpl_stop_server.inc
+1
-3
mysql-test/lib/My/ConfigFactory.pm
mysql-test/lib/My/ConfigFactory.pm
+16
-0
mysql-test/lib/My/CoreDump.pm
mysql-test/lib/My/CoreDump.pm
+1
-1
mysql-test/lib/My/File/Path.pm
mysql-test/lib/My/File/Path.pm
+15
-0
mysql-test/lib/My/Find.pm
mysql-test/lib/My/Find.pm
+1
-1
mysql-test/lib/My/Options.pm
mysql-test/lib/My/Options.pm
+1
-1
mysql-test/lib/My/Platform.pm
mysql-test/lib/My/Platform.pm
+1
-1
mysql-test/lib/My/SafeProcess.pm
mysql-test/lib/My/SafeProcess.pm
+7
-6
mysql-test/lib/My/SafeProcess/Base.pm
mysql-test/lib/My/SafeProcess/Base.pm
+1
-1
mysql-test/lib/My/SafeProcess/CMakeLists.txt
mysql-test/lib/My/SafeProcess/CMakeLists.txt
+1
-1
mysql-test/lib/My/SafeProcess/Makefile.am
mysql-test/lib/My/SafeProcess/Makefile.am
+1
-1
mysql-test/lib/My/SafeProcess/safe_kill_win.cc
mysql-test/lib/My/SafeProcess/safe_kill_win.cc
+1
-1
mysql-test/lib/My/SafeProcess/safe_process.cc
mysql-test/lib/My/SafeProcess/safe_process.cc
+1
-1
mysql-test/lib/My/SafeProcess/safe_process_win.cc
mysql-test/lib/My/SafeProcess/safe_process_win.cc
+1
-1
mysql-test/lib/My/SysInfo.pm
mysql-test/lib/My/SysInfo.pm
+1
-1
mysql-test/lib/My/Test.pm
mysql-test/lib/My/Test.pm
+14
-0
mysql-test/lib/mtr_gcov.pl
mysql-test/lib/mtr_gcov.pl
+1
-1
mysql-test/lib/mtr_gprof.pl
mysql-test/lib/mtr_gprof.pl
+1
-1
mysql-test/lib/mtr_io.pl
mysql-test/lib/mtr_io.pl
+1
-1
mysql-test/lib/mtr_match.pm
mysql-test/lib/mtr_match.pm
+1
-1
mysql-test/lib/mtr_misc.pl
mysql-test/lib/mtr_misc.pl
+10
-9
mysql-test/lib/mtr_report.pm
mysql-test/lib/mtr_report.pm
+1
-1
mysql-test/lib/mtr_stress.pl
mysql-test/lib/mtr_stress.pl
+1
-1
mysql-test/lib/mtr_unique.pm
mysql-test/lib/mtr_unique.pm
+1
-1
mysql-test/mysql-stress-test.pl
mysql-test/mysql-stress-test.pl
+4
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-4
mysql-test/valgrind.supp
mysql-test/valgrind.supp
+4
-5
No files found.
client/mysqltest.cc
View file @
1614c927
/* Copyright (
C) 2000 MySQL AB
/* Copyright (
c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -11,7 +11,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 5
9 Temple Place, Suite 330, Boston, MA 02111-1307
USA */
Foundation, Inc., 5
1 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA */
/*
mysqltest
...
...
mysql-test/Makefile.am
View file @
1614c927
# Copyright (
C) 2000-2006 MySQL AB
# Copyright (
c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
...
...
@@ -10,10 +10,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
## Process this file with automake to create Makefile.in
...
...
mysql-test/include/rpl_start_server.inc
View file @
1614c927
...
...
@@ -45,15 +45,7 @@ if ($rpl_server_parameters)
--
source
include
/
rpl_connection
.
inc
# Write file to make mysql-test-run.pl start up the server again
--
let
WRITE_TO_FILE
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$rpl_server_number
.
expect
--
let
WRITE_TO_VAR
=
$_rpl_start_server_command
perl
;
my
$file
=
$ENV
{
'WRITE_TO_FILE'
};
my
$var
=
$ENV
{
'WRITE_TO_VAR'
};
open
WRITE_FILE
,
">>
$file
"
or
die
"Error opening
$file
: $!"
;
print
WRITE_FILE
$var
,
"
\n
"
or
die
"Error appending to
$file
: $!"
;
close
WRITE_FILE
or
die
"Error closing
$file
: $!"
;
EOF
--
exec
echo
"
$_rpl_start_server_command
"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$rpl_server_number
.
expect
--
source
include
/
rpl_reconnect
.
inc
...
...
mysql-test/include/rpl_stop_server.inc
View file @
1614c927
...
...
@@ -44,9 +44,7 @@ if ($rpl_debug)
# Write file to make mysql-test-run.pl expect the "crash", but don't start
# it until it's told to
--
append_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$rpl_server_number
.
expect
wait
EOF
--
exec
echo
"wait"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$rpl_server_number
.
expect
# Send shutdown to the connected server and give
# it 10 seconds to die before zapping it
...
...
mysql-test/lib/My/ConfigFactory.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; version 2
# of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
package
My::
ConfigFactory
;
use
strict
;
...
...
mysql-test/lib/My/CoreDump.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 200
4-2006 MySQL AB
# Copyright (C) 200
8 MySQL AB, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/File/Path.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 2008 MySQL AB, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
package
My::File::
Path
;
use
strict
;
...
...
mysql-test/lib/My/Find.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 200
4-2006
MySQL AB
# Copyright (C) 200
8
MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/Options.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 200
4-2006
MySQL AB
# Copyright (C) 200
8
MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/Platform.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 200
4-2006 MySQL AB
# Copyright (C) 200
8 MySQL AB, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/SafeProcess.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (
C) 2004-2006 MySQL AB
# Copyright (
c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; version 2
# of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#
GNU
General Public License for more details.
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU
#
Library
General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
...
...
mysql-test/lib/My/SafeProcess/Base.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 200
4-2006 MySQL AB
# Copyright (C) 200
8 MySQL AB, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/SafeProcess/CMakeLists.txt
View file @
1614c927
# Copyright (C) 200
6
MySQL AB
# Copyright (C) 200
8
MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/SafeProcess/Makefile.am
View file @
1614c927
# Copyright (C) 200
0-2006
MySQL AB
# Copyright (C) 200
8
MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/SafeProcess/safe_kill_win.cc
View file @
1614c927
/* Copyright (C) 200
4 MySQL AB
/* Copyright (C) 200
8 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/SafeProcess/safe_process.cc
View file @
1614c927
/* Copyright (C) 2008 MySQL AB
/* Copyright (C) 2008 MySQL AB
, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/SafeProcess/safe_process_win.cc
View file @
1614c927
/* Copyright (C) 200
4 MySQL AB
/* Copyright (C) 200
8 MySQL AB, 2009 Sun Microsystems, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/SysInfo.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 200
4-2006
MySQL AB
# Copyright (C) 200
8
MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/My/Test.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 2008 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
...
...
mysql-test/lib/mtr_gcov.pl
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 2004, 2006 MySQL AB
# Copyright (C) 2004, 2006 MySQL AB
, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/mtr_gprof.pl
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 2004 MySQL AB
# Copyright (C) 2004 MySQL AB
, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/mtr_io.pl
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 2004-200
6 MySQL AB
# Copyright (C) 2004-200
7 MySQL AB, 2008 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/mtr_match.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 2004-200
6
MySQL AB
# Copyright (C) 2004-200
8
MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/mtr_misc.pl
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 2004-2006 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; version 2
# of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#
GNU
General Public License for more details.
#
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU
#
Library
General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
...
...
mysql-test/lib/mtr_report.pm
View file @
1614c927
# -*- cperl -*-
# Copyright
2004-2008 MySQL AB, 2008 Sun Microsystems, Inc
.
# Copyright
(c) 2004, 2011, Oracle and/or its affiliates. All rights reserved
.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/mtr_stress.pl
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 200
6 MySQL AB
# Copyright (C) 200
4-2007 MySQL AB, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/lib/mtr_unique.pm
View file @
1614c927
# -*- cperl -*-
# Copyright (C) 2006
MySQL AB
# Copyright (C) 2006
-2008 MySQL AB, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
mysql-test/mysql-stress-test.pl
View file @
1614c927
#!/usr/bin/perl
# Copyright (
C) 2005, 2006 MySQL AB
# Copyright (
c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
...
...
@@ -12,10 +12,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# ======================================================================
# MySQL server stress test system
...
...
mysql-test/mysql-test-run.pl
View file @
1614c927
...
...
@@ -13,10 +13,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
##############################################################################
...
...
mysql-test/valgrind.supp
View file @
1614c927
# Copyright (
C) 2005, 2008 MySQL AB
# Copyright (
c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
...
...
@@ -10,10 +10,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# MA 02111-1307, USA
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Suppress some common (not fatal) errors in system libraries found by valgrind
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment