Mercurial > pub > Impl
comparison _test/Test/SQL/Diff.pm @ 274:8d36073411b1
+Added AutoDispose class
*code cleanups
author | cin |
---|---|
date | Wed, 30 Jan 2013 03:30:28 +0400 |
parents | 56364d0c4b4f |
children |
comparison
equal
deleted
inserted
replaced
273:ad93c9f4dd93 | 274:8d36073411b1 |
---|---|
50 my $diff = SQLDiff->Diff($schemaSrc,$schemaDst); | 50 my $diff = SQLDiff->Diff($schemaSrc,$schemaDst); |
51 | 51 |
52 my $processor = MySQLProcessor->new($schemaSrc); | 52 my $processor = MySQLProcessor->new($schemaSrc); |
53 $processor->ProcessBatch($diff); | 53 $processor->ProcessBatch($diff); |
54 | 54 |
55 warn Dumper($diff); | |
56 warn Dumper($processor->sqlBatch); | |
57 | |
58 $schemaSrc->Dispose; | 55 $schemaSrc->Dispose; |
59 $schemaDst->Dispose; | 56 $schemaDst->Dispose; |
60 | 57 |
61 }; | 58 }; |
62 | 59 |