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

pull/7282/head
Aleksander Machniak 5 years ago
parent a748214595
commit b3b5b9665d

@ -21,6 +21,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)
if ($DB->db_provider == 'sqlite') {
$DB->startTransaction();
}
// write test
$insert_id = md5(uniqid());
@ -208,7 +210,9 @@ if ($db_working) {
echo '<br />';
// Transaction end
if ($DB->db_provider == 'sqlite') {
$DB->rollbackTransaction();
}
// check timezone settings
$tz_db = 'SELECT ' . $DB->unixtimestamp($DB->now()) . ' AS tz_db';

Loading…
Cancel
Save