diff options
Diffstat (limited to 'includes/database')
-rw-r--r-- | includes/database/database.inc | 6 | ||||
-rw-r--r-- | includes/database/select.inc | 4 |
2 files changed, 5 insertions, 5 deletions
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) { diff --git a/includes/database/select.inc b/includes/database/select.inc index 687d6f5e7..a8e763146 100644 --- a/includes/database/select.inc +++ b/includes/database/select.inc @@ -407,7 +407,7 @@ class SelectQuery extends Query implements QueryConditionInterface, QueryAlterab * Adds an expression to the list of "fields" to be SELECTed. * * An expression can be any arbitrary string that is valid SQL. That includes - * various functions, which may in some cases be database-dependant. This + * various functions, which may in some cases be database-dependent. This * method makes no effort to correct for database-specific functions. * * @param $expression @@ -559,7 +559,7 @@ class SelectQuery extends Query implements QueryConditionInterface, QueryAlterab * insert should be passed in the 4th parameter. For the first table joined * on a query, this value is ignored as the first table is taken as the base * table. - * @param $argments + * @param $arguments * An array of arguments to replace into the $condition of this join. * @return * The unique alias that was assigned for this table. |