View Issue Details

IDProjectCategoryView StatusLast Update
2360Composrcore_database_driverspublic2016-07-17 12:12
ReporterChris Graham Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary2360: 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.
Attach Tags
Time estimation (hours)8
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

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
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