diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-02 11:09:00 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-02 11:09:00 -0700 |
commit | d967abdf1dab8b23fba39ce2aa35fe09cd5578f5 (patch) | |
tree | b4c4c404d4683b934b4687ed696b883dd2ec905a /includes/database | |
parent | 9c42142614fdb292e231766dc778b959d74649c9 (diff) | |
download | brdo-d967abdf1dab8b23fba39ce2aa35fe09cd5578f5.tar.gz brdo-d967abdf1dab8b23fba39ce2aa35fe09cd5578f5.tar.bz2 |
Issue #1054848 by barraponto: Fixing common typos through codespell.py.
Diffstat (limited to 'includes/database')
-rw-r--r-- | includes/database/database.inc | 2 | ||||
-rw-r--r-- | includes/database/query.inc | 2 | ||||
-rw-r--r-- | includes/database/sqlite/database.inc | 2 |
3 files changed, 3 insertions, 3 deletions
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)); |