Skip to content

Commit

Permalink
update 11
Browse files Browse the repository at this point in the history
  • Loading branch information
XuPeng-SH committed Feb 21, 2025
1 parent 92723d5 commit 9e24122
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/common/moerr/error_no_ctx.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ func NewTxnControlErrorNoCtxf(format string, args ...any) *Error {
return newError(Context(), ErrTxnControl, fmt.Sprintf(format, args...))
}

func NewOfflineTxnWriteNoCtx(format string, args ...any) *Error {
return newError(Context(), ErrOfflineTxnWrite, fmt.Sprintf(format, args...))
func NewOfflineTxnWriteNoCtx(msg string) *Error {
return newError(Context(), ErrOfflineTxnWrite, msg)
}

func NewNotFoundNoCtx() *Error {
Expand Down
1 change: 0 additions & 1 deletion pkg/vm/engine/tae/db/test/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11577,7 +11577,6 @@ func Test_RWDB1(t *testing.T) {
name := testutil.CreateOneDatabase(ctx, t, wTae.DB, i)
i++
testutil.CreateOneDatabase(ctx, t, wTae.DB, i)
i++
{
time.Sleep(time.Millisecond * 100)
txn, err := wTae.StartTxn(nil)
Expand Down

0 comments on commit 9e24122

Please sign in to comment.