summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-06-03 19:40:41 +0300
committerMonty <monty@mariadb.org>2020-06-08 23:57:40 +0300
commit222fdf002efeea0ce11028dca9b0b1f7b7406c81 (patch)
tree36a7ed10dd47e885513b36944d6ce76352fb3bdb /include
parentfb39a2bf81a27ec6e5dde7b08195c381598b0009 (diff)
downloadmariadb-git-222fdf002efeea0ce11028dca9b0b1f7b7406c81.tar.gz
Changes needed for ColumnStore and insert 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 'include')
-rw-r--r--include/thr_lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thr_lock.h b/include/thr_lock.h
index 2873d40c58a..1ea24132d90 100644
--- a/include/thr_lock.h
+++ b/include/thr_lock.h
@@ -126,7 +126,7 @@ typedef struct st_thr_lock {
/* write_lock_count is incremented for write locks and reset on read locks */
ulong write_lock_count;
uint read_no_write_count;
- void (*get_status)(void*, my_bool); /* When one gets a lock */
+ my_bool (*get_status)(void*, my_bool);/* Called when one gets a lock */
void (*copy_status)(void*,void*);
void (*update_status)(void*); /* Before release of write */
void (*restore_status)(void*); /* Before release of read */