From d967abdf1dab8b23fba39ce2aa35fe09cd5578f5 Mon Sep 17 00:00:00 2001 From: webchick Date: Sun, 2 Oct 2011 11:09:00 -0700 Subject: Issue #1054848 by barraponto: Fixing common typos through codespell.py. --- includes/database/database.inc | 2 +- includes/database/query.inc | 2 +- includes/database/sqlite/database.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/database') diff --git a/includes/database/database.inc b/includes/database/database.inc index 610861429..c77bcffbf 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -152,7 +152,7 @@ * } * * // $txn goes out of scope here. Unless the transaction was rolled back, it - * // gets automatically commited here. + * // gets automatically committed here. * } * * function my_other_function($id) { diff --git a/includes/database/query.inc b/includes/database/query.inc index c7363f238..c77968767 100644 --- a/includes/database/query.inc +++ b/includes/database/query.inc @@ -839,7 +839,7 @@ class DeleteQuery extends Query implements QueryConditionInterface { * Executes the DELETE query. * * @return - * The return value is dependant on the database connection. + * The return value is dependent on the database connection. */ public function execute() { $values = array(); diff --git a/includes/database/sqlite/database.inc b/includes/database/sqlite/database.inc index 0fc0b5528..3e2490b00 100644 --- a/includes/database/sqlite/database.inc +++ b/includes/database/sqlite/database.inc @@ -119,7 +119,7 @@ class DatabaseConnection_sqlite extends DatabaseConnection { try { $count = $this->query('SELECT COUNT(*) FROM ' . $prefix . '.sqlite_master WHERE type = :type AND name NOT LIKE :pattern', array(':type' => 'table', ':pattern' => 'sqlite_%'))->fetchField(); - // We can prune the database file if it doens't have any tables. + // We can prune the database file if it doesn't have any tables. if ($count == 0) { // Detach the database. $this->query('DETACH DATABASE :schema', array(':schema' => $prefix)); -- cgit v1.2.3