You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a connection is in auto-commit mode, then all its SQL statements will be executed and committed as individual transactions. Otherwise, its SQL statements are grouped into transactions that are terminated by a call to either the method commit or the method rollback. By default, new connections are in auto-commit mode.
If you run
BEGIN TRANSACTION
in MySQL, it'll crash.sqldelight/drivers/jdbc-driver/src/main/kotlin/com/squareup/sqldelight/sqlite/driver/JdbcDriver.kt
Line 49 in 1c78cd3
sqldelight/drivers/jdbc-driver/src/main/kotlin/com/squareup/sqldelight/sqlite/driver/JdbcDriver.kt
Lines 62 to 66 in 1c78cd3
Maybe it should be made dialect independent, by toggling
Connection.setAutoCommit(boolean)
and callingConnection.commit()
/Connection.rollback()
?The text was updated successfully, but these errors were encountered: