Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1046524
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
Sat, Jun 28, 7:43 PM
Size
504 B
Mime Type
text/x-diff
Expires
Sun, Jun 29, 7:43 PM (7 h, 8 m)
Engine
blob
Format
Raw Data
Handle
676552
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