MySQL seems kind of anal about comments; at least the version on my Ubuntu box whines...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 13 Mar 2007 15:25:59 +0000 (15:25 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 13 Mar 2007 15:25:59 +0000 (15:25 +0000)
maintenance/mysql5/tables-binary.sql
maintenance/mysql5/tables.sql
maintenance/tables.sql

index b04d90d..2b82a4f 100644 (file)
@@ -295,8 +295,8 @@ CREATE TABLE /*$wgDBprefix*/revision (
   -- Length of this revision in bytes
   rev_len int(8) unsigned,
 
-  --Key to revision.rev_id
-  --This field is used to add support for a tree structure (The Adjacency List Model)
+  -- Key to revision.rev_id
+  -- This field is used to add support for a tree structure (The Adjacency List Model)
   rev_parent_id int(8) unsigned default NULL,
 
   PRIMARY KEY rev_page_id (rev_page, rev_id),
index ac9e8e5..4aff4bc 100644 (file)
@@ -286,8 +286,8 @@ CREATE TABLE /*$wgDBprefix*/revision (
   -- Length of this revision in bytes
   rev_len int(8) unsigned,
 
-  --Key to revision.rev_id
-  --This field is used to add support for a tree structure (The Adjacency List Model)
+  -- Key to revision.rev_id
+  -- This field is used to add support for a tree structure (The Adjacency List Model)
   rev_parent_id int(8) unsigned default NULL,
 
   PRIMARY KEY rev_page_id (rev_page, rev_id),
index 8a75ce7..f00a9fb 100644 (file)
@@ -273,8 +273,8 @@ CREATE TABLE /*$wgDBprefix*/revision (
   -- Length of this revision in bytes
   rev_len int(8) unsigned,
 
-  --Key to revision.rev_id
-  --This field is used to add support for a tree structure (The Adjacency List Model)
+  -- Key to revision.rev_id
+  -- This field is used to add support for a tree structure (The Adjacency List Model)
   rev_parent_id int(8) unsigned default NULL,
 
   PRIMARY KEY rev_page_id (rev_page, rev_id),