mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
35ffaf10e3
The problem is that when statement-based replication was enabled, statements such as INSERT INTO .. SELECT FROM .. and CREATE TABLE .. SELECT FROM need to grab a read lock on the source table that does not permit concurrent inserts, which would in turn be denied if the source table is a log table because log tables can't be locked exclusively. The solution is to not take such a lock when the source table is a log table as it is unsafe to replicate log tables under statement based replication. Furthermore, the read lock that does not permits concurrent inserts is now only taken if statement-based replication is enabled and if the source table is not a log table. |
||
---|---|---|
.. | ||
r | ||
std_data | ||
t | ||
combinations |