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
lcwangchao and hawkingrei authored Jan 10, 2023
1 parent 7d8b269 commit 1ce268a
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 1ce268a

Please sign in to comment.