diff options
author | Monty <monty@mariadb.org> | 2020-06-03 19:40:41 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-06-14 19:39:42 +0300 |
commit | 10b88deb74a77e75c49b8fc63fef666eaddc2e6e (patch) | |
tree | e0b12d095b2235b1a4df45f67674e580fcae0af2 /storage/myisam/myisamdef.h | |
parent | 74df3c8024faa55faa361edb0a80548c9b36815c (diff) | |
download | mariadb-git-10b88deb74a77e75c49b8fc63fef666eaddc2e6e.tar.gz |
Changes needed for ColumnStore and insert cache
MCOL-3875 Columnstore write cache
The main change is to change thr_lock function get_status to
return a value that indicates we have to abort the lock.
Other thing:
- Made start_bulk_insert() and end_bulk_insert() protected so that the
insert cache can use these
Diffstat (limited to 'storage/myisam/myisamdef.h')
-rw-r--r-- | storage/myisam/myisamdef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/myisamdef.h b/storage/myisam/myisamdef.h index 19cc408b3fa..640a04fb3df 100644 --- a/storage/myisam/myisamdef.h +++ b/storage/myisam/myisamdef.h @@ -726,7 +726,7 @@ int _mi_cmp_dynamic_unique(MI_INFO *info, MI_UNIQUEDEF *def, const uchar *record, my_off_t pos); int mi_unique_comp(MI_UNIQUEDEF *def, const uchar *a, const uchar *b, my_bool null_are_equal); -void mi_get_status(void *param, my_bool concurrent_insert); +my_bool mi_get_status(void *param, my_bool concurrent_insert); void mi_update_status(void *param); void mi_restore_status(void *param); void mi_copy_status(void *to, void *from); |