From: Brion Vibber Date: Tue, 13 Mar 2007 15:25:59 +0000 (+0000) Subject: MySQL seems kind of anal about comments; at least the version on my Ubuntu box whines... X-Git-Tag: 1.31.0-rc.0~53781 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=bcd458ca2585fbe7ceb5476f293e50ecd6bd5421;p=lhc%2Fweb%2Fwiklou.git MySQL seems kind of anal about comments; at least the version on my Ubuntu box whines about the missing space on these comments --- diff --git a/maintenance/mysql5/tables-binary.sql b/maintenance/mysql5/tables-binary.sql index b04d90d728..2b82a4f5fd 100644 --- a/maintenance/mysql5/tables-binary.sql +++ b/maintenance/mysql5/tables-binary.sql @@ -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), diff --git a/maintenance/mysql5/tables.sql b/maintenance/mysql5/tables.sql index ac9e8e57a7..4aff4bc959 100644 --- a/maintenance/mysql5/tables.sql +++ b/maintenance/mysql5/tables.sql @@ -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), diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 8a75ce76be..f00a9fb736 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -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),