Fix regression in testing database schema on MSSQL (#7227)

bnet/additions
Aleksander Machniak 5 years ago
parent edbcb03237
commit 7793386683

@ -8,6 +8,7 @@ CHANGELOG Roundcube Webmail
- Fix invalid Content-Type for messages with only html part and inline images - Mail_Mime-1.10.7 (#7261)
- Fix missing contact display name in QR Code data (#7257)
- Fix so button label in Select image/media dialogs is "Close" not "Cancel" (#7246)
- Fix regression in testing database schema on MSSQL (#7227)
RELEASE 1.4.3
-------------

@ -190,7 +190,9 @@ if ($db_working) {
// more database tests
if ($db_working) {
// Using transactions to workaround SQLite bug (#7064)
$DB->startTransaction();
if ($DB->db_provider == 'sqlite') {
$DB->startTransaction();
}
// write test
$insert_id = md5(uniqid());
@ -208,7 +210,9 @@ if ($db_working) {
echo '<br />';
// Transaction end
$DB->rollbackTransaction();
if ($DB->db_provider == 'sqlite') {
$DB->rollbackTransaction();
}
// check timezone settings
$tz_db = 'SELECT ' . $DB->unixtimestamp($DB->now()) . ' AS tz_db';

Loading…
Cancel
Save