Skip to content

Commit

Permalink
Update ttl/sqlbuilder/sql_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
2 people authored and ti-chi-bot committed Jan 11, 2023
1 parent 9661225 commit 3c4dc32
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ttl/sqlbuilder/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ func TestFormatSQLDatum(t *testing.T) {
d := rows[0].GetDatum(0, &col.FieldType)
s, err := sqlbuilder.FormatSQLDatum(d, &col.FieldType)
require.NoError(t, err)
//fmt.Printf("%s: %s\n", c.ft, s)
tk.MustQuery("select id from t where " + colName + "=" + s).Check(testkit.Rows(rowID))
if c.hex {
require.True(t, strings.HasPrefix(s, "x'"), "ft: %s, got: %s", c.ft, s)
Expand Down

0 comments on commit 3c4dc32

Please sign in to comment.