Index: /modules/drush/trunk/includes/drush.inc
===================================================================
--- /modules/drush/trunk/includes/drush.inc	(revision 6350)
+++ /modules/drush/trunk/includes/drush.inc	(revision 6352)
@@ -390,5 +390,5 @@
 
 /**
- * A db_result() that works for any version of Drupal.
+ * A db_result() that works consistently for any version of Drupal.
  *
  * @param
@@ -396,5 +396,19 @@
  */
 function drush_db_result($result) {
-  return drush_drupal_major_version() >= 7 ? $result->fetchField() : db_result($result);
+  $drupal_ver = drush_drupal_major_version();
+  if($drupal_ver >= 7)
+    return $result->fetchField();
+  elseif($drupal_ver == 6)
+    return db_result($result);
+  else {
+    // In versions of Drupal <= 5, db_result only returns the first row no matter how
+    //  many times you call it. So instead of calling it here, we use db_fetch_array which
+    //  does increment the pointer to the next row (as db_result does on Drupal 6)
+    $array = db_fetch_array($result);
+    if($array)
+      return array_shift($array); // return first element in array
+    else
+      return FALSE;
+  }
 }
 
