Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F803813
D231.id1005.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 26, 8:58 AM
Size
504 B
Mime Type
text/x-diff
Expires
Thu, Feb 27, 8:58 AM (10 h, 26 m)
Engine
blob
Format
Raw Data
Handle
576537
Attached To
D231: INP-1560 Migrate "mysql" to "mysqli" database type during upgrade
D231.id1005.diff
View Options
Index: branches/5.2.x/core/install.php
===================================================================
--- branches/5.2.x/core/install.php
+++ branches/5.2.x/core/install.php
@@ -299,6 +299,11 @@
break;
}
}
+
+ if ( !$this->errorMessage && $this->toolkit->systemConfig->get('DBType', 'Database') == 'mysql' ) {
+ $this->toolkit->systemConfig->set('DBType', 'Database', 'mysqli');
+ $this->toolkit->systemConfig->save();
+ }
break;
case 'clean_db':
Event Timeline
Log In to Comment