mariadb/mysql-test/suite/versioning/t
Aleksey Midenkov f1f9284181 MDEV-34046 Parameterized PS converts error to warning, causes
replication problems

DELETE HISTORY did not process parameterized PS properly as the
history expression was checked on prepare stage when the parameters
was not yet substituted. In that case check_units() succeeded as there
is no invalid type: Item_param has type_handler_null which is
inherited from string type and this is valid type for history
expression. The warning was thrown when the expression was evaluated
for comparison on delete execution (when the parameter was already
substituted).

The fix postpones check_units() until the first PS execution. We have
to postpone where conditions processing until the first execution and
update select_lex.where on every execution as it is reset to the state
after prepare.
2025-06-12 14:52:00 +03:00
..
alter.test Merge 10.6 into 10.11 2024-10-03 10:55:08 +03:00
autoinc.test MDEV-22562 Assertion `next_insert_id == 0' upon UPDATE on system-versioned table 2021-03-31 21:25:36 +03:00
binlog.test MDEV-29732 mysqlbinlog produces syntactically incorrect output with system_versioning_insert_history 2022-10-26 15:30:38 +02:00
commit_id.test Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
create.test Merge 10.6 into 10.11 2024-10-03 10:55:08 +03:00
cte.test Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
data.test Merge 10.6 into 10.11 2024-10-03 10:55:08 +03:00
debug.test MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT 2022-05-06 15:11:02 +03:00
delete.test MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
delete_history.test MDEV-34046 Parameterized PS converts error to warning, causes 2025-06-12 14:52:00 +03:00
derived.test Merge branch '10.2' into 10.3 2019-09-03 13:17:32 +03:00
foreign.combinations
foreign.test Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
insert.test Merge 10.6 into 10.11 2024-10-03 10:55:08 +03:00
insert2.test MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
misc.test Merge branch '10.10' into 10.11 2022-11-02 13:08:01 +01:00
not_embedded.test MDEV-5215 prerequisite: remove test and test_* database hacks in the test suite 2022-11-01 16:33:00 +01:00
online.test Merge 10.3 into 10.4 2019-10-10 21:30:40 +03:00
optimized.test MDEV-15062 Information Schema COLUMNS Table does not show system versioning information 2018-04-10 13:12:36 +02:00
partition.test MDEV-33370 Assertion `!is_set() || (m_status == DA_OK_BULK && 2025-06-03 11:27:45 +03:00
replace.test MDEV-35343 unexpected replace behaviour when long unique index on 2025-01-14 18:56:13 +03:00
rpl.test Merge 10.6 into 10.11 2024-10-03 10:55:08 +03:00
rpl_common.inc fix sporadic versioning.rpl_row failures 2022-06-16 09:57:31 +02:00
rpl_mix.test MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT 2022-05-06 15:11:02 +03:00
rpl_row.test Merge branch '10.6' into 10.11 2024-10-29 15:24:38 +01:00
rpl_stmt.test MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT 2022-05-06 15:11:02 +03:00
select.test Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
select2.test Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
simple.test MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
sysvars.test Merge branch '10.5' into 10.6 2021-08-02 10:11:41 +02:00
trx_id.opt MDEV-29989 binlog_do_db option breaks versioning table 2023-09-26 10:47:59 +05:30
trx_id.test Merge 10.5 into 10.6 2024-10-03 09:31:39 +03:00
update-big.test MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT 2022-05-06 15:11:02 +03:00
update.test MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
view.test MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00