Commit Graph

25 Commits

Author SHA1 Message Date
030e0a1bd6 store, parser: Remove unused variables 2015-09-14 10:42:37 +08:00
b13d935670 Merge pull request #114 from pingcap/shenli/show-variables
Shenli/show variables
2015-09-11 17:37:20 +08:00
be5827dea4 plans: Remove useless code
Address comment
2015-09-11 17:29:23 +08:00
e5ea4bba45 plans: Remove global variable store in from_test.go
Fix make check errors.
2015-09-11 14:04:12 +08:00
92f9d3b17e plans: Add test case for show variables
Add test case for show variables
2015-09-11 13:57:57 +08:00
e37c62b88d *: check column in select uniformly 2015-09-11 13:15:01 +08:00
20cf24f535 *: Implement show variables stmt/rset/plan
TODO: add test cases
2015-09-10 20:24:09 +08:00
a80d131c06 util/types, column, expressions: use types.Convert to replace Col.CastValue
The two methods has similar functionality and has complex logic, after this change,
the code base would be easier to maintain.

For `CAST` function, the behaviour is different than the general purpose `types.Convert`,
so I implemented a dedicated function for it.
2015-09-10 20:11:40 +08:00
aa3b38a328 Merge pull request #96 from pingcap/shenli/split-uri-dbname
tidb: Split datasource name to uri and dbName
2015-09-10 17:48:27 +08:00
62b73d29c7 tidb: Split datasource name to uri and dbName
The DBName may be different from data path name.
2015-09-10 16:41:12 +08:00
7b14d58dfc plans: check row is not in select fields 2015-09-10 13:52:31 +08:00
2342cfc107 session: Check if select for update statement
Make sure we do not retry "select for update statement"
2015-09-09 12:15:09 +08:00
1e4cdb813f *: update QL-LICENSE and STRUTIL-LICENSE. 2015-09-08 19:25:50 +08:00
6e3e1c100d Merge pull request #41 from pingcap/zimuxia/makefile
*: Add "make check"
2015-09-08 16:12:39 +08:00
xia
4fb8c199d9 plan/plans: remove err1 2015-09-08 16:08:27 +08:00
xia
5a657f0beb *: update format 2015-09-08 15:46:27 +08:00
xia
ed9b0c6e2a *: Update format 2015-09-08 15:40:29 +08:00
695003b466 util, plan, plan/plans, rset, rsets: fix-copyright-infringement. 2015-09-07 08:48:50 -04:00
xia
b7431ecf0a *: pass go vet 2015-09-07 16:57:00 +08:00
329721d226 *:handle error with types.Compare function 2015-09-07 13:35:42 +08:00
2396b31996 Merge pull request #32 from pingcap/zimuxia/gofmt
Pass gofmt
2015-09-07 12:58:50 +08:00
xia
0670dd0e34 *: pass gofmt
pass gofmt
2015-09-07 11:28:10 +08:00
xia
626952c46b *: pass go vet
check for shadowed variables
2015-09-07 11:00:18 +08:00
xia
f49398dc42 *: pass go vet
pass go vet
2015-09-06 20:20:21 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00