silverstripe-sqlite3/code
NightjarNZ 0efd40e5c2 FIX correct handwritten logic for transactions to use new API instead
Code in the field alteration logic had a queries defiend as strings to
begin and commit transactions involve with changing table or column names.
This was causing fatal errors as BEGIN is not a valid keyword within
a trasaction (see SQLite documentation excerpt below).

A new api has been introduced to deal with transactions programmatically,
and this module was updated to support this a few months ago. This is a
tidy up of some missed portions - consuming this API which correctly uses
SAVEPOINT when a nested transaction is required automatically.

https://www.sqlite.org/lang_transaction.html
Transactions created using BEGIN...COMMIT do not nest. For nested
transactions, use the SAVEPOINT and RELEASE commands.
2018-10-09 22:22:53 +13:00
..
SQLite3Connector.php Update config / code styles for 4.0 2017-11-23 14:11:10 +13:00
SQLite3Database.php FIX Make sure nested transactions get reset on implicit commits 2018-07-05 15:31:05 +12:00
SQLite3Query.php return 0 for non iterable results 2018-03-12 14:04:43 +01:00
SQLite3QueryBuilder.php Upgrade for silverstripe namespaces 2016-09-08 15:41:17 +12:00
SQLite3SchemaManager.php FIX correct handwritten logic for transactions to use new API instead 2018-10-09 22:22:53 +13:00
SQLiteDatabaseConfigurationHelper.php Merge remote-tracking branch 'origin/1.4' into 2.0 2017-12-07 16:16:11 +13:00