consolidate multiple ALTER TABLE statements for efficiency
authorIvan Kohler <ivan@freeside.biz>
Sat, 26 Oct 2013 20:45:10 +0000 (13:45 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sat, 26 Oct 2013 20:45:10 +0000 (13:45 -0700)
DBSchema/Table.pm

index 01382ef..d32ae99 100644 (file)
@@ -725,7 +725,7 @@ sub sql_alter_table {
 
   }
 
-  unshift @r, "ALTER TABLE $table ", join(', ', @at) if @at;
+  unshift @r, "ALTER TABLE $table ". join(', ', @at) if @at;
   
   ###
   # return the statements