|
|||||||||||
|
Re: second version of proposed patch for delayed replication (Bug#28760)
From: Chad MILLER <chad(at)mysql.com>
Date: Mon Sep 10 2007 - 11:54:06 EDT
> Hi! Sorry, to me it looks like a source of zeros. master_delay is initialized to zero, and later read as a default value if the value isn't in a file. It's never assigned a new value. I took out the definition and replaced it with #define master_delay 0 , and it does the same thing. :\ >> + init_intvar_from_file(&delay, &mi->file, master_delay))
^dest loc ^src stream ^default
value if not found
I asked because I thought it might be possible that you planned to create a command-line parameter that set the default delay there. (If that were the case, then I'd want to change the name of "master_delay", to have the name "default" in it.) >> Since the patch came with no test, I took the time to create one. mysql-5.2, which is still similar to mysql-5.1. It should be no problem to apply patches from 5.1, so use whatever you like.
-- Chad Miller, Software Developer chad@mysql.com MySQL Inc., www.mysql.com Orlando, Florida, USA 13-20z, UTC-0400 Office: +1 408 213 6740 sip:6740@sip.mysql.com (If it's not cryptographically signed, it's not from Chad)Received on Mon Sep 10 11:54:29 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:59:24 EDT |
||||||||||
|
|||||||||||