Commit graph

22795 commits

Author SHA1 Message Date
Sergei Golubchik
3039a7c213 fix upgrade.test - update from 5.6 2013-07-12 10:21:14 +02:00
Sergei Golubchik
3cd1861a81 merge bugfuxes for sp-error.test 2013-07-12 10:17:52 +02:00
unknown
f0502cf87c changes corresponts to changes in 5.6 2013-07-12 09:37:07 +03:00
Sergei Golubchik
4d57bfdd48 temporal-related changes. don't apply sql_mode flags on the lower level (str_to_datetime),
do it on the upper level, in items that return temporal values.

update tests results to match 5.6 better and to fix old bugs.
2013-07-11 23:16:33 +02:00
Sergei Golubchik
82403c0bb1 fix truncate_coverage.test: update from 5.6 2013-07-11 21:56:58 +02:00
Sergei Golubchik
bcbdf5d68a fix signal_demo3.test: fix a typo in the merge, and update results to match 5.6 2013-07-11 21:40:30 +02:00
Sergei Golubchik
b7e77be544 fix create.test: update the results, don't restore the incorrectly merged feature.
it'll go away in the next 10.0 merge
2013-07-11 16:54:03 +02:00
Sergei Golubchik
2f14d5747e fix alter_table.test: remove old assert as it was removed from 5.6,
add extra_func code from 5.5, that was lost in a merge
2013-07-11 14:08:51 +02:00
Sergei Golubchik
3ab7052d79 fix cast.test, select.test, select_jcl6.test: update results after strict_date_checking=1 2013-07-10 21:19:11 +02:00
Sergei Golubchik
b9b41a5fb0 fix plugin.test - bad merge in TABLE_SHARE::destroy, ha_share must be deleted before the plugin 2013-07-10 20:11:01 +02:00
Sergei Golubchik
b29bffff6e fix select_pkeycache: update results after strict_date_checking=1 2013-07-10 19:09:26 +02:00
Sergei Golubchik
2492d007d5 fix innodb_mysql_sync test - update from 5.6 2013-07-10 17:10:22 +02:00
Sergei Golubchik
cf039ec153 fix flush_read_lock - update the test and results form 5.6 2013-07-10 15:23:46 +02:00
Sergei Golubchik
0ce9391008 fix for alter_table_online test.
Map ALTER ONLINE TABLE to ALTER TABLE ... ALGORITHM=INPLACE.
Make MERGE engine to announce its support of inplace operations.
2013-07-10 12:48:56 +02:00
Sergei Golubchik
e06cc1adce MDEV-4758 10.0-monty tree: ALTER TABLE CHANGE COLUMN doesn't drop EITS stats
add missing rename_column_in_stat_tables(), delete_statistics_for_column(),
delete_statistics_for_index(), rename_table_in_stat_tables() calls.
2013-07-09 22:36:53 +02:00
Sergei Golubchik
f171d3ff79 commit_1innodb.test: update results from 5.6 2013-07-09 18:43:12 +02:00
unknown
8f56dc7203 Cought errors are not shown 2013-07-09 21:15:01 +03:00
Sergey Petrunya
56a6e71f9c Fix merge.test failure
- Problem: mysql_admin_table() calls open_temporary_tables(). This 
  causes assertion failure, because mysql_execute_command() has 
  already called open_temporary_tables()
- Solution: call close_thread_tables() at the start of 
  mysql_admin_table(), like mysql-5.6 does
2013-07-09 15:42:36 +04:00
Igor Babaev
0977734cee Fixed all remaining failures in partition tests.
Commented out the test case for bug 50036 as it was done in mysql-5.6.10.
2013-07-08 18:35:44 -07:00
Igor Babaev
f1848be746 Fixed a failure in partition_truncate.test. 2013-07-08 12:55:11 -07:00
Sergey Petrunya
66f1a848f4 Automatic merge 2013-07-08 18:15:50 +04:00
unknown
d82b512535 fixed result. 2013-07-08 19:11:57 +03:00
Sergey Petrunya
964d42631c Fix test failure in myisam.test:
- Put back the code tht produces the warning about 
  "Table storage engine %s does not support the create option 'TRANSACTIONAL=1'"
2013-07-08 18:14:24 +04:00
Sergey Petrunya
50dda403b7 Fix test errors like:
-Note 1031 Table storage engine for 't1' doesn't have this option
+Note 1031 Table storage engine for 'InnoDB' doesn't have this option

They were caused by a change in MariaDB which changed ER_ILLEGAL_HA message 
text to be like:
"Storage engine InnoDB of the table `test`.`t1` doesn't have this option"

Some the error calls were changed to pass new parameters, but some were left
to be old. Also the error text in errmsg-ut8.txt was not changed.
2013-07-08 12:57:58 +04:00
unknown
00ee44ab82 known results differences 2013-07-05 17:21:14 +03:00
unknown
aa6d8e4950 fixed result (error message and error message intercepting). 2013-07-05 17:06:02 +03:00
Sergey Petrunya
2ac068d7f4 Update test result: same as in 10.0 and maria (and mysql) 5.5 2013-07-05 14:00:17 +04:00
Sergey Petrunya
952fd3e873 Fix mysqldump.test: update test result 2013-07-05 11:23:18 +04:00
Sergey Petrunya
d0f8f02971 Update test result: PASSWORD(NULL) returns '' now. 2013-07-05 10:52:31 +04:00
Sergey Petrunya
590984f131 More test result updates, follow the previous cset 2013-07-05 10:44:06 +04:00
Sergey Petrunya
0e8b04d980 More test result updates:
- strict.test updated (changed back) after the cset with "Fix 
  type_newdecimal.test ..." two csets ago
- row-checksum.test changed the code from HA_WRONG_CREATE_OPTION 
  to ER_ILLEGAL_HA_CREATE_OPTION, like mysql-5.6 did
2013-07-05 10:40:45 +04:00
Sergey Petrunya
4a8c61f372 Fix a number of tests:
- MariaDB does not have mysql.slave_master_info, mysql.slave_relay_log_info ,mysql.slave_worker_info
  or mysql.ndb_binlog_index tables.
- Some tests expected to have these tables (this was an incorrect merge from 5.6, which merged 
  necessary tables like mysql.innodb*stats, but also got these tables)
2013-07-05 10:21:15 +04:00
Sergey Petrunya
de8be58b68 Automatic merge 2013-07-04 17:58:39 +04:00
Sergey Petrunya
1a15aaa9e7 Update log_tables.test: some definitions of columns have changed, and slow_log got 'thread_id' column. 2013-07-04 17:57:42 +04:00
Sergey Petrunya
a7a1b82268 Update test result for mysql-test/t/ctype_errors.test (checked) 2013-07-04 17:08:15 +04:00
Sergey Petrunya
1ff340ad17 Automatic merge 2013-07-04 15:46:53 +04:00
Sergey Petrunya
77584dd6d7 MDEV-4756: 10.0-monty tree: log_state.test fails
- make the test output stable
- make Log_to_csv_event_handler::log_slow() to write the value 
  of thd->thread_id (it didn't, and so 0 was always logged).
2013-07-04 15:45:58 +04:00
Sergey Petrunya
28082b0137 Update test results: handlersocket.test (approved by Serg) 2013-07-04 15:05:43 +04:00
Sergey Petrunya
5b19ff65b3 Update more test results (all checked). 2013-07-04 09:38:33 +04:00
Sergey Petrunya
c7020dfd70 Fix a number of trivial test failures by updating error message:
"Unknown table tbl" is now "Unknown table database.tbl"
(part#3)
2013-07-03 20:48:41 +04:00
Sergey Petrunya
b83c2bc688 Cont'd: Fix a number of trivial test failures by updating error message:
"Unknown table tbl" is now "Unknown table database.tbl"
2013-07-03 20:10:51 +04:00
Sergey Petrunya
2ca32f9747 Automatic merge 2013-07-03 20:05:05 +04:00
Michael Widenius
a9d1d76e5e Fixed issues with partitions and create temporary table SELECT ...
Merged all ddl_logging code.
Merged sql_partition.cc
innodb_mysql_lock2.test and partition_cache.test now works.
Changed interface to strconvert() to make it easier to use with not \0 terminated strings.

sql/sql_partition.cc:
  Full merge with 5.6
sql/sql_table.cc:
  Merged all ddl_logging code
sql/strfunc.cc:
  Added from_length argument to strconvert() to make it possible to use without end terminated strings.
sql/strfunc.h:
  Added from_length argument to strconvert() to make it possible to use without end terminated strings.
2013-07-03 22:50:34 +03:00
Sergey Petrunya
f335c36e27 Fix a number of trivial test failures by updating error message:
"Unknown table tbl" is now "Unknown table database.tbl"
2013-07-03 20:02:48 +04:00
Sergey Petrunya
e98bb64cbe MDEV-4750: (patch#2): undo previous attempts to stabilize
persistent table statistics with ANALYZE TABLE commands
2013-07-03 19:42:05 +04:00
Sergey Petrunya
9e5828f13f Fix test failure in mysql-test/t/type_bit_innodb.test
- Run ANALYZE TABLE after insert, like mysql-5.6 does.
2013-07-03 14:42:48 +04:00
Sergey Petrunya
bff40f3e0d Fix test failure for join_outer_innodb.test:
reuse the approach from vasil.dimov@oracle.com-20120521133620-glj6l0ntcsrz0wbl
run ANALYZE TABLE.
2013-07-03 14:24:56 +04:00
unknown
68262ba648 ps_ddl1.test fix 2013-07-03 10:22:19 +03:00
unknown
eed698e975 ps.test fixed 2013-07-03 10:19:47 +03:00
unknown
68daeda521 ps_1general fixed. 2013-07-03 10:18:22 +03:00