1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

post-fixes for TRUNCATE

* fix the truncate-by-handler variant, used by InnoDB
* test that insert works after truncate, meaning graph table was emptied
* test that the vector index size is zero after truncate in MyISAM
This commit is contained in:
Sergei Golubchik
2024-07-25 20:27:50 +02:00
parent 70575defb7
commit ebcbed6d74
8 changed files with 68 additions and 14 deletions

View File

@@ -1801,7 +1801,7 @@ public:
int hlindexes_on_insert();
int hlindexes_on_update();
int hlindexes_on_delete(const uchar *buf);
int hlindexes_on_delete_all();
int hlindexes_on_delete_all(bool truncate);
int reset_hlindexes();
void prepare_triggers_for_insert_stmt_or_event();