239fcabdf7
plans: add check ambiguous helper function
2015-10-16 11:29:29 +08:00
7716e6024d
plans: must use a new index plan for filter.
2015-10-15 09:48:41 +08:00
2ddd70898d
plans: return mysql error to pass sqlalchemy test
2015-10-14 21:39:10 +08:00
8e76265b30
Merge pull request #377 from pingcap/shenli/fix-hibernate-bug
...
Shenli/fix hibernate bug
2015-10-14 16:35:09 +08:00
e9ac43faf3
Merge pull request #381 from pingcap/siddontang/show-fake-table
...
check error for show plan.
2015-10-14 14:36:10 +08:00
284219a641
plans: check error for show plan.
2015-10-14 14:30:56 +08:00
c1f168673f
*: Address comment
2015-10-14 11:30:36 +08:00
d01821579e
*: Address comment
2015-10-14 11:06:09 +08:00
3a7e3ed2d0
*: Address comment
2015-10-14 10:38:18 +08:00
910f283381
*: Fix bug for info.go and add test case
2015-10-13 23:05:49 +08:00
12d5ea7f7d
plans: clone row data to prevent outer modification.
2015-10-13 21:39:08 +08:00
d50b6c5fcc
*: Fix hibernate bug about col.Flen/Decimal
2015-10-13 18:11:11 +08:00
647997a7e5
plans: join filter must use origin result fields
...
Fix #363
e,g, `select * from t as a`
The plan phase in from is table plan -> join plan, and we can only get
the alias name in join plan, so if we return origin table plan directly
in join Filter, we may get wrong result fields.
2015-10-13 10:04:49 +08:00
d594fd83d4
Merge pull request #354 from pingcap/siddontang/update-field-name
...
update field name
2015-10-12 21:49:22 +08:00
df24051cbf
*: Merge branch 'master' into siddontang/update-field-name
2015-10-12 10:09:09 +08:00
efb7bdf151
Merge branch 'master' into qiuyesuifeng/tiny-clean-up-packages
2015-10-10 19:43:53 +08:00
eb8206ab46
*: tiny clean up.
2015-10-10 19:37:26 +08:00
104d30ccb8
*: Support like/where clause in show tables statement.
...
Fix https://github.com/pingcap/tidb/issues/339
2015-10-10 11:47:41 +08:00
df66eaba45
*: refactor field as name
2015-10-10 10:46:29 +08:00
8b6121931e
Merge pull request #262 from pingcap/coocood/fix-index-plan
...
plans:fix a bug in index plan
2015-10-10 09:13:52 +08:00
090f1254bb
plan: remove a redundant line in test file.
2015-10-09 20:33:03 +08:00
ccb7f12677
plan: move IdentEvalVisitor to plans package and use Getcdentvalue function.
2015-10-09 19:23:35 +08:00
041da15fd0
plan: address comments
2015-10-09 17:23:54 +08:00
d12525e17c
*: remove full join
2015-10-09 13:54:59 +08:00
0d72e6303f
*: fix first select with no result types in union
2015-10-08 10:11:02 +08:00
27996c77f8
*: union support order by, limit and different all/distinct.
2015-10-07 21:58:48 +08:00
90983decff
Merge branch 'master' into coocood/fix-index-plan
...
Conflicts:
plan/plans/join.go
2015-10-07 09:56:02 +08:00
b28cf147c6
plans: address comments
2015-10-07 09:46:22 +08:00
65137701dd
plans: Address comment.
2015-10-05 09:33:02 +08:00
7711c25f49
plans: add missing "`" for index.
2015-09-30 10:07:19 +08:00
ef7a9df3a4
plans: handle NOT NULL flag
2015-09-29 09:23:43 +08:00
4d0a853404
plans: handle CURRENT_TIMESTAMP specially
2015-09-29 08:54:41 +08:00
80dc7ef802
plans: update show create table return
2015-09-28 21:31:11 +08:00
33998d6fa1
plans: Address comment
2015-09-28 15:38:22 +08:00
294d5fb79b
*: support show create table syntax
2015-09-28 15:16:57 +08:00
99dc1d91b2
Merge pull request #285 from pingcap/siddontang/cleanup-show
...
cleanup show
2015-09-28 11:34:18 +08:00
0dbdd9fb28
Merge pull request #280 from pingcap/siddontang/fix-issue-266
...
plans: avoid next append overwriting last data
2015-09-28 11:06:34 +08:00
358c9d06a8
plans: split show into different functions
2015-09-28 11:04:46 +08:00
198099d378
*: Create privilege tables in bootstrap stage
...
Prepare for grant statement.
2015-09-27 17:46:36 +08:00
df0d09eb04
plans: avoid next append overwriting last data
...
Fix issue #266
2015-09-27 17:26:46 +08:00
c25c308885
plans: cross join use index
2015-09-25 17:46:01 +08:00
baeb1d022b
plans: join plan support index
2015-09-25 16:52:04 +08:00
7b0a3b7b74
expression: rewrite mention function to use visitor pattern.
2015-09-24 16:16:44 +08:00
abadc8e7df
plans: remove toSpan returned error, remove NullEQ opcode
...
we are not able to handle NullEQ opcode right now.
2015-09-24 15:07:21 +08:00
d4a9152d22
util: add testkit
...
The testkit package used to run sql statements and check results.
It simplifies testing code.
2015-09-24 13:48:28 +08:00
4625b79666
plan/plans: fix index plan bug.
2015-09-24 13:48:28 +08:00
4b5f87c98a
*: rename EmptyFieldList to more sense FromDual name
...
Dual is a dummy table, `select 1, 2` is equivalent to `select 1, 2 from
dual`, and dual is widely known.
2015-09-24 08:02:43 +08:00
13ac8c97c7
Merge pull request #252 from pingcap/qiuyesuifeng/fix-show-collation-field-type
...
plan/plans: fix show collation fields type.
2015-09-23 23:23:48 +08:00
8931dfc5bb
plan/plans: fix show collation fields type.
2015-09-23 19:21:09 +08:00
e825e7c663
*: use builtin eval key instead
2015-09-23 16:19:51 +08:00