summaryrefslogtreecommitdiff
path: root/includes/database/mysql
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-20 18:24:41 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-20 18:24:41 +0000
commit0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e (patch)
tree17978ad881e137708ceed1f29b170360df014155 /includes/database/mysql
parentee700371aca60269b9c752d1e143cae64d18a745 (diff)
downloadbrdo-0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e.tar.gz
brdo-0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e.tar.bz2
- Patch #349504 by keith.smith: clean up sentence spacing in code comments.
Diffstat (limited to 'includes/database/mysql')
-rw-r--r--includes/database/mysql/query.inc4
-rw-r--r--includes/database/mysql/schema.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/database/mysql/query.inc b/includes/database/mysql/query.inc
index f468e486c..d48681316 100644
--- a/includes/database/mysql/query.inc
+++ b/includes/database/mysql/query.inc
@@ -66,7 +66,7 @@ class InsertQuery_mysql extends InsertQuery {
}
}
else {
- // If there are no values, then this is a default-only query. We still need to handle that.
+ // If there are no values, then this is a default-only query. We still need to handle that.
$placeholders = array_fill(0, count($this->defaultFields), 'default');
$values[] = '(' . implode(', ', $placeholders) .')';
}
@@ -95,7 +95,7 @@ class MergeQuery_mysql extends MergeQuery {
$max_placeholder = 0;
$values = array();
- // We assume that the order here is the same as in __toString(). If that's
+ // We assume that the order here is the same as in __toString(). If that's
// not the case, then we have serious problems.
foreach ($insert_fields as $value) {
$values[':db_insert_placeholder_' . $max_placeholder++] = $value;
diff --git a/includes/database/mysql/schema.inc b/includes/database/mysql/schema.inc
index bbc9a9ca0..3e19f05d0 100644
--- a/includes/database/mysql/schema.inc
+++ b/includes/database/mysql/schema.inc
@@ -136,7 +136,7 @@ class DatabaseSchema_mysql extends DatabaseSchema {
}
public function getFieldTypeMap() {
- // Put :normal last so it gets preserved by array_flip. This makes
+ // Put :normal last so it gets preserved by array_flip. This makes
// it much easier for modules (such as schema.module) to map
// database types back into schema types.
static $map = array(