add DDL_SCRIPT translation to the logshipping_toinsert
authorSteve Singer <ssinger@ca.afilias.info>
Fri, 5 Jul 2013 02:00:12 +0000 (22:00 -0400)
committerSteve Singer <ssinger@ca.afilias.info>
Fri, 5 Jul 2013 02:00:12 +0000 (22:00 -0400)
tools/logshipping_toinsert.pl

index c5e467e4d1f22a10c29278cc33e5f7a21f685a3d..f5bf75523c4bbd89a0767f65bcf3425052cecf5d 100644 (file)
@@ -114,6 +114,10 @@ if ($state eq 'IN_COPY') {
                elsif ($fields{'log_cmdtype'} eq 'T') {
                        print_truncate(\%fields,\@parsed);
                }
+               elsif ($fields{'log_cmdtype'} eq 'S') {
+                       print @data[2..scalar(@data)-3];
+                       print "\n";
+               }
 
                
        }