View Issue Details

IDProjectCategoryView StatusLast Update
0002360Composrcore_database_driverspublic2016-07-17 12:12
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002360: Big DB cleanup
DescriptionMake 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.
TagsNo tags attached.
Time estimation (hours)8
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

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