MySQL doesn't need special index processing anymore.
authorivan <ivan>
Wed, 9 May 2001 00:15:55 +0000 (00:15 +0000)
committerivan <ivan>
Wed, 9 May 2001 00:15:55 +0000 (00:15 +0000)
Changes
DBSchema/Table.pm

diff --git a/Changes b/Changes
index 9b74541..ff709d8 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,13 @@
 Revision history for Perl extension DBIx::DBSchema.
 
+0.17  unreleased
+       - Rework Table->new interface for named params
+       - Fixes for Pg blobs, yay!
+       - MySQL doesn't need non-standard index syntax anymore (since 3.22).
+
+0.16  Fri Jan  5 15:55:50 2001
+       - Don't overflow index names.
+
 0.15  Fri Nov 24 23:39:16 2000
        - MySQL handling of BOOL type (change to TINYINT)
 
index df9c763..f7c1a21 100644 (file)
@@ -375,11 +375,6 @@ sub sql_create_table {
   push @columns, "PRIMARY KEY (". $self->primary_key. ")"
     if $self->primary_key && $driver ne 'Pg';
 
-  if ( $driver eq 'mysql' ) { #yucky mysql hack
-    push @columns, map "UNIQUE ($_)", $self->unique->sql_list;
-    push @columns, map "INDEX ($_)", $self->index->sql_list;
-  }
-
   my $indexnum = 1;
 
   my @r = (