adodb-session2.php open method fails when it shouldn't

Set value of $ok variable to true when ADONewConnection call works on line 566.

resolves #42, PR #44

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Improve compatability of ADORecordSet_empty

Added methods to ADORecordSet_empty to improve compatability with other
ADORecordSet_* types.

resolves #43, PR #45

Signed-off-by: Damien Regad <dregad@mantisbt.org>
ADODB_pdo_mysql: add functionality from ADODB_mysql

* SQLDate method for generating date formatting strings
* SelectDB method for changing selected database
* $metaTablesSQL string that includes table vs view detection

Makes pdo_mysql behave more similarly to mysql and mysqli. Swapping
underlying driver becomes easier.

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Original commit modified to fix whitespace
Coding guidelines / whitespace
Update changelog
Replace useless variable $false by false
Coding guidelines
Coding guidelines / whitespace