diff options
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)); |