|
|
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 |
|
|
|
7b0a3b7b74
|
expression: rewrite mention function to use visitor pattern.
|
2015-09-24 16:16:44 +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 |
|
|
|
1622f86156
|
plans: Address comment
|
2015-09-23 11:21:02 +08:00 |
|
|
|
59655e28ca
|
*: support show full tables
|
2015-09-23 11:12:43 +08:00 |
|
|
|
50fb972258
|
*: support show collation
|
2015-09-22 09:20:36 +08:00 |
|
|
|
5ead2e460f
|
Merge pull request #218 from pingcap/siddontang/show-return-type
plans: show must set result type, default is varchar.
|
2015-09-21 21:50:24 +08:00 |
|
|
|
ccd85d0bbd
|
plans: Address comment
|
2015-09-21 21:43:30 +08:00 |
|
|
|
e91233533e
|
expression: fix import
|
2015-09-21 18:55:17 +08:00 |
|
|
|
9072f4f385
|
plans: show must set result type, default is varchar.
SQLAlchemy will use column type to do something, so we cannot return 0
for column type.
|
2015-09-21 18:06:45 +08:00 |
|
|
|
434d11a450
|
expression: refactor expression
Firstly, abstract SubQuery to interface{}, some mock test are not able to keep.
|
2015-09-21 17:39:28 +08:00 |
|
|
|
e7d2bff9f1
|
*: Move bootstrap to CreateSession
Bootstrap should be done for both tidb-server and embedded mode.
|
2015-09-21 15:34:52 +08:00 |
|
|
|
ded22954d7
|
expression: remove return error in Clone interface
Our expression implementations do not actually return any error, and `Clone` should not return error in any case.
Remove error make the code cleaner.
|
2015-09-21 11:11:50 +08:00 |
|
|
|
75edbf7e3c
|
*: add show variables where test
|
2015-09-20 12:57:56 +08:00 |
|
|
|
33c0581048
|
Plans: clean up code
|
2015-09-19 22:24:46 +08:00 |
|
|
|
0c81acb99a
|
*: support show variables where syntax
|
2015-09-19 22:09:59 +08:00 |
|
|
|
00bf40f760
|
Merge pull request #182 from pingcap/siddontang/correlated-subquery
refactor subquery to support correlated subquery
|
2015-09-19 10:00:21 +08:00 |
|
|
|
58a4956276
|
*: use Wrap to not miss error msg
|
2015-09-18 15:59:42 +08:00 |
|
|
|
d9a8c7e4f2
|
*: use RowStack to rector and simplify outer query
|
2015-09-18 14:52:05 +08:00 |
|
|
|
ae54282940
|
*: rename files outer_query -> row_stack
|
2015-09-18 10:50:25 +08:00 |
|
|
|
ea99e247dc
|
plans: fix test compile error
|
2015-09-17 15:38:41 +08:00 |
|
|
|
431756ae63
|
plans: add OuterQueryPlan test
|
2015-09-17 09:27:50 +08:00 |
|
|
|
d3d5851bdb
|
plans: set OuterQueryUsed for subquery
|
2015-09-17 07:34:51 +08:00 |
|
|
|
6e176407db
|
plans: clean up
|
2015-09-16 22:33:35 +08:00 |
|
|
|
6fb768fbcb
|
*: refactor OuterQuery
|
2015-09-16 22:13:12 +08:00 |
|
|
|
4ceedcfc27
|
*: Replace h with handle
|
2015-09-16 20:27:12 +08:00 |
|
|
|
e6e120697e
|
*: fix outer query for order by
|
2015-09-16 17:25:08 +08:00 |
|
|
|
279c160fc0
|
plans,stmts: use a single OuterQuery in one select flow.
|
2015-09-16 15:21:41 +08:00 |
|
|
|
d51c6033df
|
plans: fix test panic for outer query
|
2015-09-16 13:22:17 +08:00 |
|
|
|
bee6991a78
|
*: support outer query for correlated sub query.
|
2015-09-16 12:05:42 +08:00 |
|
|
|
116098baf9
|
plan: Closes plans that do not return in Recordset, adds some docs.
|
2015-09-15 21:37:26 +08:00 |
|
|
|
4f8e58f7da
|
plan: fix tests and clean up code
|
2015-09-15 21:08:12 +08:00 |
|
|
|
e5d9130b77
|
plan: remove Do method.
|
2015-09-15 19:54:59 +08:00 |
|
|
|
bc216912f0
|
Merge remote-tracking branch 'origin/master' into shenli/issue-108
Conflicts:
parser/parser_test.go
|
2015-09-15 16:04:04 +08:00 |
|
|
|
f6577d4d08
|
plans: Fix build error
|
2015-09-15 14:54:05 +08:00 |
|
|
|
6adf665f01
|
Merge pull request #154 from pingcap/shenli/orderby-byte-array
types: Allow []byte as orderby type
|
2015-09-15 14:46:00 +08:00 |
|
|
|
79abe14b9c
|
types: Cleanup IsOrderedType
Remove useless return values.
|
2015-09-15 14:38:57 +08:00 |
|
|
|
8fe148a781
|
plan: fix infoschema
|
2015-09-15 13:45:22 +08:00 |
|
|
|
0d07f8f711
|
Merge branch 'master' into coocood/next-skeleton
|
2015-09-15 13:22:13 +08:00 |
|
|
|
4ee3cc5ff7
|
plan: address comments
|
2015-09-15 13:21:38 +08:00 |
|
|
|
9623b7fa92
|
plan: fix interface comments
|
2015-09-15 12:05:17 +08:00 |
|
|
|
1ff30b79eb
|
plans: Support information_schema.collations
Return a selected collation list.
We could enter phpMyAdmin control panel with this branch.
|
2015-09-15 11:43:13 +08:00 |
|
|
|
3562c62160
|
plan: adjust left right cross join
The order is not guaranteed, we follow the docs.
|
2015-09-15 11:27:57 +08:00 |
|