mirror of
https://github.com/MariaDB/server.git
synced 2025-11-16 20:23:18 +03:00
mysql-test/r/archive.result: Updated result set for changes amde to support delayed insert and bulk insert optimizations. mysql-test/t/archive.test: Test cases to test bulk insert statements and delayed insert syntax. sql/examples/ha_archive.cc: Added methods needed for bulk operations to be optimized. Bulk inserts now do not trigger the file as dirty until they are complete. A normal insert though can still cause them to be synced though since it is not effected by the flag. Removed share variable to determine if row count is right or not (it should not be treated as an upper end estimate). sql/examples/ha_archive.h: Removed share variable for delayed flag since it is no longer needed. Added flag in table instance to know if a bulk insert is happening. Added method declarations for bulk insert optimizations.
92 KiB
92 KiB