Skip to content

Commit 34d5331

Browse files
Merge with global tree
2 parents 4dbd101 + d71c030 commit 34d5331

File tree

427 files changed

+12029
-25710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

427 files changed

+12029
-25710
lines changed

.bzrignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ PENDING/*
104104
TAGS
105105
ac_available_languages_fragment
106106
aclocal.m4
107+
analyse.test
107108
autom4te-2.53.cache/*
108109
autom4te-2.53.cache/output.0
109110
autom4te-2.53.cache/requests
@@ -260,6 +261,7 @@ client/mf_iocache.c
260261
client/mf_iocache.cc
261262
client/mysql
262263
client/mysqladmin
264+
client/mysqladmin.c
263265
client/mysqlbinlog
264266
client/mysqlcheck
265267
client/mysqldump
@@ -300,14 +302,17 @@ depcomp
300302
emacs.h
301303
extra/charset2html
302304
extra/comp_err
305+
extra/created_include_files
303306
extra/my_print_defaults
304307
extra/mysql_install
305308
extra/mysql_tzinfo_to_sql
306309
extra/mysql_waitpid
310+
extra/mysqld_error.h
307311
extra/perror
308312
extra/replace
309313
extra/resolve_stack_dump
310314
extra/resolveip
315+
extra/sql_state.h
311316
extra/tztime.cc
312317
fcns.c
313318
fcns.h
@@ -538,6 +543,7 @@ myisam/test2.MYD
538543
myisam/test2.MYI
539544
mysql-4.0.2-alpha-pc-linux-gnu-i686.tar.gz
540545
mysql-4.0.2-alpha.tar.gz
546+
mysql-4.1.8-win-src.zip
541547
mysql-5.0.2-alpha.tar.gz
542548
mysql-max-4.0.2-alpha-pc-linux-gnu-i686.tar.gz
543549
mysql-test/gmon.out
@@ -983,6 +989,3 @@ vio/test-ssl
983989
vio/test-sslclient
984990
vio/test-sslserver
985991
vio/viotest-ssl
986-
extra/mysqld_error.h
987-
extra/sql_state.h
988-
extra/created_include_files

BitKeeper/etc/logging_ok

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Administrador@light.
22
Administrator@co3064164-a.
33
44
Administrator@fred.
5+
Administrator@w2k.
56
Greg@greg-laptop.
67
78
@@ -109,6 +110,7 @@ magnus@neptunus.(none)
109110
magnus@shellback.(none)
110111
111112
113+
matt@booty.(none)
112114
113115
114116
miguel@hegel.(none)
@@ -164,6 +166,7 @@ [email protected]
164166
165167
166168
169+
167170
168171
169172
@@ -203,6 +206,7 @@ [email protected]
203206
204207
205208
209+
206210
207211
208212

Build-tools/Do-compile

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ use Sys::Hostname;
1010
$opt_distribution=$opt_user=$opt_config_env=$opt_config_extra_env="";
1111
$opt_dbd_options=$opt_perl_options=$opt_config_options=$opt_make_options=$opt_suffix="";
1212
$opt_tmp=$opt_version_suffix="";
13-
$opt_bundled_zlib=$opt_help=$opt_delete=$opt_debug=$opt_stage=$opt_no_test=$opt_no_perl=$opt_one_error=$opt_with_low_memory=$opt_fast_benchmark=$opt_static_client=$opt_static_server=$opt_static_perl=$opt_sur=$opt_with_small_disk=$opt_local_perl=$opt_tcpip=$opt_build_thread=$opt_use_old_distribution=$opt_enable_shared=$opt_no_crash_me=$opt_no_strip=$opt_with_archive=$opt_with_cluster=$opt_with_debug=$opt_no_benchmark=$opt_no_mysqltest=$opt_without_embedded=$opt_readline=0;
14-
$opt_innodb=$opt_bdb=$opt_raid=$opt_libwrap=$opt_clearlogs=0;
13+
$opt_bundled_zlib=$opt_help=$opt_delete=$opt_debug=$opt_stage=$opt_no_test=$opt_no_perl=$opt_one_error=$opt_with_low_memory=$opt_fast_benchmark=$opt_static_client=$opt_static_server=$opt_static_perl=$opt_sur=$opt_with_small_disk=$opt_local_perl=$opt_tcpip=$opt_build_thread=$opt_use_old_distribution=$opt_enable_shared=$opt_no_crash_me=$opt_no_strip=$opt_with_archive=$opt_with_cluster=$opt_with_csv=$opt_with_example=$opt_with_debug=$opt_no_benchmark=$opt_no_mysqltest=$opt_without_embedded=$opt_readline=0;
14+
$opt_embedded_test=$opt_ps_test=$opt_innodb=$opt_bdb=$opt_raid=$opt_libwrap=$opt_clearlogs=0;
1515

1616
GetOptions(
1717
"bdb",
@@ -25,6 +25,7 @@ GetOptions(
2525
"delete",
2626
"distribution=s",
2727
"enable-shared",
28+
"embedded-test",
2829
"fast-benchmark",
2930
"help|Information",
3031
"innodb",
@@ -40,6 +41,7 @@ GetOptions(
4041
"one-error",
4142
"perl-files=s",
4243
"perl-options=s",
44+
"ps-test",
4345
"raid",
4446
"readline",
4547
"stage=i",
@@ -55,6 +57,8 @@ GetOptions(
5557
"version-suffix=s",
5658
"with-archive",
5759
"with-cluster",
60+
"with-csv",
61+
"with-example",
5862
"with-debug",
5963
"with-low-memory",
6064
"with-other-libc=s",
@@ -274,8 +278,11 @@ if ($opt_stage <= 1)
274278
$opt_config_options.= " --with-libedit";
275279
}
276280
$opt_config_options.= " --with-embedded-server" unless ($opt_without_embedded);
281+
$opt_embedded_test= 0 if ($opt_without_embedded);
277282
$opt_config_options.= " --with-archive-storage-engine" if ($opt_with_archive);
278283
$opt_config_options.= " --with-ndbcluster" if ($opt_with_cluster);
284+
$opt_config_options.= " --with-csv-storage-engine" if ($opt_with_csv);
285+
$opt_config_options.= " --with-example-storage-engine" if ($opt_with_example);
279286

280287
# Only enable InnoDB when requested (required to be able to
281288
# build the "Classic" packages that do not include InnoDB)
@@ -376,13 +383,29 @@ $ENV{"LD_LIBRARY_PATH"}= ("$test_dir/lib" .
376383
if ($opt_stage <= 5 && !$opt_no_test && !$opt_no_mysqltest)
377384
{
378385
my $flags= "";
379-
my $force= "";
380386
$flags.= " --with-ndbcluster" if ($opt_with_cluster);
381387
$flags.= " --force" if (!$opt_one_error);
382388
log_timestamp();
389+
info("Running test suite");
383390
system("mkdir $bench_tmpdir") if (! -d $bench_tmpdir);
384391
safe_cd("${test_dir}/mysql-test");
385392
check_system("./mysql-test-run $flags --tmpdir=$bench_tmpdir --master_port=$mysql_tcp_port --slave_port=$slave_port --ndbcluster_port=$ndbcluster_port --manager-port=$manager_port --no-manager --sleep=10", "tests were successful");
393+
394+
if ($opt_ps_test)
395+
{
396+
log_timestamp();
397+
info("Running test suite using prepared statements");
398+
check_system("./mysql-test-run $flags --ps-protocol --tmpdir=$bench_tmpdir --master_port=$mysql_tcp_port --slave_port=$slave_port --ndbcluster_port=$ndbcluster_port --manager-port=$manager_port --no-manager --sleep=10", "tests were successful");
399+
}
400+
401+
if ($opt_embedded_test)
402+
{
403+
log_timestamp();
404+
info("Running embedded server test suite");
405+
# Embedded server and NDB don't jive
406+
$flags=~ s/ --with-ndbcluster//;
407+
check_system("./mysql-test-run $flags --embedded-server --tmpdir=$bench_tmpdir --master_port=$mysql_tcp_port --slave_port=$slave_port --manager-port=$manager_port --no-manager --sleep=10", "tests were successful");
408+
}
386409
# 'mysql-test-run' writes its own final message for log evaluation.
387410
}
388411

@@ -528,6 +551,9 @@ Delete the distribution file.
528551
--distribution=<distribution_file>
529552
Name of the MySQL source distribution file.
530553
554+
--embedded-test
555+
Run the test suite against the embedded server
556+
531557
--enable-shared
532558
Compile with shared libraries
533559
@@ -576,6 +602,9 @@ Compile and install the given perl modules.
576602
--perl-options=<options>
577603
Build Perl modules with the additional options
578604
605+
--ps-test
606+
Run an additional test run, using prepared statements
607+
579608
--raid
580609
Compile with RAID support
581610
@@ -612,11 +641,17 @@ If user is empty then no mail is sent.
612641
Set name suffix (e.g. 'com' or '-max') for a distribution
613642
614643
--with archive
615-
Enable the Archive storage Engine
644+
Enable the Archive storage engine
616645
617646
--with cluster
618647
Compile and test with NDB Cluster enabled
619648
649+
--with-csv
650+
Enable the CSV storage engine
651+
652+
--with-example
653+
Enable the Example storage engine
654+
620655
--with-debug
621656
Build binaries with debug information (implies "--no-strip")
622657

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ tags:
100100
# Test installation
101101

102102
test:
103-
cd mysql-test ; ./mysql-test-run
103+
cd mysql-test; ./mysql-test-run && ./mysql-test-run --ps-protocol
104104

105105
# Don't update the files from bitkeeper
106106
%::SCCS/s.%

VC++Files/client/mysqltest.dsp

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)