Skip to content

Commit

Permalink
*: Support mysqldump dump database
Browse files Browse the repository at this point in the history
1. Fix bug in show tables like with escape char.
2. Parse but ignore sql_cache/sql_no_cache.
  • Loading branch information
shenli committed Apr 7, 2016
1 parent faa70cf commit eb941fb
Show file tree
Hide file tree
Showing 6 changed files with 6,620 additions and 6,412 deletions.
5 changes: 5 additions & 0 deletions executor/show_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,9 @@ func (s *testSuite) TestShow(c *C) {
for i, r := range row {
c.Check(r, Equals, expectedRow[i])
}

// For show like with escape
testSQL = `show tables like 'show\_test'`
result = tk.MustQuery(testSQL)
c.Check(result.Rows(), HasLen, 1)
}
Loading

0 comments on commit eb941fb

Please sign in to comment.