Adds extra abstaction methods to allow api compatibility with sqlitepdo
Avoid warning when no database is available
Adds abstracted function for counting changes made by a query
Adds the ability to access SQLITE through PDO to the tests for the
availabilty of the direct sqlite library first and falls back to
PDO if needed.
Fixs a few sqlite / pdo problems
 Fixes the sql aggreate creation in sqlite standard mode.
Minor fix to respond correctly to  a failure
Straightens up the library chice code so that it is possible to
force use of the the PDO libaray without altering any commited
files.

Just add the following at the bottom of conf/local.php

if (!defined('DOKU_DEFAULT_EXT')) define('DOKU_DEFAULT_EXT', 'pdo');
Fixes issue with the default CONSTANT defining the sqlite library used
Fixes bug where we failed to use the helper function for counting results
thanks to ghoz for the spot and the fix.
Merge stretchyboy’s PDO_SQLite version
Use assoc instead of both fetching
Fix whitespace errors
Use same DB for both, use PDO as default
Adds extra abstaction methods to allow api compatibility with sqlitepdo
Adds abstracted function for counting changes made by a query
Adds the ability to access SQLITE through PDO to the tests for the
availabilty of the direct sqlite library first and falls back to
PDO if needed.
Fixs a few sqlite / pdo problems
 Fixes the sql aggreate creation in sqlite standard mode.
Minor fix to respond correctly to  a failure
Straightens up the library chice code so that it is possible to
force use of the the PDO libaray without altering any commited
files.

Just add the following at the bottom of conf/local.php

if (!defined('DOKU_DEFAULT_EXT')) define('DOKU_DEFAULT_EXT', 'pdo');
Fixes issue with the default CONSTANT defining the sqlite library used