]> git.mjollnir.org Git - moodle.git/commit
dml/sqllite MDL-19642 - Make connections more robust
authorpoltawski <poltawski>
Sat, 27 Jun 2009 21:22:27 +0000 (21:22 +0000)
committerpoltawski <poltawski>
Sat, 27 Jun 2009 21:22:27 +0000 (21:22 +0000)
commitfa648098b2d8c99dea7671a8ba3aaeae7f5e6f11
tree283012c9acd9df435dea2ed4da34837ab3d91792
parent0661894ccf964a30cb3a3f4564c3acff6b13f4a6
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
lib/dml/pdo_moodle_database.php
lib/dml/sqlite3_pdo_moodle_database.php