Index: includes/database/database.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database/database.inc,v retrieving revision 1.124 diff -u -p -r1.124 database.inc --- includes/database/database.inc 26 May 2010 07:52:12 -0000 1.124 +++ includes/database/database.inc 20 Jun 2010 10:09:37 -0000 @@ -40,7 +40,7 @@ * one would instead call the Drupal functions: * @code * $result = db_query_range('SELECT n.nid, n.title, n.created - * FROM {node} n WHERE n.uid = :uid', array(':uid' => $uid), 0, 10); + * FROM {node} n WHERE n.uid = :uid', 0, 10, array(':uid' => $uid)); * foreach($result as $record) { * // Perform operations on $node->title, etc. here. * }