Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F776270
D231.id.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
Fri, Feb 7, 12:36 AM
Size
504 B
Mime Type
text/x-diff
Expires
Sat, Feb 8, 12:36 AM (3 h, 8 m)
Engine
blob
Format
Raw Data
Handle
558722
Attached To
D231: INP-1560 Migrate "mysql" to "mysqli" database type during upgrade
D231.id.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