Commit Graph

196 Commits

Author SHA1 Message Date
f3645267bd Remove useless index seek (#1556) 2016-08-08 10:27:39 +08:00
cbddbcdcd0 *: fix add record panic (#1482) 2016-07-22 08:38:18 +08:00
fda013b080 ddl: set default value to zero value when add a not null column. (#1443) 2016-07-14 10:57:34 +08:00
8edbf557a2 *: remove MemBuffer cache and Release method. (#1411) 2016-07-08 11:57:02 +08:00
e687f908d3 *: tiny clean up (#1404) 2016-07-07 09:50:45 +08:00
5dc459c657 terror: Improve terror performance. (#1393) 2016-07-05 15:04:33 +08:00
5408833b9a ddl: improve ddl test (#1387) 2016-07-05 11:21:50 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +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
d1afacc451 table: export WritableCols (#1369) 2016-07-01 12:55:04 +08:00
a4fe3f457c tables: Fix shadowed err (#1362) 2016-06-30 11:27:53 +08:00
9bf6e03812 table/table: set default value when write only column is null (#1357)
The test cover this issue need some work, will be added in next PR.
2016-06-29 14:29:20 +08:00
83a6c94302 table/tables: fix IterRecords. (#1356) 2016-06-29 11:43:07 +08:00
a0e3c2ee3b ddl: fix column test (#1354) 2016-06-28 12:37:12 +08:00
cad94acb54 Store row data in single kv pair (#1347) 2016-06-28 11:15:09 +08:00
633b5b9a9a *: Clean up tablecodec and tables (#1338) 2016-06-22 17:11:54 +08:00
ee1bdd699a *: Cleanup table codec (#1337)
Prepare for row-based storage model
2016-06-22 15:24:56 +08:00
b95c6c96a6 tables: Remove duplicate codes (#1336)
Use tablecodec.Unflatten
2016-06-22 14:23:26 +08:00
a9aad12ba8 *: move tablecodec package out of xapi. (#1335) 2016-06-22 13:32:26 +08:00
dd6bfacdb8 *: refactor index, use TableInfo and IndexInfo to create an Index (#1333) 2016-06-21 15:26:20 +08:00
1a706853ed Rename err2 to err1 where possible (#1331) 2016-06-19 08:33:33 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
75f089d056 util/types: clean up, removed unused code. (#1281) 2016-06-02 10:42:36 +08:00
7c7b1b59f5 *: Unify error (#1273)
* *: unify error format in table, server and xapi package

* terror: remove duplicated code
2016-05-31 15:06:11 +08:00
a05f3fde6d *: fix decimal fraction value. (#1271) 2016-05-31 10:29:02 +08:00
f09574d826 *: support sql mode (#1263) 2016-05-30 13:16:41 +08:00
622f8fca2a *: refactor, move index and column into table package. (#1251) 2016-05-24 11:08:15 +08:00
228f1d7026 support hash join in new plan (#1234)
* support hash join.

* fix some errors

* add test for predicate push down

* change substitutor...

* add bench mark

* change comment

* fix bug.
2016-05-19 15:43:16 +08:00
cf6d1f5f97 *: do not set null column value to save storage space. (#1236) 2016-05-17 19:14:28 +08:00
f8d7a3c5ef *: Fix unsigned int as PKColumn bug (#1238)
* *: Fix unsigned int as PKColumn bug
2016-05-17 14:41:11 +08:00
e742def024 add foreign key on update and on delete support (#1152)
* add foreign key on update and on delete support
2016-04-27 19:44:00 +08:00
36ef582b93 perfschema: fixed concurrent map bug (#1160) 2016-04-26 13:06:59 +08:00
0b2f00088c *: Make bounded table cursor aligned to fix i386 panic (#1149)
See: https://golang.org/src/sync/atomic/doc.go#L41
2016-04-22 21:36:59 -05:00
bbffc220ed *: Tiny cleanup (#1145)
Fix typo
2016-04-23 10:27:13 +08:00
130f9f2452 table/tables: change bounded table cursor type from int32 to int64 (#1127)
In case when executed statements exceeds max int32, the cursor becomes a negative value.
2016-04-21 10:24:50 +08:00
c26dfd54e4 executor: Change interface to datum in executor. (#1103)
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
64546d478b perfschema: fixed memory leak issue (#1099) 2016-04-18 06:17:35 -05:00
dc8bd3e337 *: optimization, do not read not referenced columns. 2016-04-06 13:29:21 +08:00
xia
7a7026e750 *: add a null kind judgment in the update statement and update comments 2016-03-18 14:29:57 +08:00
xia
0c5e7eb776 table: update comments 2016-03-18 12:23:55 +08:00
xia
15c0319294 *: fix issue 962 and handle other questions about auto increment. 2016-03-18 12:23:55 +08:00
cd0a3dbe03 *: add Rebase interface and add tests 2016-03-10 15:13:18 +08:00
ac12b71714 *: replace interface{} with Datum in convert. 2016-03-07 14:11:17 +08:00
515f193bd2 *: Remove coldef package
There are lots of redundancies between ast and coldef. So we remove
coldef.
2016-03-05 19:11:04 +08:00
449b34f24b *: replace interface{} with Datum in codec. 2016-03-04 12:54:34 +08:00
3d06fb90fe *: replace interface{} with Datum in kv.Index 2016-03-03 11:41:09 +08:00
d5941446c2 table: replace interface{} with Datum in table. 2016-03-02 21:01:20 +08:00
3a25f68469 *: replace interface with Datum in ast.Row. 2016-03-02 15:32:42 +08:00
43a6064395 *: Cleanup license 2016-03-02 14:02:26 +08:00
043ebd5ec8 *: Refactor package organization
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00