From c1c3ceac3ca39c92a75d441335ab5d76d3e0160a Mon Sep 17 00:00:00 2001 From: Ewan Chou Date: Fri, 1 Apr 2016 14:17:14 +0800 Subject: [PATCH] tidb: fix typo in test case. --- session_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session_test.go b/session_test.go index e78d454a63..2cbd02d96d 100644 --- a/session_test.go +++ b/session_test.go @@ -1654,7 +1654,7 @@ func (s *testSessionSuite) TestJoinSubquery(c *C) { mustExecSQL(c, se, "CREATE TABLE table2 (id INTEGER key AUTO_INCREMENT, data VARCHAR(30), t1id INTEGER)") sqlTxt := `SELECT table1.id AS table1_id, table1.data AS table1_data FROM table1 INNER JOIN ( - SELECT table2.id AS id, table2.data AS ata, table2.t1id AS t1id FROM table2 + SELECT table2.id AS id, table2.data AS data, table2.t1id AS t1id FROM table2 ) AS anon_1 ON table1.id = anon_1.t1id;` mustExecSQL(c, se, sqlTxt) }