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