Bjorn Munch
add465e5a1
merge from 5.5
2010-10-21 11:20:53 +02:00
Bjorn Munch
3cdf62b021
upmerge and adapt follow-up to 55582
2010-10-21 09:37:10 +02:00
Bjorn Munch
9ec05efe34
Follow-up to Bug #55582 which allows chaecking strings in if
...
Simplified cases where a select was used to compare variable against ''
2010-10-20 16:15:32 +02:00
Bjorn Munch
2abe0d6e7e
upmerge 52019
2010-10-20 12:17:19 +02:00
Bjorn Munch
441e3b2412
Fixed wrong feof check in read_line, see 52019
2010-10-20 11:41:51 +02:00
Bjorn Munch
daa70e0ab9
Fixed missing cast of arg to my_mbcharlen
2010-10-20 11:39:58 +02:00
Bjorn Munch
af056dc560
48863 followup: move an array declaration out from within if block
2010-10-20 11:30:50 +02:00
Bjorn Munch
ce786ab04d
Bug #52019 main.mysqltest fails on new tests for lowercase_result
...
Limited to actual bug fix, fixing a while condition
Again confirmed on Linux PPC and on AIX 5.3
2010-10-20 11:22:08 +02:00
Bjorn Munch
3b15deb152
upmerge 56654
2010-10-19 14:13:05 +02:00
Bjorn Munch
bd2aeaacae
Bug #55135 Collect times used in test execution phases in mtr
...
Adding option --report-times
Can't collect times if test run is aborted
2010-10-19 14:08:46 +02:00
Bjorn Munch
5c42b3c9ed
Bug #56654 pb2 log is very hard to read
...
Added some more info in a number of fail cases
(re-commit for administrative reasons)
2010-10-19 14:01:14 +02:00
Bjorn Munch
e85b54a404
Bug #52828 Tests that use perl fail when perl is not in path
...
main.mysqltest skipped on Windows because a perl intentionally does exit(1)
Use exit(2), as exit(1) on Windows is indistinguishable from failing to
execute perl.
2010-10-19 13:56:30 +02:00
Bjorn Munch
8a94240c7d
Test wait_timeout: do not fail by SQL syntax error, use die
2010-10-19 13:54:28 +02:00
Bjorn Munch
2b8ca42ffe
Bug #55968 MTR does not clean up properly and chokes on its discharge
...
Added --clean-vardir to empty vardir if no failures
Also added variable $MTR_CLEAN_VARDIR
2010-10-13 13:07:28 +02:00
Bjorn Munch
eede3f11f7
Bug #40406 Please make mtr print better messages when servers fail to start
...
Added some more details to warning messages, this should be enough.
2010-10-12 13:13:23 +02:00
Alexander Nozdrin
f703a7779f
Auto-merge from mysql-5.5-stage (used to be mysql-5.5-bugfixing).
2010-10-02 22:08:31 +04:00
Bjorn Munch
53462869d3
upmerge 20304
2010-10-01 15:55:49 +02:00
Bjorn Munch
ad7521df31
Bug #20304 mysqltest: reap with no preceding statement hangs forever
...
Added sanity check, similar to the one preventing send without reap
2010-10-01 11:00:18 +02:00
Bjorn Munch
32da790381
upmerge 52828
2010-09-30 12:53:36 +02:00
Bjorn Munch
87234b74ca
Bug #52828 Tests that use perl fail when perl is not in path
...
Trying to run perl fails, just like it does when perl is started but fails
Trap the case that perl was not found/could not be started, and skip test
Also force a restart of servers since test may already have done something
mtr now also appends path of current perl to PATH to aid mysqltest
2010-09-30 12:42:37 +02:00
Bjorn Munch
b094cad9b0
Small test fix after 56753
2010-09-30 10:28:22 +02:00
Bjorn Munch
de5390a5d1
merge from 5.5
2010-09-29 13:14:21 +02:00
Bjorn Munch
1a75a23ce1
merge from 5.1
2010-09-29 12:56:10 +02:00
Alexander Nozdrin
76f4cfde66
Empty merge from mysql-5.5.
2010-09-28 19:42:45 +04:00
Alexander Nozdrin
fab555ce76
Auto-merge from mysql-5.5-merge.
2010-09-28 19:34:59 +04:00
Alexander Nozdrin
a79093cd94
Auto-merge from mysql-5.5-merge.
2010-09-28 19:15:58 +04:00
Bjorn Munch
cf362a41b9
upmerge 56125,56921
2010-09-28 16:00:11 +02:00
Bjorn Munch
f643d1b6d3
Bug #56125 MTR2 start-and-exit removes server tmpdir, server becomes not operational
...
This happens when creating new tmpdir due to too long socket path
Don't delete it if --start-and-exit, but warn user to do it.
2010-09-28 15:58:01 +02:00
Bjorn Munch
3a404d4966
Bug #57036 Add checks in mysqltest that variables treated as ints are in fact ints
...
Adds boolean flag is_int and a separete function to check for int value
Added tests to mysqltest.test
2010-09-27 14:36:16 +02:00
Alexey Botchkov
4a2dd398e2
log_tables_debug.test fix.
...
per-file comments:
mysql-test/t/log_tables_debug.test
This test shouldn't be run at the embedded server.
2010-09-27 15:18:10 +05:00
Marc Alff
6a707718b9
Added missing paterns
2010-09-27 18:23:54 -06:00
Davi Arnaut
657f07151a
Merge of mysql-5.1-bugteam into mysql-5.5-merge.
2010-09-24 19:19:30 -03:00
Davi Arnaut
d47e8991cb
Bug#45288: pb2 returns a lot of compilation warnings on linux
...
Use UNINIT_VAR workaround instead of LINT_INIT. The former can
also be used to silence false-positives in non-debug builds as
it actually does not cause new code to be generated.
2010-09-24 19:13:51 -03:00
Davi Arnaut
5713e1398c
Bug#45288: pb2 returns a lot of compilation warnings on linux
...
Use UNINIT_VAR workaround instead of LINT_INIT. The former is
also used in non-debug builds as it doesn't cause changes.
2010-09-24 17:04:36 -03:00
Dmitry Lenev
afa568c24b
Fix compile warning about passing NULL to non-pointer
...
argument of inline_mysql_mutex_init in sql_base.cc.
When initializing LOCK_dd_owns_lock_open mutex pass
correct PSI key instead of NULL value.
2010-09-24 20:26:24 +04:00
Konstantin Osipov
5b06699029
Merge 5.5 -> 5.5-merge.
2010-09-24 17:18:45 +04:00
Davi Arnaut
2044c80745
Merge of mysql-5.1-bugteam into mysql-5.5-merge.
2010-09-24 10:03:17 -03:00
Davi Arnaut
77a0ae9a9a
Bug#45288: pb2 returns a lot of compilation warnings on linux
...
Temporarily disable strict aliasing warnings in order to get
wider coverage for optimized builds. Once the violations are
fixed and false-positives silenced, this flag should be removed.
2010-09-24 09:36:31 -03:00
Dmitry Shulga
e1b299ed02
Merged changes from 5.1-bugteam for bug#42503.
2010-09-24 19:12:09 +07:00
Dmitry Shulga
f14d8c2896
Follow-up for Bug#42503: fix a compilation warning.
2010-09-24 19:03:28 +07:00
Mats Kindahl
246b7b0b7d
Merging into mysql-5.5-bugfixing.
2010-09-23 14:38:24 +02:00
Dmitry Shulga
7cc604561c
Auto-merge from mysql-5.1-bugteam for bug#56821.
2010-09-22 20:11:40 +07:00
Dmitry Shulga
c7ccc7265e
Fixed bug#56821 - failure to start the MySQL Service.
2010-09-22 19:53:06 +07:00
Bjorn Munch
80d666bc21
Bug #56921 It should be possible to log connection statements in mysqltest
...
Added --enable-connect-log, somewhet similar to --enable-query-log
If query log is disabled, disable connect log too
Also some related cleanup in mysqltest.test: removing duplicate test loop
2010-09-22 10:57:10 +02:00
Mats Kindahl
48ac52a861
Merging into mysql-5.5-bugfixing.
2010-09-21 23:24:29 +02:00
Ingo Struewing
56d205c904
Bug#46339 - crash on REPAIR TABLE merge table USE_FRM
...
Null-merge from 5.1
2010-09-21 16:47:41 +02:00
Ingo Struewing
386d50478c
Bug#46339 - crash on REPAIR TABLE merge table USE_FRM
...
Merge from saved bundle.
2010-09-21 16:37:18 +02:00
Evgeny Potemkin
cd8710fe8a
Auto-merged.
2010-09-21 13:37:31 +04:00
Bjorn Munch
d7672f40be
test fixes after 56753
2010-09-21 11:18:53 +02:00
Bjorn Munch
8102240ce9
test fixes after 56753
2010-09-21 11:16:20 +02:00