From: Jamie M. <ja...@mc...> - 2007-09-25 18:33:02
|
sh...@lo... (shane) writes: > My thinking is create a var that controls the behavior, it's > default being "use old method". Then write the new code, test, > diff, submit patch. I'd prefer it to examine the DB on startup and automatically use the new behavior if available, on a slave-by-slave basis. Note that SELECT VERSION() returns cruft in the string, e.g. my MySQL returns "5.0.22-Debian_0ubuntu6.06.3-log", but I think /^([\d.]+)/ is a reliable version number. --=20 Jamie McCarthy http://mccarthy.vg/ ja...@mc... |