summaryrefslogtreecommitdiff
path: root/includes/database/database.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-30 16:43:20 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-30 16:43:20 +0000
commit92a8adea653b29a9e6ee7778e8628f57b959ca4f (patch)
tree0fd5b18555aff73bfe4bc5aa3479db3090ad4cf8 /includes/database/database.inc
parentcac5dd8a66a07887aca4c4730d56978eaf26c70b (diff)
downloadbrdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.gz
brdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.bz2
- Patch #352470 by scor: fixed typos and grammar in comments.
Diffstat (limited to 'includes/database/database.inc')
-rw-r--r--includes/database/database.inc6
1 files changed, 3 insertions, 3 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) {