[MDEV-28263] mariadb-tzinfo-to-sql binlog, embedded, and performance fixes Created: 2022-04-08 Updated: 2023-04-18 Resolved: 2022-04-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.4.24 |
| Fix Version/s: | 10.2.44, 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4, 10.8.3, 10.9.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Description |
|
The --skip-write-binlog option from Lastly, we could make the SQL generated preserve the session SQL_LOG_BIN state. There's also a 10.6 case with wsrep_mode=REPLICA_ARIA where there isn't a need to change to InnoDB for replicating, but its a fairly minor case. ImplementationUsing user variables and EXECUTE IMMEDIATE prevents the need to use delimiter or a stored procedure. draft implementation (against 10.6) (wsrep_mode=REPLICA_ARIA could be removed and the rest is 10.4 friendly (where Some test cases from a previous MDEV-23326 draft may be useful. A 10.3 fix by moving SQL_LOG_BIN=? out of the WSREP_ON=ON condition. |
| Comments |
| Comment by Daniel Black [ 2022-04-19 ] |
|
https://github.com/MariaDB/server/pull/2099 for the 10.6 side because that's when EXECUTE IMMEDIATE became available to LOCK TABLES. I'm still to prepare an earlier similar fix. |
| Comment by Brandon Nesterenko [ 2022-04-19 ] |
|
Reviewed the 10.6 PR |
| Comment by Daniel Black [ 2022-04-20 ] |
|
Updated PR according to review. One more still to come for the earlier MariaDB versions. |
| Comment by Daniel Black [ 2022-04-22 ] |
|
10.2 version on bb-10.2-danielblack- |
| Comment by Brandon Nesterenko [ 2022-04-23 ] |
|
The 10.2 patch looks good - I left a question on GH. |