Index: trunk/phase3/includes/installer/OracleUpdater.php |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | array( 'doFKRenameDeferr' ), |
22 | 22 | array( 'doFunctions17' ), |
23 | 23 | array( 'doSchemaUpgrade17' ), |
24 | | - array( 'doInserPage0' ), |
| 24 | + array( 'doInsertPage0' ), |
25 | 25 | ); |
26 | 26 | } |
27 | 27 | |
— | — | @@ -81,7 +81,10 @@ |
82 | 82 | $this->output( "ok\n" ); |
83 | 83 | } |
84 | 84 | |
85 | | - protected function doInserPage0() { |
| 85 | + /** |
| 86 | + * Insert page (page_id = 0) to prevent FK constraint violation |
| 87 | + */ |
| 88 | + protected function doInsertPage0() { |
86 | 89 | $this->output( "Inserting page 0 if missing ... " ); |
87 | 90 | $row = array( |
88 | 91 | 'page_id' => 0, |