Skip to content

Commit 56b0777

Browse files
committed
* Added alias from ydb.WithFakeTx(ydb.ScriptingQueryMode) to ydb.WithFakeTx(ydb.QueryExecuteQueryMode) for compatibility with legacy code
1 parent c974dd2 commit 56b0777

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Added alias from `ydb.WithFakeTx(ydb.ScriptingQueryMode)` to `ydb.WithFakeTx(ydb.QueryExecuteQueryMode)` for compatibility with legacy code
2+
13
## v3.95.0
24
* Added implementation of `database/sql` driver over query service client
35
* Added `ydb.WithQueryService(bool)` option to explicitly enable `database/sql` driver over query service client

sql.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ func WithFakeTx(modes ...QueryMode) ConnectorOption {
177177
xsql.WithTableOptions(legacy.WithFakeTxModes(
178178
legacy.ScriptingQueryMode,
179179
)),
180+
xsql.WithQueryOptions(propose.WithFakeTx()),
180181
)
181182
case QueryExecuteQueryMode:
182183
opts = append(opts,

0 commit comments

Comments
 (0)