1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Optimization: in the replication slave, we can avoid doing one strlen() per event's execution,

as we already have db_len in Log_event. Only if rewrite_db() changed the db we need a strlen
(so we now do the strlen() in rewrite_db). Plus a test (we had none for --replicate-rewrite-db :( ).
This commit is contained in:
guilhem@mysql.com
2004-10-19 22:27:19 +02:00
parent 3c49aa7cfa
commit 41b808d224
6 changed files with 59 additions and 17 deletions

View File

@@ -0,0 +1 @@
"--replicate-rewrite-db=mysqltest1->test"