Aparup Banerjee
3b1b5018f7
MDL-28135 general Updated broken and typo docs links
2011-07-05 14:41:29 +08:00
Eloy Lafuente (stronk7)
d466e23c38
MDL-28032 database - retrofit signed info for decimal/float (improves diffs detection)
2011-06-26 12:54:16 +02:00
Tim Hunt
cfcf9bb4e3
MDL-27897 moodle_database::get_in_or_equal must not use a static variable.
...
It makes unit testing impossible. Switch to a field.
2011-06-17 11:26:51 +01:00
Eloy Lafuente (stronk7)
86f456d8f0
MDL-27325 Adding some extreme, but 32bits safe, float tests
2011-05-06 16:07:17 +02:00
Eloy Lafuente (stronk7)
0c4c6d468a
MDL-27325 Now also testing update_record and set_field
2011-05-06 16:07:17 +02:00
Eloy Lafuente (stronk7)
7aa9e45f56
MDL-27325 mysql: Avoid some implicit casting from float to varchar/text
2011-05-06 16:07:17 +02:00
Tim Hunt
6531aff715
MDL-27325 New DB unit tests to demonstrate the problem.
2011-05-06 16:07:17 +02:00
Petr Skoda
c49bec382c
MDL-27148 fix unit tests to accept arbitrary named params format from get_in_or_equal
2011-04-14 15:12:33 +02:00
Petr Skoda
906c957b63
MDL-27148 use static counter instead of incrementing parameter name
2011-04-14 14:50:35 +02:00
Eloy Lafuente (stronk7)
c7ce62f9c8
MDL-26542 get_in_or_equal - adding $onemptyitems + tests
2011-03-30 18:22:53 +02:00
Petr Skoda
94ff0f08f3
Merge branch 'MDL-26922' of git://github.com/stronk7/moodle
2011-03-21 19:02:16 +01:00
Eloy Lafuente (stronk7)
f80de2f25c
MDL-26922 dml - avoid PHP_INT_MAX overflow on limit queries
2011-03-21 18:49:08 +01:00
Eloy Lafuente (stronk7)
1f95c9a4af
Merge branch 'w12_MDL-26842_20_ociparams' of git://github.com/skodak/moodle
2011-03-21 17:55:40 +01:00
Petr Skoda
cd278cd454
MDL-26842 fix invalid parameter mix discovered by the new test
2011-03-21 17:19:36 +01:00
Eloy Lafuente (stronk7)
1997d9dc1d
Merge branch 'w12_MDL-26842_20_ociparams' of git://github.com/skodak/moodle
2011-03-21 16:38:19 +01:00
Petr Skoda
4c1638c10f
MDL-26842 fix o_ prefix regression
2011-03-21 16:32:09 +01:00
Eloy Lafuente (stronk7)
7a5852c857
Merge branch 'w12_MDL-26844_20_limittests' of git://github.com/skodak/moodle
2011-03-21 15:35:17 +01:00
Petr Skoda
4335aa296e
MDL-26844 ugly workaround for PHP int size limitation in query limits
...
It looks like the pg driver or database is internally overflowing at least on my 64bit test setup, I think we can safely return all results when from + num is over our max PHP integer.
2011-03-16 16:15:43 +01:00
Petr Skoda
3d24c50144
MDL-26844 fix use of invalid integers in dml tests
2011-03-16 16:08:55 +01:00
Petr Skoda
200b4556d7
MDL-26842 make sure query parameter names are not reserved words in oracle driver
2011-03-16 15:20:32 +01:00
Aparup Banerjee
7fedc2c25e
lib MDL-26458 adding unit tests to test cursors.
...
-added test with limits and order by with table aliases to test_get_records_sql()
-added test_recordset_locks_delete() and test_recordset_locks_update()
- added out of range limits test to test_get_records_sql()
2011-03-05 01:18:36 +08:00
Eloy Lafuente (stronk7)
3479ba4d48
MDL-26458 sqlsrv - limit impl using scrollable sets
2011-03-04 16:12:37 +08:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7)
7d87147203
Merge branch 'w07_MDL-26142_20_immediatelly' of git://github.com/skodak/moodle
2011-02-14 17:38:22 +01:00
Petr Skoda
743fff98dc
MDL-26142 fix immediately spelling in strings, comments and code
2011-02-13 11:36:46 +01:00
Petr Skoda
9e9543e54b
MDL-26307 fix dbport and dbsocket support when creating mysql database
2011-02-12 20:08:49 +01:00
Eloy Lafuente (stronk7)
d911c72bf9
MDL-26333 dml - fix test (AS not in tables/views)
2011-02-09 18:21:37 +01:00
Eloy Lafuente (stronk7)
9ac8ff207c
dml-sqlsrv MDL-26025 whitespace fix
2011-02-07 22:33:26 +01:00
Eloy Lafuente (stronk7)
9597afb572
Merge branch 'MDL-26025' of git://github.com/samhemelryk/moodle
2011-02-07 22:26:33 +01:00
Sam Hemelryk
046ff94ec8
dml-sqlsrv MDL-26025 Fixed up typo in simpletests and added a couple more tests
2011-02-07 11:23:30 +08:00
Sam Hemelryk
fe1dd7ebde
dml-sqlsrv MDL-26025 Removed use of property to track rownumber field in favor of always unsetting it
2011-02-07 10:46:50 +08:00
Sam Hemelryk
7e1bd89d32
sqlsrv MDL-26025 Fixed up numerous issues with the limit_to_top_n function
2011-02-07 10:33:49 +08:00
Petr Skoda
8c4b142cb2
MDL-26290 add experimental windows mysqli named pipe support
2011-02-06 22:11:28 +01:00
Petr Skoda
77f9f23b0f
MDL-26290 make sure ini_get('mysqli.default_port') returns number
2011-02-06 21:21:23 +01:00
Eloy Lafuente (stronk7)
5a4a7b425b
MDL-25708 recordsets - fix upgradelib and dml stuff
2011-01-25 19:59:00 +01:00
Petr Skoda
3c1293fe97
MDL-25910 custom socket location for postgresql driver, improved config-dist.php info
2011-01-14 12:11:49 +01:00
Petr Skoda
79ac5a8cf2
MDL-25910 add support for custom mysql socket location
2011-01-14 10:20:04 +01:00
Petr Skoda
8729e5999f
Merge branch 'MDL-25321-R1' of git://github.com/samhemelryk/moodle
2010-12-27 12:46:01 +01:00
Sam Hemelryk
875851a195
dml-sqlserver MDL-25321 Changed bigint-1 to a variable and used that instead of the int
2010-12-23 11:01:12 +08:00
Sam Hemelryk
35d19ea685
dml-sqlserver MDL-25321 Fixed limit_to_top_n function that was breaking badly.
2010-12-23 10:02:08 +08:00
Eloy Lafuente (stronk7)
4cf2e5d571
MDL-25749 dml - pgsql fix for integer-exclusive concats
2010-12-22 18:50:05 +01:00
Eloy Lafuente (stronk7)
e8615eaf0e
MDL-25749 dml - added integer-exclusive concat tests
2010-12-22 18:48:45 +01:00
Aparup Banerjee
000c881e98
lib MDL-25595 added dbport option handling to mssql connect()
2010-12-09 07:01:03 +00:00
Aparup Banerjee
bac1401534
lib MDL-25532 added dbport handling for during db creation
2010-12-09 06:18:20 +00:00
Aparup Banerjee
feaddca9e9
lib MDL-25532 added dbport option to mysqli driver
2010-12-07 07:30:35 +00:00
Eloy Lafuente
6bfe81293f
MDL-25268 dml - change whitespace capture in limitfrom/limitnum regexp. Fixes some border cases
2010-11-20 00:49:01 +00:00
Eloy Lafuente
39cf0e8e74
MDL-24863 unit tests - tidy up a bit some tests
2010-11-18 14:02:02 +00:00
Petr Skoda
9ecf4f44e4
fixing regression in the last commit
2010-11-18 06:26:27 +00:00
Aparup Banerjee
011bfd2a54
database MDL-24863
...
- added restricting text conditions to where_clause , it throws a dml_exception when detected.
- also added to where_clause throwing dml_exception for field that doesn't exist in table.
- added unit tests for text condition restricting.
- added 2 unit tests for set_field_select() testing 'auto-casting params to int problem' fix
2010-11-18 06:00:51 +00:00
Eloy Lafuente
9882b2c824
MDL-25276 dml - fix/implement sql_cast2int/real() across the 5 drivers. Tests passing.
2010-11-18 01:27:49 +00:00