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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9d0d363b
Commit
9d0d363b
authored
Jun 15, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merged 5.0-main to 5.0-bugteam
parents
6df6c8ee
ae334697
Changes
34
Show whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
64 additions
and
31 deletions
+64
-31
configure.in
configure.in
+2
-2
mysql-test/Makefile.am
mysql-test/Makefile.am
+2
-1
mysql-test/collections/README
mysql-test/collections/README
+30
-0
mysql-test/collections/default.daily
mysql-test/collections/default.daily
+0
-0
mysql-test/collections/default.push
mysql-test/collections/default.push
+2
-0
mysql-test/collections/default.weekly
mysql-test/collections/default.weekly
+0
-0
scripts/mysql_find_rows.sh
scripts/mysql_find_rows.sh
+1
-1
scripts/mysql_fix_extensions.sh
scripts/mysql_fix_extensions.sh
+1
-1
scripts/mysql_setpermission.sh
scripts/mysql_setpermission.sh
+1
-1
scripts/mysql_zap.sh
scripts/mysql_zap.sh
+1
-1
scripts/mysqlaccess.sh
scripts/mysqlaccess.sh
+1
-1
sql-bench/as3ap.sh
sql-bench/as3ap.sh
+1
-1
sql-bench/bench-count-distinct.sh
sql-bench/bench-count-distinct.sh
+1
-1
sql-bench/bench-init.pl.sh
sql-bench/bench-init.pl.sh
+1
-1
sql-bench/compare-results.sh
sql-bench/compare-results.sh
+1
-1
sql-bench/copy-db.sh
sql-bench/copy-db.sh
+1
-1
sql-bench/crash-me.sh
sql-bench/crash-me.sh
+1
-1
sql-bench/innotest1.sh
sql-bench/innotest1.sh
+1
-1
sql-bench/innotest1a.sh
sql-bench/innotest1a.sh
+1
-1
sql-bench/innotest1b.sh
sql-bench/innotest1b.sh
+1
-1
sql-bench/innotest2.sh
sql-bench/innotest2.sh
+1
-1
sql-bench/innotest2a.sh
sql-bench/innotest2a.sh
+1
-1
sql-bench/innotest2b.sh
sql-bench/innotest2b.sh
+1
-1
sql-bench/run-all-tests.sh
sql-bench/run-all-tests.sh
+1
-1
sql-bench/server-cfg.sh
sql-bench/server-cfg.sh
+1
-1
sql-bench/test-ATIS.sh
sql-bench/test-ATIS.sh
+1
-1
sql-bench/test-alter-table.sh
sql-bench/test-alter-table.sh
+1
-1
sql-bench/test-big-tables.sh
sql-bench/test-big-tables.sh
+1
-1
sql-bench/test-connect.sh
sql-bench/test-connect.sh
+1
-1
sql-bench/test-create.sh
sql-bench/test-create.sh
+1
-1
sql-bench/test-insert.sh
sql-bench/test-insert.sh
+1
-1
sql-bench/test-select.sh
sql-bench/test-select.sh
+1
-1
sql-bench/test-transactions.sh
sql-bench/test-transactions.sh
+1
-1
sql-bench/test-wisconsin.sh
sql-bench/test-wisconsin.sh
+1
-1
No files found.
configure.in
View file @
9d0d363b
...
@@ -7,7 +7,7 @@ AC_INIT(sql/mysqld.cc)
...
@@ -7,7 +7,7 @@ AC_INIT(sql/mysqld.cc)
AC_CANONICAL_SYSTEM
AC_CANONICAL_SYSTEM
# The Docs Makefile.am parses this line!
# The Docs Makefile.am parses this line!
# remember to also change ndb version below and update version.c in ndb
# remember to also change ndb version below and update version.c in ndb
AM_INIT_AUTOMAKE
(
mysql, 5.0.8
3
)
AM_INIT_AUTOMAKE
(
mysql, 5.0.8
4
)
AM_CONFIG_HEADER
([
include/config.h:config.h.in]
)
AM_CONFIG_HEADER
([
include/config.h:config.h.in]
)
PROTOCOL_VERSION
=
10
PROTOCOL_VERSION
=
10
...
@@ -23,7 +23,7 @@ NDB_SHARED_LIB_VERSION=$NDB_SHARED_LIB_MAJOR_VERSION:0:0
...
@@ -23,7 +23,7 @@ NDB_SHARED_LIB_VERSION=$NDB_SHARED_LIB_MAJOR_VERSION:0:0
# ndb version
# ndb version
NDB_VERSION_MAJOR
=
5
NDB_VERSION_MAJOR
=
5
NDB_VERSION_MINOR
=
0
NDB_VERSION_MINOR
=
0
NDB_VERSION_BUILD
=
8
3
NDB_VERSION_BUILD
=
8
4
NDB_VERSION_STATUS
=
""
NDB_VERSION_STATUS
=
""
# Set all version vars based on $VERSION. How do we do this more elegant ?
# Set all version vars based on $VERSION. How do we do this more elegant ?
...
...
mysql-test/Makefile.am
View file @
9d0d363b
...
@@ -33,7 +33,7 @@ endif
...
@@ -33,7 +33,7 @@ endif
benchdir_root
=
$(prefix)
benchdir_root
=
$(prefix)
testdir
=
$(benchdir_root)
/mysql-test
testdir
=
$(benchdir_root)
/mysql-test
EXTRA_SCRIPTS
=
mysql-test-run-shell.sh install_test_db.sh valgrind.supp
$(PRESCRIPTS)
EXTRA_SCRIPTS
=
mysql-test-run-shell.sh install_test_db.sh valgrind.supp
$(PRESCRIPTS)
EXTRA_DIST
=
$(EXTRA_SCRIPTS)
suite
EXTRA_DIST
=
$(EXTRA_SCRIPTS)
suite
collections
GENSCRIPTS
=
mysql-test-run-shell mysql-test-run install_test_db mtr
GENSCRIPTS
=
mysql-test-run-shell mysql-test-run install_test_db mtr
PRESCRIPTS
=
mysql-test-run.pl mysql-stress-test.pl
PRESCRIPTS
=
mysql-test-run.pl mysql-stress-test.pl
test_SCRIPTS
=
$(GENSCRIPTS)
$(PRESCRIPTS)
test_SCRIPTS
=
$(GENSCRIPTS)
$(PRESCRIPTS)
...
@@ -80,6 +80,7 @@ install-data-local:
...
@@ -80,6 +80,7 @@ install-data-local:
$(DESTDIR)$(testdir)
/std_data/ndb_backup50_data_be
\
$(DESTDIR)$(testdir)
/std_data/ndb_backup50_data_be
\
$(DESTDIR)$(testdir)
/std_data/ndb_backup50_data_le
\
$(DESTDIR)$(testdir)
/std_data/ndb_backup50_data_le
\
$(DESTDIR)$(testdir)
/lib
\
$(DESTDIR)$(testdir)
/lib
\
$(DESTDIR)$(testdir)
/collections
\
$(DESTDIR)$(testdir)
/std_data/funcs_1
$(DESTDIR)$(testdir)
/std_data/funcs_1
$(INSTALL_DATA)
$(srcdir)
/README
$(DESTDIR)$(testdir)
$(INSTALL_DATA)
$(srcdir)
/README
$(DESTDIR)$(testdir)
-
$(INSTALL_DATA)
$(srcdir)
/t/
*
.def
$(DESTDIR)$(testdir)
/t
-
$(INSTALL_DATA)
$(srcdir)
/t/
*
.def
$(DESTDIR)$(testdir)
/t
...
...
mysql-test/collections/README
0 → 100644
View file @
9d0d363b
This directory contains collections of test runs that we run during our
integration and release testing. Each file contains zero or more lines,
with one invocation of mysql-test-run.pl on each. These invocations are
written so that, with the assumption that perl is in your search path,
any collection can run as a shell script or a batch file, with the parent
mysql-test directory being the current working directory.
During integration testing, we choose the collection to run by following
these steps:
1) We choose the extension to look for, based on these rules:
- If we're running a per-push test, we choose ".push" as the extension.
- If we're running a daily test, we choose ".daily" as the extension.
- If we're running a weekly test, we choose ".weekly" as the extension.
2) If there is a collection that has the same name as the branch we're
testing plus the extension as determined in step 1, we choose that
collection.
3) If the branch is unknown or we have removed all characters from it
and still not found a matching collection, we choose the name "default"
plus the extension determined in step 1. If there is no such file,
we give up and don't test anything at all.
4) If we haven't found a collection yet, we remove the last character from
the branch name and go back to step 2.
5) The commands from the collection are run line by line via execv() or
similar system calls. They are not run as a shell script. Shell
expansions are not guaranteed to work and most likely won't.
mysql-test/collections/default.daily
0 → 100644
View file @
9d0d363b
mysql-test/collections/default.push
0 → 100644
View file @
9d0d363b
perl mysql-test-run.pl --timer --force --comment=n_stm
perl mysql-test-run.pl --timer --force --comment=ps_stm --ps-protocol
mysql-test/collections/default.weekly
0 → 100644
View file @
9d0d363b
scripts/mysql_find_rows.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000, 2004 MySQL AB
# Copyright (C) 2000, 2004 MySQL AB
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
...
...
scripts/mysql_fix_extensions.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# This is a utility for MySQL. It is not needed by any standard part
# This is a utility for MySQL. It is not needed by any standard part
# of MySQL.
# of MySQL.
...
...
scripts/mysql_setpermission.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
## Emacs, this is -*- perl -*- mode? :-)
## Emacs, this is -*- perl -*- mode? :-)
##
##
## Permission setter for MySQL
## Permission setter for MySQL
...
...
scripts/mysql_zap.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2002, 2004 MySQL AB
# Copyright (C) 2000-2002, 2004 MySQL AB
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
...
...
scripts/mysqlaccess.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# ****************************
# ****************************
package MySQLaccess
;
package MySQLaccess
;
#use strict;
#use strict;
...
...
sql-bench/as3ap.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2001, 2003 MySQL AB
# Copyright (C) 2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/bench-count-distinct.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2001, 2003 MySQL AB
# Copyright (C) 2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/bench-init.pl.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2003, 2005 MySQL AB
# Copyright (C) 2000-2003, 2005 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/compare-results.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2001, 2003 MySQL AB
# Copyright (C) 2000-2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/copy-db.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000, 2003 MySQL AB
# Copyright (C) 2000, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/crash-me.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# -*- perl -*-
# -*- perl -*-
# Copyright (C) 2000-2006 MySQL AB
# Copyright (C) 2000-2006 MySQL AB
#
#
...
...
sql-bench/innotest1.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
############################################################################
############################################################################
# Stress test for MySQL/InnoDB combined database
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB
# (c) 2002 Innobase Oy & MySQL AB
...
...
sql-bench/innotest1a.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
############################################################################
############################################################################
# Stress test for MySQL/InnoDB combined database
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB
# (c) 2002 Innobase Oy & MySQL AB
...
...
sql-bench/innotest1b.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
############################################################################
############################################################################
# Stress test for MySQL/InnoDB combined database
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB
# (c) 2002 Innobase Oy & MySQL AB
...
...
sql-bench/innotest2.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
############################################################################
############################################################################
# Stress test for MySQL/InnoDB combined database
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB
# (c) 2002 Innobase Oy & MySQL AB
...
...
sql-bench/innotest2a.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
############################################################################
############################################################################
# Stress test for MySQL/Innobase combined database
# Stress test for MySQL/Innobase combined database
# (c) 2000 Innobase Oy & MySQL AB
# (c) 2000 Innobase Oy & MySQL AB
...
...
sql-bench/innotest2b.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
############################################################################
############################################################################
# Stress test for MySQL/Innobase combined database
# Stress test for MySQL/Innobase combined database
# (c) 2000 Innobase Oy & MySQL AB
# (c) 2000 Innobase Oy & MySQL AB
...
...
sql-bench/run-all-tests.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2001, 2003 MySQL AB
# Copyright (C) 2000-2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/server-cfg.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# -*- perl -*-
# -*- perl -*-
# Copyright (C) 2000-2006 MySQL AB
# Copyright (C) 2000-2006 MySQL AB
#
#
...
...
sql-bench/test-ATIS.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2001, 2003 MySQL AB
# Copyright (C) 2000-2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/test-alter-table.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2001, 2003 MySQL AB
# Copyright (C) 2000-2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/test-big-tables.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2001, 2003 MySQL AB
# Copyright (C) 2000-2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/test-connect.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2001, 2003 MySQL AB
# Copyright (C) 2000-2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/test-create.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2003 MySQL AB
# Copyright (C) 2000-2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/test-insert.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2003 MySQL AB
# Copyright (C) 2000-2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/test-select.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2001, 2003 MySQL AB
# Copyright (C) 2000-2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/test-transactions.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2001, 2003 MySQL AB
# Copyright (C) 2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
sql-bench/test-wisconsin.sh
View file @
9d0d363b
#!
@PERL@
#!
/usr/bin/perl
# Copyright (C) 2000-2001, 2003 MySQL AB
# Copyright (C) 2000-2001, 2003 MySQL AB
#
#
# This library is free software; you can redistribute it and/or
# This library is free software; you can redistribute it and/or
...
...
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