Index: trunk/phase3/includes/installer/OracleInstaller.php |
— | — | @@ -230,6 +230,8 @@ |
231 | 231 | // user created or already existing, switching back to a normal connection |
232 | 232 | // as the new user has all needed privileges to setup the rest of the schema |
233 | 233 | // i will be using that user as _InstallUser from this point on |
| 234 | + $this->db->close(); |
| 235 | + $this->db = false; |
234 | 236 | $this->parent->setVar( '_InstallUser', $this->getVar( 'wgDBuser' ) ); |
235 | 237 | $this->parent->setVar( '_InstallPassword', $this->getVar( 'wgDBpassword' ) ); |
236 | 238 | $this->parent->setVar( '_InstallDBname', $this->getVar( 'wgDBuser' ) ); |
— | — | @@ -245,8 +247,8 @@ |
246 | 248 | */ |
247 | 249 | public function createTables() { |
248 | 250 | $this->setupSchemaVars(); |
249 | | - $this->db->selectDB( $this->getVar( 'wgDBuser' ) ); |
250 | 251 | $this->db->setFlag( DBO_DDLMODE ); |
| 252 | + $this->parent->setVar( 'wgDBname', $this->getVar( 'wgDBuser' ) ); |
251 | 253 | $status = parent::createTables(); |
252 | 254 | $this->db->clearFlag( DBO_DDLMODE ); |
253 | 255 | |