|
|||||||||||
|
sql_log_slow and executable comment version fun.
From: Eric Bergen <eric(at)provenscaling.com>
Date: Thu Jul 19 2007 - 00:48:33 EDT
This patch serves two purposes. First it adds a variable to mysql that works exactly like sql_log_bIn in that it allows clients to prevent queries from being logged at the session level. Second it updates mysqldump to add this variable to it's dump output. A possible side effect of this new variable output is that it's tagged with a version number. In the old days this would be fine since newer versions of mysql will know about the variable and act accordingly. However, with mysql enterprise it's possible that newer versions of enterprise will have a higher version number than what's in output of mysql yet not support the new variable. Importing a dump file created on a version of mysql with this patch then trying to import it on a newer version without the patch will error. What are the lists thoughts on how to handle this?
The patch is at:
It was written for 5.0.41 but applies against 5.0.45 as well. I can
rebuild the patch for the newer version is necessary.
-- This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:06:18 EDT |
||||||||||
|
|||||||||||