From 0c63d9e24fcaef1f3cb09823d5765e7fb48bc89e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 20 Dec 2008 18:24:41 +0000 Subject: - Patch #349504 by keith.smith: clean up sentence spacing in code comments. --- includes/database/pgsql/database.inc | 2 +- includes/database/pgsql/query.inc | 2 +- includes/database/pgsql/schema.inc | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'includes/database/pgsql') diff --git a/includes/database/pgsql/database.inc b/includes/database/pgsql/database.inc index 3513b293b..822686ba1 100644 --- a/includes/database/pgsql/database.inc +++ b/includes/database/pgsql/database.inc @@ -91,7 +91,7 @@ class DatabaseConnection_pgsql extends DatabaseConnection { public function mapConditionOperator($operator) { static $specials = array( - // In PostgreSQL, 'LIKE' is case-sensitive. For case-insensitive LIKE + // In PostgreSQL, 'LIKE' is case-sensitive. For case-insensitive LIKE // statements, we need to use ILIKE instead. 'LIKE' => array('operator' => 'ILIKE'), ); diff --git a/includes/database/pgsql/query.inc b/includes/database/pgsql/query.inc index 02cddda1e..726e59011 100644 --- a/includes/database/pgsql/query.inc +++ b/includes/database/pgsql/query.inc @@ -96,7 +96,7 @@ class InsertQuery_pgsql 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) .')'; } diff --git a/includes/database/pgsql/schema.inc b/includes/database/pgsql/schema.inc index c5aea743b..afad997a4 100644 --- a/includes/database/pgsql/schema.inc +++ b/includes/database/pgsql/schema.inc @@ -137,7 +137,7 @@ class DatabaseSchema_pgsql extends DatabaseSchema { * to the engine-specific data type. */ 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. $map = array( @@ -235,7 +235,7 @@ class DatabaseSchema_pgsql extends DatabaseSchema { * @param $keys_new * Optional keys and indexes specification to be created on the * table along with adding the field. The format is the same as a - * table specification but without the 'fields' element. If you are + * table specification but without the 'fields' element. If you are * adding a type 'serial' field, you MUST specify at least one key * or index including it in this array. @see db_change_field for more * explanation why. @@ -424,7 +424,7 @@ class DatabaseSchema_pgsql extends DatabaseSchema { * ); * @endcode * and you want to change foo.bar to be type serial, leaving it as the - * primary key. The correct sequence is: + * primary key. The correct sequence is: * @code * db_drop_primary_key($ret, 'foo'); * db_change_field($ret, 'foo', 'bar', 'bar', @@ -439,10 +439,10 @@ class DatabaseSchema_pgsql extends DatabaseSchema { * sequences (from serial-type fields) that use the changed field to be dropped. * * On MySQL, all type 'serial' fields must be part of at least one key - * or index as soon as they are created. You cannot use + * or index as soon as they are created. You cannot use * db_add_{primary_key,unique_key,index}() for this purpose because * the ALTER TABLE command will fail to add the column without a key - * or index specification. The solution is to use the optional + * or index specification. The solution is to use the optional * $new_keys argument to create the key or index at the same time as * field. * -- cgit v1.2.3