fix(query): default query tabs to auto-commit
This commit is contained in:
4 files changed
+12
-15
No files matched your search
@@ -250,8 +250,8 @@ export function supportsTransaction(dbType?: string): boolean {
|
||||
|
||||
/**
|
||||
* Default auto-commit mode when opening a query tab for the given database type.
|
||||
* Oracle defaults to manual transactions so edits require an explicit Commit.
|
||||
* Query tabs default to auto-commit; users can explicitly switch to manual transactions.
|
||||
*/
|
||||
export function defaultAutoCommitForDbType(dbType?: string): boolean {
|
||||
return dbType !== "oracle";
|
||||
export function defaultAutoCommitForDbType(_dbType?: string): boolean {
|
||||
return true;
|
||||
}
|
||||
Reference in new issue
Block a user