r71534 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71533‎ | r71534 | r71535 >
Date:00:35, 24 August 2010
Author:kaldari
Status:ok
Tags:
Comment:
dividing ALTER TABLE statement into 2 statements for SQLite
Modified paths:
  • /trunk/extensions/CentralNotice/patches/patch-template_settings.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/patches/patch-template_settings.sql
@@ -3,5 +3,5 @@
44 -- is displayed to anonymous users, the other indicating whether or not the banner is displayed
55 -- to logged in users.
66
7 -ALTER TABLE /*$wgDBprefix*/cn_templates ADD `tmp_display_anon` BOOLEAN NOT NULL DEFAULT 1,
8 - ADD `tmp_display_account` BOOLEAN NOT NULL DEFAULT 1;
 7+ALTER TABLE /*$wgDBprefix*/cn_templates ADD `tmp_display_anon` BOOLEAN NOT NULL DEFAULT 1;
 8+ALTER TABLE /*$wgDBprefix*/cn_templates ADD `tmp_display_account` BOOLEAN NOT NULL DEFAULT 1;

Status & tagging log