Skip to content

Commit 0b816e2

Browse files
committed
add empty TEXT test
1 parent e319298 commit 0b816e2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

enginetest/queries/script_queries.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,18 @@ var ScriptTests = []ScriptTest{
191191
{"l", "longtext", "YES", "", nil, ""},
192192
},
193193
},
194+
{
195+
Query: "CREATE TABLE d (t TEXT)",
196+
Expected: []sql.Row{
197+
{types.NewOkResult(0)},
198+
},
199+
},
200+
{
201+
Query: "DESCRIBE d",
202+
Expected: []sql.Row{
203+
{"t", "text", "YES", "", nil, ""},
204+
},
205+
},
194206
},
195207
},
196208
{

0 commit comments

Comments
 (0)