1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

forbid REPLACE/ODKU on tables containing WITHOUT OVERLAPS

This commit is contained in:
Nikita Malyavin
2020-03-17 02:59:11 +10:00
committed by Sergei Golubchik
parent 62e7ad2bbc
commit 244ff3e5a0
5 changed files with 85 additions and 0 deletions

View File

@ -38,6 +38,8 @@ void upgrade_lock_type_for_insert(THD *thd, thr_lock_type *lock_type,
int check_that_all_fields_are_given_values(THD *thd, TABLE *entry,
TABLE_LIST *table_list);
int vers_insert_history_row(TABLE *table);
int check_duplic_insert_without_overlaps(THD *thd, TABLE *table,
enum_duplicates duplic);
int write_record(THD *thd, TABLE *table, COPY_INFO *info,
select_result *returning= NULL);
void kill_delayed_threads(void);