summaryrefslogtreecommitdiff
path: root/includes/database
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database')
-rw-r--r--includes/database/database.inc4
-rw-r--r--includes/database/schema.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc
index a25ed7ace..215e90ba9 100644
--- a/includes/database/database.inc
+++ b/includes/database/database.inc
@@ -2316,7 +2316,7 @@ function db_affected_rows() {
* Query to be rewritten.
* @param $primary_table
* Name or alias of the table which has the primary key field for this query.
- * Typical table names would be: {block}, {comments}, {forum}, {node},
+ * Typical table names would be: {block}, {comment}, {forum}, {node},
* {menu}, {term_data} or {vocabulary}. However, in most cases the usual
* table alias (b, c, f, n, m, t or v) is used instead of the table name.
* @param $primary_field
@@ -2363,7 +2363,7 @@ function _db_rewrite_sql($query = '', $primary_table = 'n', $primary_field = 'ni
* Query to be rewritten.
* @param $primary_table
* Name or alias of the table which has the primary key field for this query.
- * Typical table names would be: {block}, {comments}, {forum}, {node},
+ * Typical table names would be: {block}, {comment}, {forum}, {node},
* {menu}, {term_data} or {vocabulary}. However, it is more common to use the
* the usual table aliases: b, c, f, n, m, t or v.
* @param $primary_field
diff --git a/includes/database/schema.inc b/includes/database/schema.inc
index 7a8e64e7d..6384993d6 100644
--- a/includes/database/schema.inc
+++ b/includes/database/schema.inc
@@ -38,7 +38,7 @@
* References to other tables should be enclosed in
* curly-brackets. For example, the node table vid field
* description might contain "Always holds the largest (most
- * recent) {node_revisions}.vid value for this nid."
+ * recent) {node_revision}.vid value for this nid."
* - 'type': The generic datatype: 'varchar', 'int', 'serial'
* 'float', 'numeric', 'text', 'blob' or 'datetime'. Most types
* just map to the according database engine specific