mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Merge 10.7 into 10.8
The MDEV-25004 test innodb_fts.versioning is omitted because ever since
commit 685d958e38 InnoDB would not allow
writes to a database where the redo log file ib_logfile0 is missing.
This commit is contained in:
commit
92c8d6f168
201 changed files with 3246 additions and 2325 deletions
|
|
@ -1333,6 +1333,20 @@ dict_index_t::vers_history_row(
|
|||
{
|
||||
ut_ad(!is_primary());
|
||||
|
||||
/*
|
||||
Get row_end from clustered index
|
||||
|
||||
TODO (optimization): row_end can be taken from unique secondary index
|
||||
as well. For that dict_index_t::vers_end member should be added and
|
||||
updated at index init (dict_index_build_internal_non_clust()).
|
||||
|
||||
Test case:
|
||||
|
||||
create or replace table t1 (x int unique, y int unique,
|
||||
foreign key r (y) references t1 (x))
|
||||
with system versioning engine innodb;
|
||||
insert into t1 values (1, 1);
|
||||
*/
|
||||
bool error = false;
|
||||
mem_heap_t* heap = NULL;
|
||||
dict_index_t* clust_index = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue