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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | sqlite_transactionalDDLSupport.patch | 934 bytes | mgifford |
| sqlite_transactionalDDLSupport.patch | 934 bytes | joe.murray |
Comments
Comment #1
joe.murray commentedComment #3
jhedstromWould it be possible to have a test for this?
Comment #4
mgiffordRe-uploading Joe's patch for the bots.
Comment #19
smustgrave commentedPart of the new review initiative this one came up.
Wonder after 7 years if its still a valid bug report.
If so can we update the issue summary? And saw it was tagged for tests.
Comment #21
quietone commentedThis was fixed in #2278971: Deprecate Connection::supportsTransactions(). Therefor, closing as outdated.