Parse InnoDB defs with max_rows and avg_row_length specifiers.
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Sat, 17 Feb 2007 20:06:37 +0000 (20:06 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Sat, 17 Feb 2007 20:06:37 +0000 (20:06 +0000)
maintenance/postgres/compare_schemas.pl

index ae5f86c..d8b4148 100644 (file)
@@ -51,7 +51,7 @@ $indextype = qr{$indextype};
 
 my $engine = qr{TYPE|ENGINE};
 
-my $tabletype = qr{InnoDB|MyISAM|HEAP|HEAP MAX_ROWS=\d+};
+my $tabletype = qr{InnoDB|MyISAM|HEAP|HEAP MAX_ROWS=\d+|InnoDB MAX_ROWS=\d+ AVG_ROW_LENGTH=\d+};
 
 my $charset = qr{utf8|binary};