#2360 - Big DB cleanup
| Identifier | #2360 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Big DB cleanup |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | core_database_drivers |
| 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. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There have been no comments yet