fix: zero-valued judgments for types decimal and json

This commit is contained in:
zhuyasen
2025-01-20 12:24:44 +08:00
parent 0b9674c8cb
commit e210fe1caf
2 changed files with 41 additions and 32 deletions

View File

@@ -25,7 +25,7 @@ func TestParseMysqlSQL(t *testing.T) {
codes, err := ParseSQL(sql, WithJSONTag(1), WithDBDriver(DBDriverMysql))
assert.Nil(t, err)
assert.NotEmpty(t, codes)
//printCode(codes)
printCode(codes)
}
func TestParseSQL(t *testing.T) {