Skip to content

Commit

Permalink
* Added alias from ydb.WithFakeTx(ydb.ScriptingQueryMode) to `ydb.W…
Browse files Browse the repository at this point in the history
…ithFakeTx(ydb.QueryExecuteQueryMode)` for compatibility with legacy code
  • Loading branch information
asmyasnikov committed Dec 13, 2024
1 parent c974dd2 commit 56b0777
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Added alias from `ydb.WithFakeTx(ydb.ScriptingQueryMode)` to `ydb.WithFakeTx(ydb.QueryExecuteQueryMode)` for compatibility with legacy code

## v3.95.0
* Added implementation of `database/sql` driver over query service client
* Added `ydb.WithQueryService(bool)` option to explicitly enable `database/sql` driver over query service client
Expand Down
1 change: 1 addition & 0 deletions sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func WithFakeTx(modes ...QueryMode) ConnectorOption {
xsql.WithTableOptions(legacy.WithFakeTxModes(
legacy.ScriptingQueryMode,
)),
xsql.WithQueryOptions(propose.WithFakeTx()),
)
case QueryExecuteQueryMode:
opts = append(opts,
Expand Down

0 comments on commit 56b0777

Please sign in to comment.