This is a split version of previous patch: http://drupal.org/node/178555. This patch only consider about the reorder and group up of mysql's related *.inc, plus a minor change to internal function name from _db_create_keys_sql() => _db_create_keys(), which synchronize with pgsql version. No change to db_query_range() and db_query_temporary() as that will consider as another issue. Should be trivial to commit.

Comments

hswong3i’s picture

Patch reroll via latest CVS HEAD, plus the enclose of @ingroup database and @} End of "ingroup database". within database.mysql-common.inc, to ensure the document generate correctly. It is now tested for MySQL 5.0.32 on Debian etch 4.0r1 with PHP 5.2.0-8+etch7, with a complete test for core installation and all modules installation. Should be trivial to commit, as a coding style cleanup for a simpler maintenance :)

hswong3i’s picture

Title: Group up database.mysql-common.inc » Coding standard: database.mysql*.inc
StatusFileSize
new25.43 KB

Patch reroll via latest CVS HEAD. It is simple enough, with no critical logic change, and ready for commit. May someone give me a hand?

hswong3i’s picture

Title: Coding standard: database.mysql*.inc » code cleanup: database.mysql*.inc
Priority: Normal » Minor
StatusFileSize
new25.44 KB

Patch reroll via latest CVS HEAD. Already merge with #172541 for D7 preparation, so shouldn't be too hurry right now.

hswong3i’s picture

Status: Needs review » Closed (won't fix)

Nothing will happened even without this cleanup. Don't waste time in here.