Commit graph

23449 commits

Author SHA1 Message Date
Tatiana A. Nurnberg
337bf31e9f auto-merge 2009-02-02 14:10:35 +01:00
Serge Kozlov
b6542a374b post-merge push with patch for rpl_ndb_log 2009-02-02 15:06:40 +03:00
Serge Kozlov
01e368d1f6 Post-merge patch for extra/rpl_test/rpl_log.test:
Remove size of binlog file from SHOW BINARY LOGS. 
Changing size of binlog file is an affect of adding or removing events to/from
binlog and it can be checked in next command of test: SHOW BINLOG EVENTS.
For SHOW BINARY LOGS statement enough to show the list of file names.
2009-02-02 14:44:18 +03:00
Georgi Kodinov
7ee8ac6dbd fixed system_mysql_db_fix30020 test faiilure
fixed federated warnings
2009-02-02 13:36:03 +02:00
Sergey Glukhov
f21af1060e automerge 2009-02-02 15:09:04 +04:00
Bjorn Munch
8ad44e4b91 merge 2009-02-02 11:43:06 +01:00
Sergey Glukhov
ef3060e083 fixed jp test failures 2009-02-02 14:42:33 +04:00
Bjorn Munch
29fa37a1c5 Bug #42535 MTR2 output format for skipped tests should be identical to MTR 1
Changed [ skip ] to [ skipped ] and removed optional .
2009-02-02 11:26:19 +01:00
Georgi Kodinov
fb9ab04078 Fix from magnus for the "The socket file path is too long (> 107)" failure. 2009-02-02 12:18:38 +02:00
Alfranio Correia
db78d337b5 Merge PB2 MTR2 comment integration fix, from 5.1-rpl-merge tree. 2009-02-01 19:15:58 +00:00
Alfranio Correia
88063f4d66 Fixed test cases in suite funcs_1 due to changes in the MTR "check test cases". 2009-02-01 19:10:36 +00:00
Alfranio Correia
20c8187fad merge 5.1-bugteam --> 5.1-bugteam (local) 2009-02-01 17:24:07 +00:00
Alfranio Correia
c763a17461 Several fixes in funcs_1 suite:
1 - MASTER_MYSOCK fixed inexistent environment variable.
  2 - Fixed mismatch in result files due to changes in MTR.
2009-02-01 17:15:58 +00:00
Georgi Kodinov
8dd6a62c4e added a missing test directory in Makefile.am 2009-02-01 17:01:41 +02:00
Luis Soares
bb61c498ba BUG#42485: Pushbuild2 and some build tools do not work together with MTR2
It seems that the length of the thick line printed by mtr when printing the 
suite name differs from mtr1 and mtr2, affecting the mtr filtering by PB2.
      
This patch addresses it by restoring the thick line length to 78 (original
length) instead of 60 (the one in mtr2).
2009-02-01 14:14:39 +01:00
Georgi Kodinov
f5df2d9ce9 Fixed the parts testsuite to work with mtr2 2009-02-01 14:00:48 +02:00
Georgi Kodinov
aea9bcaa40 Fixed internal test check warnings in 5.1-bugteam. 2009-02-01 11:18:09 +02:00
Davi Arnaut
26e8675889 Remove duplicated test for Bug#34517 2009-01-31 22:04:57 -02:00
Luis Soares
91ac2afa6f BUG#35583: mysqlbinlog replay fails with ERROR 1146 when temp tables are used
The test case proposed by the bugfix fails in bugteam trees after merging new 
mtr from main. The failure is due to the fact that the binlog file location has
changed and is no more under $MYSQLTEST_VARDIR/log.
      
This patch fixes the test failure by setting the correct path to the binlog 
file.
2009-01-31 22:47:50 +01:00
Davi Arnaut
fac5865a3d Rename std_data_ln to std_data. 2009-01-31 17:22:59 -02:00
Davi Arnaut
4157d0ca3b Fix test cases to preserve the state that existed before the
test case was executed.
2009-01-31 16:09:41 -02:00
Davi Arnaut
36f8554e44 Post-merge fix for Bug#36326 2009-01-31 15:55:06 -02:00
Davi Arnaut
68da0130a9 Fix test cases to preserve the state that existed before the
test case was executed.
2009-01-31 14:10:43 -02:00
Georgi Kodinov
ece2f23aea fixed some parts test suite bugs 2009-01-31 17:47:35 +02:00
Georgi Kodinov
4b35af07f4 automatically merged 2009-01-31 14:18:03 +02:00
Georgi Kodinov
2b3a53a352 fixed bad merge of 5.1-main -> 5.1-bugteam 2009-01-31 14:15:49 +02:00
Tatiana A. Nurnberg
db39a76696 auto-merge 2009-01-31 02:08:41 +01:00
Tatiana A. Nurnberg
d36d50f414 auto-merge 2009-01-31 02:07:36 +01:00
Horst Hunger
690dc721b8 Fix for bug#39382 including review results after pulling the bugteam tree now using the new mtr. 2009-01-30 17:59:10 +01:00
Tatiana A. Nurnberg
1fcf891629 Bug#41370: TIMESTAMP field does not accepts NULL from FROM_UNIXTIME()
When storing a NULL to a TIMESTAMP NOT NULL DEFAULT ...,
NULL returned from some functions threw a 'cannot be NULL error.'

NULL-returns now correctly result in the timestamp-field being
assigned its default value.
2009-01-30 17:12:24 +01:00
Georgi Kodinov
c4d30c9b5a new mtr cleanup : removing non-exiting tests from disabled.def 2009-01-30 16:02:34 +02:00
Georgi Kodinov
3aec7ca415 merged 5.1-main -> 5.1-bugteam 2009-01-30 15:44:49 +02:00
Luis Soares
16a6158c47 merge: 5.1 -> 5.1-rpl-merge
conflicts:
  Text conflict in mysql-test/suite/sys_vars/r/rpl_max_binlog_size_func.result
  Text conflict in mysql-test/suite/sys_vars/t/rpl_max_binlog_size_func.test
2009-01-29 17:59:46 +01:00
Magnus Svensson
47dde97856 Merge 2009-01-29 15:39:00 +01:00
Magnus Svensson
570efe1274 Bug#39849 ndb tests fail sporadically on pushbuild: "out of connection objects"
- Increase number of transaction objects available in ndbd
 - Most likely this is a timing related issue.
2009-01-29 15:22:02 +01:00
Andrei Elkin
355d084567 bug #42451 setup_fake_relay_log makes an incorrect path on windows
Temporarily blocking to run the test on windows.

Todo: remove the include upon setup_fake_relay_log has been fixed.
2009-01-29 15:54:58 +02:00
Alfranio Correia
5fe924b5fa Re-enabled log_bin_trust_function_creators_func as the patch in
BUG#41003 reached our trees.
2009-01-29 13:29:19 +00:00
Satya B
800b155601 merge to the latest 5.1-bugteam branch 2009-01-29 17:41:32 +05:30
Satya B
b7c149693c An addition to BUG#39886 - Table full for MEMORY table is not written into error log
After the earlier fix, mtr tests reports "table full" messages as warnings. This is 
expected, this patch fixes the mtr testframework to ignore the error message.
2009-01-29 17:30:32 +05:30
Alfranio Correia
8eddfc514f merge 5.1-bugteam --> 5.1-bugteam (local) 2009-01-29 11:30:02 +00:00
Sergey Petrunia
af864fe91b Fix trivial merge error 2009-01-29 11:47:20 +03:00
Sergey Petrunia
7820ae5e25 Merge 2009-01-28 22:21:14 +03:00
Sergey Petrunia
cd4f6cc17b BUG#37822: Correlated subquery with IN and IS UNKNOWN provides wrong result
Item_in_optimizer::is_null() evaluated "NULL IN (SELECT ...)" to NULL regardless of
whether subquery produced any records, this was a documented limitation.

The limitation has been removed (see bugs 8804, 24085, 24127) now
Item_in_optimizer::val_int() correctly handles all cases with NULLs. Make
Item_in_optimizer::is_null() invoke val_int() to return correct values for
"NULL IN (SELECT ...)".
2009-01-28 22:18:27 +03:00
Gleb Shchepa
64c0951fde automerge 5.0-bugteam --> 5.1-bugteam (bug 39069) 2009-01-28 22:48:41 +04:00
Gleb Shchepa
b41c1a45f1 Bug #39069: <row constructor> IN <table-subquery> seriously
messed up

"ROW(...) IN (SELECT ... FROM DUAL)" always returned TRUE.

Item_in_subselect::row_value_transformer rewrites "ROW(...)
IN SELECT" conditions into the "EXISTS (SELECT ... HAVING ...)"
form.
For a subquery from the DUAL pseudotable resulting HAVING
condition is an expression on constant values, so further
transformation with optimize_cond() eliminates this HAVING
condition and resets JOIN::having to NULL.
Then JOIN::exec treated that NULL as an always-true-HAVING
and that caused a bug.

To distinguish an optimized out "HAVING TRUE" clause from
"HAVING FALSE" we already have the JOIN::having_value flag.
However, JOIN::exec() ignored JOIN::having_value as described
above as if it always set to COND_TRUE.

The JOIN::exec method has been modified to take into account
the value of the JOIN::having_value field.
2009-01-28 22:46:45 +04:00
Davi Arnaut
dd2d8eba62 Merge from 5.0-bugteam 2009-01-28 15:42:20 -02:00
Magnus Svensson
faca74e1a8 Merge 2009-01-28 17:48:10 +01:00
Magnus Svensson
f3f31c9ede WL#4189 mtr.pl v2
- Fix faulty regex used for filtering out suspicious warnings, causing
   warnings/errors from previous tests to be reported
2009-01-28 17:46:00 +01:00
Davi Arnaut
d94e00a0ed Remove test case for bug 40264.
Dirty close tricky does not work on Windows.
2009-01-28 14:33:33 -02:00
Luis Soares
4ce85ce5e3 Disabled test main.innodb_bug39438:
BUG#42383 2009-01-28 lsoares 
"This fails in embedded and on windows. Note that this test is not run 
on windows and on embedded in PB for main trees currently"
2009-01-28 16:28:09 +01:00