mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-13393 SEQUENCE related crash when running concurrent I_S.TABLES and FLUSH queries
Problem was that SEQUENCE::table was shared among threads, which caused several threads to use the same object at the same time.
This commit is contained in:
@@ -93,7 +93,7 @@ public:
|
||||
SEQUENCE();
|
||||
~SEQUENCE();
|
||||
int read_initial_values(TABLE *table);
|
||||
int read_stored_values();
|
||||
int read_stored_values(TABLE *table);
|
||||
void write_lock(TABLE *table);
|
||||
void write_unlock(TABLE *table);
|
||||
void read_lock(TABLE *table);
|
||||
@@ -132,7 +132,6 @@ public:
|
||||
seq_init initialized;
|
||||
|
||||
private:
|
||||
TABLE *table;
|
||||
mysql_rwlock_t mutex;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user