Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Marina Glancy
44aac31980
MDL-73424 general: specify return type where possible
2022-10-10 16:46:26 +02:00
Marina Glancy
41b93bd7e5
MDL-73424 general: Internal methods must have same type as parent
...
Otherwise the error is thrown in PHP8.1
2022-10-10 16:46:13 +02:00
Brendan Heywood
66a923fe77
MDL-68164 dml: Cache postgres field type metadata in MUC
2021-09-07 19:29:31 +10:00
sam marshall
ed00d67c99
MDL-60174 core_dml: get_recordset on Postgres eats all the RAM
...
On Postgres, get_recordset_sql loads all the results into memory
(within the Postgres library, which doesn't count towards the PHP
memory limit, but does count towards making your server run out of
memory) as soon as the query completes.
This commit changes the code to use cursors, which in Postgres
allow the results to be returned in smaller chunks (by default
100,000 rows).
2017-11-27 11:10:29 +00:00
Russell Smith
1b0b082a08
MDL-54947 database: Update PostgreSQL binary handling.
...
PostgreSQL 9.1 allows hex formating for binary which is handled better
by pg_query_params().
Getting bytea isn't required on connection, it can be used as pg_field_type()
when binary needs to be checked.
2016-06-30 12:58:53 +10:00
Petr Škoda
9e6bfb5221
MDL-37718 release low level recordsets as soon as possible
2013-01-26 17:20:43 +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
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
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
stronk7
2b4cf032fa
Fix retrieving of NULLs in PG databases and binary fields
2009-10-14 10:32:48 +00:00
skodak
4bddb84049
MDL-19470 adding missing inline docs
2009-06-12 08:15:53 +00:00
skodak
4992614541
MDL-19470 fixing DML license headers
2009-06-12 08:14:29 +00:00
skodak
d669160891
MDL-15070 dml: recordset rewinding now forbidden - not all databases support it, sorry
2008-10-28 12:14:09 +00:00
skodak
db7aea3818
MDL-17020 dml: native pgsql driver - support for bytea reading
2008-10-27 15:31:11 +00:00
skodak
158622bd64
MDL-17020 dml: native pgsql driver - still buggy, works only partially
2008-10-26 22:36:13 +00:00