Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/frontend/authenticate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11927,7 +11927,7 @@ func TestCheckTimeStampValid(t *testing.T) {

func Test_getSqlForCheckDupPitrFormat(t *testing.T) {
sql := getSqlForCheckDupPitrFormat(123, 456)
assert.Equal(t, "select pitr_id from mo_catalog.mo_pitr where create_account = 123 and obj_id = 456;", sql)
assert.Equal(t, "select pitr_id from mo_catalog.mo_pitr where create_account = 123 and obj_id = 456 and kind = 'user' and pitr_name not like '__mo_data_branch_pitr_%';", sql)
}

func Test_checkPitrDup(t *testing.T) {
Expand Down
Loading
Loading