Commit graph

605 commits

Author SHA1 Message Date
Petr Skoda
e0962d2074 MDL-19057 test_get_tables() improved 2010-09-06 13:42:01 +00:00
Petr Skoda
8ba0e4a066 MDL-19057 test_fix_sql_params() improvements 2010-09-06 13:34:05 +00:00
Petr Skoda
40d3df5cf6 MDL-19057 improved coding style 2010-09-06 13:17:05 +00:00
Petr Skoda
7395209ab9 MDL-19057 added type checking int otest_get_in_or_equal() 2010-09-06 13:12:25 +00:00
Petr Skoda
a1782c361c MDL-19057 moving test to match order in moodle_database 2010-09-06 13:06:35 +00:00
Petr Skoda
73040360d6 MDL-19057 new test_get_server_info() 2010-09-06 13:01:00 +00:00
Petr Skoda
324715c802 MDL-19057 new diagnose() method test 2010-09-06 12:55:58 +00:00
Petr Skoda
89e87570b6 MDL-19057 fixed docs 2010-09-06 12:50:17 +00:00
Petr Skoda
f358b06a1e MDL-19057 fixed get instance docs 2010-09-06 12:47:57 +00:00
Petr Skoda
f12768798b MDL-16853 improver set_field() unittests, hopefully this would detect any potential Oracle problems mentioned in tracker 2010-09-05 16:18:21 +00:00
Petr Skoda
2b3ccae5f9 MDL-14679 more get_field() unittests 2010-09-05 15:48:19 +00:00
Petr Skoda
d7f42e77e6 MDL-14679 improved get_filed tests 2010-09-05 15:36:06 +00:00
Petr Skoda
16114b9db8 MDL-24080 new $notlike parameter added to our new sql_like(), hopefully nobody started using the $escaped param yet; unittests included 2010-09-04 14:39:01 +00:00
Petr Skoda
2f8eea3415 MDL-24079 finally the sql_ilike() is deprecated 2010-09-04 14:23:50 +00:00
Petr Skoda
0e6e90516a MDL-24028 cast all bools in DML params to integers 1/0; credit goes to Eloy Lafuente 2010-09-03 15:44:11 +00:00
Petr Skoda
7d8f881a49 MDL-23997 using strings instead of integers in binding emulation - this should be compatible both with int and nvarchar sql types 2010-09-02 10:24:40 +00:00
Petr Skoda
bb980cce0b MDL-23997 even more unittests detecting failures in sqlsrv driver 2010-09-01 16:05:17 +00:00
Petr Skoda
057865c017 MDL-23997 more unittests detecting failures in sqlsrv driver 2010-09-01 15:54:16 +00:00
Eloy Lafuente
e016d12603 NOBUG mssql driver, fix some wrong uses recently introduced 2010-08-30 13:45:26 +00:00
Eloy Lafuente
41276c9ed8 MDL-23997 add some unconvertible contents to the tests, just to be sure 2010-08-30 12:24:42 +00:00
Eloy Lafuente
7a45a5f1ec MDL-23997 modified char comparison tests to ensure they are executed without metadata at all 2010-08-30 12:05:35 +00:00
Eloy Lafuente
c899cbeae9 MDL-23997 re-added text comparison tests for bound query now using sql_compare_text() properly. 2010-08-30 11:46:34 +00:00
Petr Skoda
2a72392d59 MDL-23997 new tests for bound query compatibility - reverting text comparison, we need param type hints for that 2010-08-30 10:51:50 +00:00
Eloy Lafuente
78b3faa98c NOBUG mssql - nasty regression causing silent script abort without notice at all, grrr. 2010-08-30 10:45:54 +00:00
Petr Skoda
9ac5fdf82b MDL-23997 new tests for bound query compatibility 2010-08-30 08:28:18 +00:00
Petr Skoda
d533e6d7e3 MDL-23925 hopefully finalised unit tests for case and accent insensitive problems 2010-08-25 20:26:23 +00:00
Petr Skoda
915ee3f9df MDL-23925 completely reverting binary comparison hack, we have to instruct admins to setup case+accent sensitive collation as default instead 2010-08-25 11:18:37 +00:00
Petr Skoda
5a9c25e8fc MDL-23925 more unit tests that should help with diagnostics of collation issues; fixed utf-8 issues with first char of my nick 2010-08-25 10:14:47 +00:00
Petr Skoda
9a1e8c5e52 MDL-23925 reverting changes, we need to fix uniqueness and collation issues first 2010-08-25 09:35:18 +00:00
Petr Skoda
6055f89d30 MDL-23925, MDL-23888 new sql_ilike() and sql_binary_equal() - this should finally allow us to solve many collation issues consistently for all supported databases; please note this changes some behaviour for non-english languages when mysql used; expect more commits that actually make use of these new features 2010-08-24 21:50:53 +00:00
Petr Skoda
a4411e56aa MDL-15093 fixed recent LIKE escape regression 2010-08-23 08:06:02 +00:00
Petr Skoda
38ead57d34 MDL-14679 more phpdocs improvements - fixed param types 2010-08-22 19:32:37 +00:00
Petr Skoda
3d54726fd4 MDL-14679 more phpdocs improvements 2010-08-22 19:26:48 +00:00
Petr Skoda
b483311752 MDL-15093 get_tables might be fetching too many tables because "_" was not quoted, it was not a big problem because tables are validated once more later 2010-08-22 19:20:23 +00:00
Petr Skoda
30e7e9e4bc MDL-15093 improved coding style 2010-08-22 19:17:06 +00:00
Petr Skoda
9331d879eb MDL-14679 more return types added 2010-08-22 19:06:06 +00:00
Petr Skoda
f688db7d57 fixed comment typo 2010-08-22 19:01:09 +00:00
Petr Skoda
3503dcad31 MDL-14679 fixing more incorrect return types 2010-08-22 19:00:28 +00:00
Petr Skoda
5212b07f20 MDL-14679 fixing incorrect return type of recordset methods 2010-08-22 18:55:29 +00:00
Petr Skoda
4a6c2ab88e MDL-14679 fixing obsolete driver names in comments 2010-08-22 18:51:45 +00:00
Petr Skoda
bca5016190 MDL-15093 removing obsolete TODO comment 2010-08-22 18:48:24 +00:00
Petr Skoda
2740cea059 MDL-15093 fixed comment indentation 2010-08-22 18:46:23 +00:00
Petr Skoda
1db51b5ad4 MDL-15093 removing invalid PHPDOC comment 2010-08-22 11:36:10 +00:00
Petr Skoda
5585eab302 MDL-15093 fixed notice when dboptions not supplied 2010-08-22 11:34:56 +00:00
Petr Skoda
ed22700db5 MDL-23682 improved overriding of MyISAM default engine with something that supports ACID 2010-08-19 07:09:14 +00:00
Petr Skoda
d35ece6cce MDL-23682 new MySQL engine diagnostics + InnoDB is now used instead of MyISAM in new installs if available + improved mysql transaction support 2010-08-18 16:47:00 +00:00
Petr Skoda
e9fec42f01 MDL-23568 new unit test that verifies the id is not modified in isnert_record() methods 2010-07-31 21:13:46 +00:00
Petr Skoda
1045bec09c MDL-23568 fixed regression when using blobs 2010-07-31 21:12:02 +00:00
Petr Skoda
2d1e17c899 MDL-23568 fixed regression 2010-07-31 21:11:26 +00:00
Petr Skoda
d8fa8e406e MDL-23568 parameters of DML function insert_record are not modified any more < improved coding style, now using cast to array consistently 2010-07-31 20:51:22 +00:00