Petr Škoda
|
0363b7826b
|
MDL-37734 use prefetching workaround for MARS transaction problems
|
2013-01-29 10:10:09 +01:00 |
|
Petr Škoda
|
46a86dbbc2
|
MDL-36211 do not lock sessions for guests and not-logged-in users
|
2012-11-17 10:42:47 +01:00 |
|
Petr Skoda
|
00902cd974
|
MDL-32003 fix phpdocs and use __DIR__ for includes in dml layer
DML layer is not supposed to use $CFG,
it is better to rely on __DIR__ in self-contained libs…
|
2012-06-17 22:56:28 +02:00 |
|
Petr Skoda
|
0739e690ee
|
MDL-32967 add diagnostic strings for missing Microsoft drivers for SQL Server
|
2012-05-13 12:21:04 +02:00 |
|
Petr Skoda
|
54c5b1ad35
|
MDL32392 delete unused is_min_version() in some DB drivers
|
2012-04-15 19:40:07 +02:00 |
|
Petr Skoda
|
8eaa21e195
|
MDL-32323 fix issues breaking phpunit tests for sqlsrv driver
|
2012-04-11 22:14:18 +02:00 |
|
Eloy Lafuente (stronk7)
|
7b74fb7071
|
MDL-32392 cleanup: adding @todo about unused is_min_version() method
|
2012-04-10 21:26:00 +02:00 |
|
Eloy Lafuente (stronk7)
|
7f3f024d48
|
MDL-32365 mssql and sqlsrv: introspect metainfo to look for identities
|
2012-04-10 20:24:05 +02:00 |
|
Petr Skoda
|
62cd8cd9f5
|
MDL-32029 fix get_tables() when prefix empty in external database
|
2012-03-24 11:36:01 +01:00 |
|
Dan Poltawski
|
d68c62fe12
|
Merge branch 'w12_MDL-29515_m23_deprdb' of git://github.com/skodak/moodle
|
2012-03-21 09:25:47 +08:00 |
|
Petr Skoda
|
de640a2d3f
|
MDL-29515 remove deprecated $DB->sql_ilike() and fix debug messages
|
2012-03-17 19:20:39 +01:00 |
|
Petr Skoda
|
e618cdf3f6
|
MDL-29894 forbid objects in DML parameters
Objects with __toString we never fully supported as parameters in DML layer, this finally brings consistent behaviour.
|
2012-03-17 18:44:12 +01:00 |
|
Petr Skoda
|
a681b6c0a9
|
MDL-31689 fix moodle_database:execute() description
|
2012-03-07 12:36:40 +01:00 |
|
Aparup Banerjee
|
dafa20e85c
|
MDL-30972 Documentation : improved @see as well as added appropriate uses of inline @link.
|
2012-02-16 10:29:45 +08:00 |
|
Aparup Banerjee
|
a0eb2e97f9
|
MDL-30972 Documentation : Renamed DB engine drivers to "@package core" but moodle_*.php are "@subpackage dml_driver", all other dml/*.php are "@subpackage dml".
|
2012-02-09 10:01:42 +08:00 |
|
Aparup Banerjee
|
6df260107c
|
MDL-30972 Documentation : clarified phpdocs for main public APIs in DML layer and touched up on some drivers
|
2012-02-09 10:01:42 +08:00 |
|
Eloy Lafuente (stronk7)
|
f8cd596aae
|
MDL-30026 dml - fix sqlsrv support for session locks
|
2011-11-18 13:02:24 +01:00 |
|
Petr Skoda
|
2b0e3941e9
|
MDL-30026 improve session lock acquire timeouts and other minor cleanup
This is partially based on original patch by Tony Levi.
|
2011-11-06 17:52:15 +01:00 |
|
Petr Skoda
|
148c65bfc8
|
MDL-29295 do not use strtok in dml and ddl layers
This prevents clobbering of internal pointer when code calling DML
uses strtok too. Unit test added to prevent future uses.
|
2011-09-14 00:19:55 +02:00 |
|
Aparup Banerjee
|
3b1b5018f7
|
MDL-28135 general Updated broken and typo docs links
|
2011-07-05 14:41:29 +08: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 |
|
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)
|
3479ba4d48
|
MDL-26458 sqlsrv - limit impl using scrollable sets
|
2011-03-04 16:12:37 +08:00 |
|
Petr Skoda
|
743fff98dc
|
MDL-26142 fix immediately spelling in strings, comments and code
|
2011-02-13 11:36:46 +01: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 |
|
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
|
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
|
9882b2c824
|
MDL-25276 dml - fix/implement sql_cast2int/real() across the 5 drivers. Tests passing.
|
2010-11-18 01:27:49 +00:00 |
|
Eloy Lafuente
|
3a55ee2f5e
|
MDL-25268 dml - improved limitnum/limitfrom regexp in ms drivers + tests
|
2010-11-17 10:39:56 +00:00 |
|
Petr Skoda
|
ac6f1a82f9
|
MDL-24321 switching to stdClass
|
2010-09-21 07:57:42 +00:00 |
|
Petr Skoda
|
40504474ae
|
fixed duplicate id detection in get_records_sql()
|
2010-09-17 20:25:02 +00:00 |
|
Petr Skoda
|
fd31089c76
|
MDL-24192 fixed null default value in text fields in sqlsrv driver too
|
2010-09-14 15:40:43 +00:00 |
|
Petr Skoda
|
b809f81392
|
MDL-24192 standardised server info
|
2010-09-14 15:35:12 +00:00 |
|
Petr Skoda
|
5c8efdc4b1
|
MDL-24192 fixed incorrect raw inserts in sqlsrv driver too
|
2010-09-14 15:32:22 +00:00 |
|
Petr Skoda
|
30899510c1
|
MDL-19057 fixed bitwise ops - all credit goes to Eloy Lafuente
|
2010-09-13 08:47:22 +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
|
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
|
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
|
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
|
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
|
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 |
|