Commit Graph

20 Commits

Author SHA1 Message Date
poltawski e9c734ba5c dml/sqllite MDL-19643 Throw exceptions to make things more robust
Various functions were catching the pdo error and returning
false, but this isn't enough. I have modified the functions to
throw a dml exception like other drivers do.
2009-06-27 21:22:50 +00:00
poltawski fa648098b2 dml/sqllite MDL-19642 - Make connections more robust
- Include 'pdo' as an extension to be checked for
- Bail out of a connect and throw an exception if the required
  extensions aren't loaded
- Don't ignore pdo exceptions on connect error - throw our
  own exception
2009-06-27 21:22:27 +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
skodak 3b09331066 MDL-17458 rewritten installer 2009-02-07 10:20:33 +00:00
skodak 117679db37 MDL-17859 implemented caching in get_tables() 2009-01-12 18:10:50 +00:00
dongsheng 60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +00:00
skodak 22d77567a9 MDL-17317 DML: Exceptions used by all drivers now :-) expect some more commits/cleanup soon 2008-11-21 20:09:13 +00:00
skodak 655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
skodak beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
skodak a47c84c4bb MDL-15635 sqlite fixes - by Andrei Bautu 2008-08-30 18:46:18 +00:00
skodak 94898738ff MDL-15671, MDL-15717 DB->import_record() support - code based on patch by Andrei Bautu; added new param to raw insert; unit tests included 2008-08-25 21:00:47 +00:00
skodak 8e378ec045 MDL-15071 improved error logging - credit goes to Andrei Bautu 2008-07-13 20:28:08 +00:00
skodak 16a5642c69 MDL-14679 var_export now used instead of addsingleslashes in installer; refactored the database setting initialisation 2008-06-22 22:53:40 +00:00
skodak 98e1919368 MDL-15071 fixed typo 2008-06-22 22:32:16 +00:00
skodak 55946ffda6 MDL-15071 new sqlite pdo driver by Andrei Bautu (with minor changes) 2008-06-22 21:35:07 +00:00
skodak 3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00
skodak a7544e377a MDL-14974 improved columns caching implementation 2008-05-25 09:31:38 +00:00
stronk7 6d5a22b208 Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864 2008-05-19 18:02:33 +00:00
skodak f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00