View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
2360 | Composr | core_database_drivers | public | 2016-03-30 14:03 | 2016-07-17 12:12 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 2360: 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. | ||||
Attach Tags | |||||
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 | |
2016-07-15 22:26 | Chris Graham | Description Updated | |
2016-07-17 12:12 | Chris Graham | Status | Not Assigned => Resolved |
2016-07-17 12:12 | Chris Graham | Resolution | open => fixed |
2016-07-17 12:12 | Chris Graham | Assigned To | => Chris Graham |