mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
c4581735d0
- Remove not used thd_rpl_is_parallel() - Remove not used mysql_notify_thread_having_shared_lock() - Remove not needed LOCK_thread_count from MYSQL_BIN_LOG::reset_logs() - LOCK_thread_count is not protecting against rollback, so this code and comment is not needed - Remove mutex_locks in slave.cc that are not needed. Added THD::assert_not_linked() to ensure that it was safe to remove - Fixed not repeatable test load_data_stmt_view - Updated binlog_killed to test removal of mutex (thanks to Andrei Elkin for test) - More code comments
24 lines
740 B
Text
24 lines
740 B
Text
#
|
|
# MDEV-3940 Server crash or assertion `item->type() == Item::STRING_ITEM' failure on LOAD DATA through a view with statement binary logging
|
|
#
|
|
|
|
--source include/have_binlog_format_statement.inc
|
|
|
|
--write_file $MYSQLTEST_VARDIR/3940.data
|
|
1
|
|
EOF
|
|
|
|
reset master;
|
|
|
|
create table t1 (i int, j int);
|
|
create view v1 as select i from t1;
|
|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
|
--eval LOAD DATA LOCAL INFILE '$MYSQLTEST_VARDIR/3940.data' INTO TABLE v1 (i)
|
|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
|
--eval LOAD DATA LOCAL INFILE '$MYSQLTEST_VARDIR/3940.data' INTO TABLE v1
|
|
select * from v1;
|
|
--let $binlog_file = LAST
|
|
--source include/show_binlog_events.inc
|
|
drop view v1;
|
|
drop table t1;
|
|
--remove_file $MYSQLTEST_VARDIR/3940.data
|