Add a mysqlbinlog option to filter certain kinds of statements, i.e. (syntax subject to discussion): mysqlbinlog --exclude='alter table,drop table,alter database,...'
The implementation will depend on design choices made in WL#40: Option 1: If we decide to parse the statement, SQL-verb filtering will be trivial Option 2: If we decide not to parse the statement, we still can reliably distinguish the statement by matching the first characters against a set of patterns. If we chose the second, we'll have to perform certain normalization before matching the patterns: - Remove all comments from the command - Remove all pre-space - Compare the string case-insensitively - etc Option 3: Server-side support for ignoring certain statements: SET SESSION ignored_statements="alter table, analyze table, ...";
Version updated. No change.
Category updated. --- /tmp/wklog.41.old.28386 2010-07-01 06:01:38.000000000 +0000 +++ /tmp/wklog.41.new.28386 2010-07-01 06:01:38.000000000 +0000 @@ -1 +1 @@ -Server-RawIdeaBin +Client-RawIdeaBin
Category updated. --- /tmp/wklog.41.old.28374 2010-07-01 06:01:21.000000000 +0000 +++ /tmp/wklog.41.new.28374 2010-07-01 06:01:21.000000000 +0000 @@ -1 +1 @@ -Client-RawIdeaBin +Server-RawIdeaBin
Version updated. --- /tmp/wklog.41.old.28374 2010-07-01 06:01:21.000000000 +0000 +++ /tmp/wklog.41.new.28374 2010-07-01 06:01:21.000000000 +0000 @@ -1 +1 @@ -Benchmarks-3.0 +9.x
Dependency deleted: WL#39 no longer depends on WL#41
Category updated. --- /tmp/wklog.41.old.24136 2009-10-05 10:05:02.000000000 +0300 +++ /tmp/wklog.41.new.24136 2009-10-05 10:05:02.000000000 +0300 @@ -1 +1 @@ -Client-BackLog +Client-RawIdeaBin
High-Level Specification modified. --- /tmp/wklog.41.old.10632 2009-08-17 13:56:52.000000000 +0300 +++ /tmp/wklog.41.new.10632 2009-08-17 13:56:52.000000000 +0300 @@ -14,3 +14,10 @@ - Remove all pre-space - Compare the string case-insensitively - etc + +Option 3: + +Server-side support for ignoring certain statements: + + SET SESSION ignored_statements="alter table, analyze table, ..."; +
High-Level Specification modified. --- /tmp/wklog.41.old.6963 2009-08-14 14:17:32.000000000 +0300 +++ /tmp/wklog.41.new.6963 2009-08-14 14:17:32.000000000 +0300 @@ -1,6 +1,11 @@ The implementation will depend on design choices made in WL#40: -- If we decide to parse the statement, SQL-verb filtering will be trivial -- If we decide not to parse the statement, we still can reliably distinguish the + +Option 1: + +If we decide to parse the statement, SQL-verb filtering will be trivial + +Option 2: +If we decide not to parse the statement, we still can reliably distinguish the statement by matching the first characters against a set of patterns. If we chose the second, we'll have to perform certain normalization before
High-Level Specification modified. --- /tmp/wklog.41.old.13282 2009-08-10 15:47:13.000000000 +0300 +++ /tmp/wklog.41.new.13282 2009-08-10 15:47:13.000000000 +0300 @@ -2,3 +2,10 @@ - If we decide to parse the statement, SQL-verb filtering will be trivial - If we decide not to parse the statement, we still can reliably distinguish the statement by matching the first characters against a set of patterns. + +If we chose the second, we'll have to perform certain normalization before +matching the patterns: + - Remove all comments from the command + - Remove all pre-space + - Compare the string case-insensitively + - etc
High-Level Specification modified. --- /tmp/wklog.41.old.12689 2009-08-10 15:35:04.000000000 +0300 +++ /tmp/wklog.41.new.12689 2009-08-10 15:35:04.000000000 +0300 @@ -1 +1,4 @@ - +The implementation will depend on design choices made in WL#40: +- If we decide to parse the statement, SQL-verb filtering will be trivial +- If we decide not to parse the statement, we still can reliably distinguish the +statement by matching the first characters against a set of patterns.