Index: branches/REL1_19/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' ) ); |
— | — | @@ -244,8 +246,8 @@ |
245 | 247 | */ |
246 | 248 | public function createTables() { |
247 | 249 | $this->setupSchemaVars(); |
248 | | - $this->db->selectDB( $this->getVar( 'wgDBuser' ) ); |
249 | 250 | $this->db->setFlag( DBO_DDLMODE ); |
| 251 | + $this->parent->setVar( 'wgDBname', $this->getVar( 'wgDBuser' ) ); |
250 | 252 | $status = parent::createTables(); |
251 | 253 | $this->db->clearFlag( DBO_DDLMODE ); |
252 | 254 | |