Skip to content

Commit 37be67c

Browse files
committed
add bits server test
1 parent d1e31b0 commit 37be67c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

enginetest/queries/script_queries.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,20 @@ var ScriptTests = []ScriptTest{
188188
},
189189
},
190190
},
191+
{
192+
Name: "bits don't work on server",
193+
Dialect: "mysql",
194+
SetUpScript: []string{
195+
"create table t (b bit(1));",
196+
"insert into t values (1)",
197+
},
198+
Assertions: []ScriptTestAssertion{
199+
{
200+
Query: "select * from t;",
201+
Expected: []sql.Row{{uint64(1)}},
202+
},
203+
},
204+
},
191205
{
192206
Name: "outer join finish unmatched right side",
193207
SetUpScript: []string{

0 commit comments

Comments
 (0)