Eloy Lafuente (stronk7)
7b74fb7071
MDL-32392 cleanup: adding @todo about unused is_min_version() method
2012-04-10 21:26:00 +02:00
Petr Skoda
d2b357b923
MDL-32368 fix pg to always use old bytea encoding
2012-04-10 15:25:20 +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
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
Eloy Lafuente (stronk7)
69857fa06e
MDL-29567 postgresql - handle negative defaults in numerical cols properly
2011-09-29 01:20:10 +02:00
Petr Skoda
d5b3deecba
MDL-27685 fix pg LIKE escape trouble
2011-08-07 13:19:02 +02: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
3c1293fe97
MDL-25910 custom socket location for postgresql driver, improved config-dist.php info
2011-01-14 12:11:49 +01:00
Eloy Lafuente (stronk7)
4cf2e5d571
MDL-25749 dml - pgsql fix for integer-exclusive concats
2010-12-22 18:50:05 +01:00
Petr Skoda
cda6d44b1b
pg 9.0 note
2010-09-21 22:27:49 +00:00
Petr Skoda
ac6f1a82f9
MDL-24321 switching to stdClass
2010-09-21 07:57:42 +00:00
Petr Skoda
b6265b7e37
fixing silyl property_exists() conversion + coding style
2010-09-17 20:32:34 +00:00
Petr Skoda
992c19a7a6
MDL-24116 removing old xmldb test suite, all tests are now in DB function tests - improved coding style
2010-09-13 18:32:02 +00:00
Petr Skoda
f3e317dceb
MDL-19057 blobs now supported in pgsql's import_record()
2010-09-13 18:31:21 +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
2f8eea3415
MDL-24079 finally the sql_ilike() is deprecated
2010-09-04 14:23:50 +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
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
1045bec09c
MDL-23568 fixed regression when using blobs
2010-07-31 21:12:02 +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
Petr Skoda
66c0ee78a5
MDL-21249 fixed wrong package grrrrrr, thanks Eloy!
2010-07-25 20:18:39 +00:00
Petr Skoda
f2ed3f05a7
MDL-21249 improved php docs and adding direct access prevention in dml
2010-07-25 12:57:24 +00:00
Eloy Lafuente
471dc4d307
NOBUG postgresql driver - better index names detection. Related to MDL-22804
2010-06-16 15:46:08 +00:00
Petr Skoda
2434f624ad
yet more comment typos
2010-05-21 18:32:44 +00:00
Eloy Lafuente
10f375aa2e
MDL-22076 temptables - warn and dropped on disposal
2010-04-21 16:12:27 +00:00
David Mudrak
a0b7200d9c
Fixing typos in DB persistant connection setting
2010-03-25 11:17:01 +00:00
Eloy Lafuente
00511e2101
MDL-21834 DDL tests - fix concurrent temp tables for postgresql
2010-03-17 01:32:59 +00:00
Petr Skoda
d5a8d9aa71
MDL-20625 new delegated transaction support in DML
2009-11-07 08:52:56 +00:00
Eloy Lafuente
e3acc8af7a
MDL-20734 normalise_value() - moving from private to protected everywhere and abstracting
2009-11-04 13:19:11 +00:00
Eloy Lafuente
8fb501e96c
MDL-20734 empties and zeros - implemented the normalise_value() function in
...
mysql and postgres to perform central normalisation of values for insert/
update/set_field. Now all DB drivers cast empty strings to 0 when working
with numeric columns (integer and decimal)
2009-11-03 23:34:43 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
stronk7
72a3902f5a
MDL-14679 fixing limitfrom, limitnum queries under pgsql, mssql and oracle
2009-10-16 14:14:03 +00:00
stronk7
489ef94fa8
Fix storing onf NULLs by set_field_xxx() into binary columns.
2009-10-15 15:17:21 +00:00
stronk7
2b4cf032fa
Fix retrieving of NULLs in PG databases and binary fields
2009-10-14 10:32:48 +00:00
skodak
eb123debc6
MDL-19474 One year and a half ago we started designing and implementing our new databse abstraction layer which included brand new moodle native drivers. Today we are finally removing old legacy drivers that were still using adodb internally. From now on the adodb will be used only in some authentication and enrolment plugins, we are probably going to drop adodb there too later in 2.x. Thanks everybody who helped test and improve our new drivers, even bigger thanks to all the great developers who created ADOdb!
2009-10-08 22:34:34 +00:00
stronk7
190ff43b8a
MDL-17020 pgsql native driver: use same solution than mssql and oci to disable driver verbosity
2009-09-23 13:42:31 +00:00
skodak
bba506164d
MDL-14679 fixing old TODOs
2009-06-13 09:09:30 +00:00
skodak
4992614541
MDL-19470 fixing DML license headers
2009-06-12 08:14:29 +00:00
skodak
a1dda107bd
MDL-19470 detection of nested transactions, only one level allowed
2009-06-12 07:55:44 +00:00