Set transactionalDDLSupport properly for sqlite driver

Created on 17 May 2013, over 11 years ago
Updated 7 September 2023, about 1 year ago

transactionalDDLSupport is defaulted to false in core/lib/Drupal/Core/Database/Connection.php since most drivers do not support it. However, SQLite supports DDL statements within transactions. Following the pattern in PostgreSQL driver, transactionalDDLSupport is set TRUE for sqlite driver only if supportsTransactions is TRUE.

🐛 Bug report
Status

Closed: outdated

Version

11.0 🔥

Component
Database 

Last updated less than a minute ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇨🇦Canada Joe Murray

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024