Merge branch 'master' of github.com:roundcube/roundcubemail
| | |
| | | */ |
| | | class rcube_db |
| | | { |
| | | public $db_provider; |
| | | |
| | | protected $db_dsnw; // DSN for write operations |
| | | protected $db_dsnr; // DSN for read operations |
| | | protected $db_connected = false; // Already connected ? |
| | |
| | | */ |
| | | class rcube_db_mssql extends rcube_db |
| | | { |
| | | public $db_provider = 'mssql'; |
| | | |
| | | /** |
| | | * Driver initialization |
| | | */ |
| | |
| | | */ |
| | | class rcube_db_mysql extends rcube_db |
| | | { |
| | | public $db_provider = 'mysql'; |
| | | |
| | | /** |
| | | * Driver initialization/configuration |
| | | */ |
| | |
| | | */ |
| | | class rcube_db_pgsql extends rcube_db |
| | | { |
| | | public $db_provider = 'postgres'; |
| | | |
| | | /** |
| | | * Get last inserted record ID |
| | | * |
| | |
| | | */ |
| | | class rcube_db_sqlite extends rcube_db |
| | | { |
| | | public $db_provider = 'sqlite'; |
| | | |
| | | /** |
| | | * Database character set |
| | | */ |
| | |
| | | */ |
| | | class rcube_db_sqlsrv extends rcube_db |
| | | { |
| | | public $db_provider = 'mssql'; |
| | | |
| | | /** |
| | | * Driver initialization |
| | | */ |