View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002360 | Composr | core_database_drivers | public | 2016-03-30 14:03 | 2016-07-17 12:12 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Severity | Feature-request | ||||
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0002360: Big DB cleanup | ||||
Description | Make the DatabaseConnector.connection_read and connection_write properties private, so that we must cleanly go through a proper DatabaseConnector call DB querying. These global functions should move into the DatabaseConnector class: db_has_full_text db_has_update_joins db_full_text_assemble db_has_expression_ordering is_on_multi_site_network is_forum_db ...and won't need a $db parameter anymore. Any function inside a DatabaseConnector or database driver class should not have a 'db_' suffix. Make all the database driver classes extend from a base class defined in sources/database.php. Any identical functions in individual drivers can then be removed, allowing default implementations to flow through. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | 8 | ||||
Sponsorship open | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-30 14:03 | Chris Graham | New Issue | |
2016-07-15 22:10 | Chris Graham | Description Updated | View Revisions |
2016-07-15 22:26 | Chris Graham | Description Updated | View Revisions |
2016-07-17 12:12 | Chris Graham | Status | non-assigned => resolved |
2016-07-17 12:12 | Chris Graham | Resolution | open => fixed |
2016-07-17 12:12 | Chris Graham | Assigned To | => Chris Graham |