Commit Graph

352 Commits

Author SHA1 Message Date
9a5809943d *: fix show procedure status resolving error. (#1507) 2016-07-27 15:02:44 +08:00
2b4acb0caf support cbo (#1498) 2016-07-27 11:10:52 +08:00
c66576ba05 Support aggregate push down in new executor (#1483)
Support aggregate push down for NewXSeelctTableExec.
2016-07-22 13:15:41 +08:00
1e6e1ca6f0 *: Support binlog stmt (#1479)
Parse and ingore it.
2016-07-21 13:39:15 +08:00
7282f4283b add not push down during refining. (#1478) 2016-07-21 10:31:08 +08:00
945fd1d371 *: add error trace (#1477) 2016-07-20 11:50:33 +08:00
8749945b0c *: add builtin function greatest (#1463) 2016-07-20 11:32:14 +08:00
c5c7ffdeb3 fix bug about aggr ppd. (#1472) 2016-07-19 14:20:12 +08:00
35133ef397 support semijoin without aux column, support semijoin for insubquery. (#1461) 2016-07-19 11:36:32 +08:00
5896bb9b64 fix a panic bug for subquery. (#1468) 2016-07-18 18:45:18 +08:00
ed8bda4035 support select lock. (#1466) 2016-07-18 15:50:44 +08:00
fea1d3e8ff fix a panic bug about subquery. (#1465) 2016-07-18 14:18:58 +08:00
224fc0596b support semi-join for exists. (#1454) 2016-07-15 14:46:03 +08:00
04eccb93f0 plan: fix like empty pattern panic. (#1449) 2016-07-14 17:57:38 +08:00
e068bc5c8e refine code (#1447) 2016-07-14 14:41:03 +08:00
0aa1191c78 *: tiny clean up (#1441)
I would prefer to change RecordSet interface to return
slice of values, rather than slice of pointers.
But change an interface involve too many changes.
2016-07-14 11:15:04 +08:00
2f697eb987 support index scan. (#1440) 2016-07-13 18:16:51 +08:00
b23d798f75 plan/statistics: implement pseudo table and API to estimate row count. (#1434) 2016-07-13 15:42:22 +08:00
d4f85c8138 Add get_lock() and key_column_usage table (#1437)
Parsed but ignored. This is used for Ruby's activerecord migrations.
2016-07-13 10:57:05 +08:00
387f9d3192 plan: Tiny clean up (#1433)
* plan: check errors first
* plan: err1 replaces with err
* plan: remove empty line
2016-07-13 10:53:09 +08:00
13910f108c ddl: fix ddl update join table. (#1426) 2016-07-12 12:52:18 +08:00
883021fbb4 *: tiny clean up (#1425) 2016-07-11 18:03:59 +08:00
cbac6da6ee *: Remove SetCharsetStmt, use SetStmt instead (#1422)
"set @@session.sql_mode=1, names utf8, charset utf8;" is a valid sql statement.
2016-07-11 16:22:33 +08:00
b27481162e eliminate unused plus op. (#1420) 2016-07-11 13:15:56 +08:00
e35c7ce6eb support nested subquery and fix bug of setting variable (#1412) 2016-07-09 20:25:51 +08:00
61ada26dc4 Support sum in xapi. (#1409) 2016-07-08 19:59:13 +08:00
257df744bb fix bugs of insert and subquery (#1406) 2016-07-07 17:12:14 +08:00
db4cdcfaec parser: reduce memory allocation (#1408) 2016-07-07 16:42:30 +08:00
6ab4cc5877 fix a lot of bugs about agg and having. (#1395) 2016-07-06 15:49:53 +08:00
452637dccb *: Convert RegexpExpr to ScalarFuntion and check the arguments length of builtin functions (#1388)
* *: convert RegexpExpr to ScalarFuntion and add check arguments length
2016-07-05 12:37:23 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
5520e266dc *: Convert CaseExpr to ScalarFunction and clean up (#1377)
* *: support CaseExpr to ScalarFunction and tiny clean up
2016-07-04 15:15:44 +08:00
c72917d6e8 support cast and change the name of expression select field. (#1373) 2016-07-04 14:27:07 +08:00
d04b0b997c *: support index length (#1350)
For string columns, indexes can be created that use only the
leading part of column values, using col_name(length) syntax
to specify an index prefix length
2016-07-02 13:26:40 +08:00
107ad9662c implement logical plan. (#1366) 2016-07-01 15:13:27 +08:00
xia
259c721e6d plan: tiny clean up 2016-07-01 11:48:16 +08:00
xia
4b3d15a1e1 plan: add the exact match in building like range 2016-07-01 11:45:47 +08:00
01a42dfb8c *: Convert expression to pbExpr and implement builtin function (#1358)
* *: convert expression to pbExpr and implement the builtin function
2016-06-30 17:16:48 +08:00
a75f677900 support set variable, prepare and insert stmt. (#1359) 2016-06-29 18:26:47 +08:00
87bbb12057 support in subquery and compare subquery. (#1355) 2016-06-29 17:00:58 +08:00
cad94acb54 Store row data in single kv pair (#1347) 2016-06-28 11:15:09 +08:00
234d0be5de *: Support build range, support betweenExpr, inExpr and likeExpr convert to scalarFunc (#1344)
* *: support build range, support betweenExpr, inExpr and likeExpr convert
to scalarFunc
2016-06-27 20:30:16 +08:00
0eac76eb22 support row expression. (#1349)
support row function and row expression.
2016-06-27 16:03:51 +08:00
34ebc07aae support union and distinct in new plan. (#1345)
support union and distinct in new plan
2016-06-24 18:05:36 +08:00
95be5148ce process wildcard and gby correctly. (#1340) 2016-06-23 17:18:28 +08:00
9c3285f0c9 plan: remove duplicate suite (#1342) 2016-06-23 16:20:41 +08:00
1f080550fb support dirty transaction. (#1339)
support dirty transaction.
2016-06-23 14:10:37 +08:00
a9aad12ba8 *: move tablecodec package out of xapi. (#1335) 2016-06-22 13:32:26 +08:00
af7f2a2e89 correct "order by", "having", "group by"s' resolving rules. (#1326)
resolve order by/ having/ group by correctly.
2016-06-22 11:58:06 +08:00
e051784728 *: Tiny clean up (#1334)
* *: tiny clean up
2016-06-22 10:59:51 +08:00