Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
7 Mar 2010 at 13:58 UTC
Updated:
3 Jan 2014 at 01:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mr.baileysNope, that's not how it works ;)
Moving to the documentation queue.
Comment #2
jhodgdonThe text changes are good... but after the patch, this function doc is still wrong.
I hate to have patches that leave errors in doc headers.
So could you kindly reformat the function doc according to http://drupal.org/node/1354#functions
Thanks...
Comment #3
jhodgdonThis would be a good novice project...
Comment #4
rdrh555 commentedI fixed the entire file (hopefully) to conform (besides db_distinct_field()), i.e., inserting blank lines above @return in functions, etc. I double checked for trailing white space in vi, however, I am not real confident. It's highlighting lines that I didn't even touch.....maybe this is ok
Comment #5
jhodgdonNice work, thanks!
Comment #6
mr.baileysThanks for taking this one on rdrh555!
Just one minor thing that needs correcting:
One "for" too many
42 critical left. Go review some!
Edit: typo
Comment #7
rdrh555 commentedAhh, yes--thanks mr.baileys! Here's the fix:
Comment #8
mr.baileysLooks good to me. I hate to do it, but would you mind fixing the return value in update_sql too?
This should be a proper Doxygen list as per http://drupal.org/node/1354#lists
Comment #9
jhodgdonGood point mr.baileys - thanks for your careful reviews. If you're making one more patch:
Our documentation writing style standards require a comma before the and here:
http://drupal.org/node/338208#english
So it should be
node, taxonomy, and comment queries.
Comment #10
rdrh555 commentedArgh! I thought I put the comma in. Thanks for the reviews and this should do it!
Comment #11
jhodgdonI don't see any problems now. mr.baileys?
Comment #12
mr.baileysLooks good to me too, thanks rdrh555!
Comment #13
jhodgdonActually... Have these changes been made in the D7 version of database.inc? The patch went way beyond the scope of the original issue. If not, we should fix in D7 before patching D6.
Comment #14
rdrh555 commenteddb_distinct_field only patch:
Comment #15
jhodgdonTypo (queryand):
+ * Adds the DISTINCT flag to the supplied queryand returns the altered query.
Comment #16
rdrh555 commentedComment #17
jhodgdonLooks fine now, thanks!
Comment #18
gábor hojtsyThanks, committed.