This is a split version of previous patch: http://drupal.org/node/178555. This patch only consider about the simple tidy up of database.inc: update comment, and reorder some code (since %% should be remove within D7 with the help of PDO). Should be trivial to commit.

Comments

hswong3i’s picture

StatusFileSize
new1.29 KB

This patch is quite simple, but also reroll via latest CVS HEAD, plus testing case as like as http://drupal.org/node/183896 and http://drupal.org/node/183892. All pass without error (for sure...)

P.S. Since I am still finding the possibility (not only in D7, but also the chance for D6...) of remove the complicated '%s' syntax, remove %% placeholder (should be no longer supported when using PDO as backend), and the promote of CLOB based on the help of handy abstraction by using drupal_write_record() and schema API (so Oracle may also have possibility to implement as a "drop-in" driver), this syntax cleanup and document update will give a hand to my current research: patch will able to be smaller and simpler ;p

hswong3i’s picture

Title: Tidy up database.inc » Coding standard: database.inc
StatusFileSize
new1.29 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.inc » code cleanup: database.inc
Priority: Normal » Minor
StatusFileSize
new1.29 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.