Added missing NULL value to sql insert statement.
authorBill Traynor <btraynor@gmail.com>
Fri, 19 Sep 2014 17:54:30 +0000 (13:54 -0400)
committerBrian Wolff <bawolff+wn@gmail.com>
Fri, 19 Sep 2014 18:01:04 +0000 (18:01 +0000)
In tables.sql the page table is defined with 14 columns.  Following
this, the dummy table insert statement included 13 values causing
failure of the installation process.  This change adds the required 14th
value.

Bug: 71022
Change-Id: I8f8ee95fb4c0147ac09232ef253ecf7784b7fb52
Signed-off-by: Bill Traynor <btraynor@gmail.com>
maintenance/oracle/tables.sql

index 1e0fa40..36be16e 100644 (file)
@@ -88,7 +88,7 @@ CREATE INDEX &mw_prefix.page_i03 ON &mw_prefix.page (page_is_redirect, page_name
 
 -- Create a dummy page to satisfy fk contraints especially with revisions
 INSERT INTO &mw_prefix.page
-  VALUES (0, 0, ' ', NULL, 0, 0, 0, 0, current_timestamp, NULL, 0, 0, NULL);
+  VALUES (0, 0, ' ', NULL, 0, 0, 0, 0, current_timestamp, NULL, 0, 0, NULL, NULL);
 
 /*$mw$*/
 CREATE TRIGGER &mw_prefix.page_set_random BEFORE INSERT ON &mw_prefix.page