comment typos again
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* MSSQL specific recorset.
|
||||
* MSSQL specific recordset.
|
||||
*
|
||||
* @package moodlecore
|
||||
* @subpackage DML
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
/**
|
||||
* MSSQL specific temptables store. Needed because temporary tables
|
||||
* are named diferently than normal tables. Also used to be able to retrieve
|
||||
* temp table names included in the get_tables() method od the DB.
|
||||
* are named differently than normal tables. Also used to be able to retrieve
|
||||
* temp table names included in the get_tables() method of the DB.
|
||||
*
|
||||
* @package moodlecore
|
||||
* @subpackage DML
|
||||
|
||||
@@ -179,7 +179,7 @@ class mysqli_native_moodle_database extends moodle_database {
|
||||
// If available, enforce strict mode for the session. That guaranties
|
||||
// standard behaviour under some situations, avoiding some MySQL nasty
|
||||
// habits like truncating data or performing some transparent cast losses.
|
||||
// With strict mode enforced, Moodle DB layer will be consistenly throwing
|
||||
// With strict mode enforced, Moodle DB layer will be consistently throwing
|
||||
// the corresponding exceptions as expected.
|
||||
$si = $this->get_server_info();
|
||||
if (version_compare($si['version'], '5.0.2', '>=')) {
|
||||
@@ -201,7 +201,7 @@ class mysqli_native_moodle_database extends moodle_database {
|
||||
* Do NOT use connect() again, create a new instance if needed.
|
||||
*/
|
||||
public function dispose() {
|
||||
parent::dispose(); // Call parent dispose to write/close session and other common stuff before clossing conn
|
||||
parent::dispose(); // Call parent dispose to write/close session and other common stuff before closing connection
|
||||
if ($this->mysqli) {
|
||||
$this->mysqli->close();
|
||||
$this->mysqli = null;
|
||||
@@ -289,7 +289,7 @@ class mysqli_native_moodle_database extends moodle_database {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns datailed information about columns in table. This information is cached internally.
|
||||
* Returns detailed information about columns in table. This information is cached internally.
|
||||
* @param string $table name
|
||||
* @param bool $usecache
|
||||
* @return array array of database_column_info objects indexed with column names
|
||||
@@ -957,7 +957,7 @@ class mysqli_native_moodle_database extends moodle_database {
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this driver suppoer regex syntax when searching
|
||||
* Does this driver support regex syntax when searching
|
||||
*/
|
||||
public function sql_regex_supported() {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user