From 92a8adea653b29a9e6ee7778e8628f57b959ca4f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 30 Dec 2008 16:43:20 +0000 Subject: - Patch #352470 by scor: fixed typos and grammar in comments. --- includes/database/database.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/database/database.inc') diff --git a/includes/database/database.inc b/includes/database/database.inc index 043515548..bd88c220e 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -288,7 +288,7 @@ abstract class DatabaseConnection extends PDO { * * throw_exception - By default, the database system will catch any errors * on a query as an Exception, log it, and then rethrow it so that code - * further up the call chain can take an appropriate action. To supress + * further up the call chain can take an appropriate action. To suppress * that behavior and simply return NULL on failure, set this option to FALSE. * * @return @@ -1950,7 +1950,7 @@ function db_type_placeholder($type) { return '\'%s\''; case 'numeric': - // Numeric values are arbitrary precision numbers. Syntacically, numerics + // Numeric values are arbitrary precision numbers. Syntactically, numerics // should be specified directly in SQL. However, without single quotes // the %s placeholder does not protect against non-numeric characters such // as spaces which would expose us to SQL injection. @@ -2304,7 +2304,7 @@ function _db_query_process_args($query, $args, $options) { $options['target'] = 'default'; } - // Temporary backward-compatibliity hacks. Remove later. + // Temporary backward-compatibility hacks. Remove later. $old_query = $query; $query = str_replace(array('%n', '%d', '%f', '%b', "'%s'", '%s'), '?', $old_query); if ($old_query !== $query) { -- cgit v1.2.3