moodle/lib/dml
Eloy Lafuente (stronk7) 87f196af93 MDL-65204 phpunit: more isEqual() strict string fixes
This is a followup of 85f47ba, where we were relaxing
the (new since phpunit 7.x) strict (===) isEqual()
comparison for strings. Copying the explanations for
easier understanding.

Link: https://github.com/sebastianbergmann/phpunit/issues/3185
Solution here is one of:
  a) Return to the previous situation, making the comparison
     softer. That can achieved by forcing different types, so
     float == string works.
  b) Changing APIs (both forms and database return strings) to
     perform some conversion to floats. That would make float
     comparison (with floats or strings) to work too.
The patch here follows the a) approach. Changing all the internals
for proper float handling sounds excesive when it has been working
perfectly since ever. So we went the easier route, just getting
rid of the new === comparisons when needed by changing expectation
types to float.
2019-04-03 22:08:16 +02:00
..
tests MDL-65204 phpunit: more isEqual() strict string fixes 2019-04-03 22:08:16 +02:00
database_column_info.php MDL-53213 caching: Faster databasemeta caching for all databases. 2016-02-28 17:03:14 +11:00
mariadb_native_moodle_database.php Merge branch 'm35_MDL-59596_DDL_Issues_With_MariaDB_10p2_SQLMode' of https://github.com/scara/moodle 2018-05-28 08:15:09 +02:00
moodle_database.php MDL-65168 dml: Move preload SQL functions to self-contained class 2019-03-25 23:05:22 +01:00
moodle_recordset.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
moodle_temptables.php MDL-53213 caching: Faster databasemeta caching for all databases. 2016-02-28 17:03:14 +11:00
moodle_transaction.php MDL-52284 core: PHP7 engine errors have type Throwable 2015-12-10 10:49:37 +08:00
mysqli_native_moodle_database.php MDL-61702 dml: MariaDB 10.3 supports only the Barracuda file format. 2018-05-31 22:55:00 +02:00
mysqli_native_moodle_recordset.php MDL-37718 release low level recordsets as soon as possible 2013-01-26 17:20:43 +01:00
mysqli_native_moodle_temptables.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
oci_native_moodle_database.php MDL-57192 dml: Temporarily disable query logging during setup 2017-01-03 17:24:21 +05:30
oci_native_moodle_package.sql MDL-60041 dml: MOODLELIB sql file must have Unix line endings 2017-12-11 08:40:58 +00:00
oci_native_moodle_recordset.php MDL-37718 release low level recordsets as soon as possible 2013-01-26 17:20:43 +01:00
oci_native_moodle_temptables.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
pdo_moodle_database.php MDL-51374 core_dml: change database layer to pass table name as parameter 2016-03-15 14:43:45 +08:00
pdo_moodle_recordset.php MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer 2012-06-17 22:56:28 +02:00
pgsql_native_moodle_database.php MDL-53226 search_simpledb: Refine the patch 2018-03-20 18:49:38 +01:00
pgsql_native_moodle_recordset.php MDL-60174 core_dml: get_recordset on Postgres eats all the RAM 2017-11-27 11:10:29 +00:00
pgsql_native_moodle_temptables.php MDL-39725 database: Add statistics collection functions 2013-12-10 20:31:47 +11:00
sqlite3_pdo_moodle_database.php MDL-51374 core_dml: change database layer to pass table name as parameter 2016-03-15 14:43:45 +08:00
sqlsrv_native_moodle_database.php MDL-53226 search_simpledb: Refine the patch 2018-03-20 18:49:38 +01:00
sqlsrv_native_moodle_recordset.php MDL-39027 make sure sqlsrv does not return non-string data types 2013-04-08 23:29:52 +02:00
sqlsrv_native_moodle_temptables.php MDL-59581 database: remove mssql specific code from lib/dml 2018-04-09 01:58:26 +02:00