f522de2e8f
ddl: support "or replace" option when create view ( #8856 )
2019-01-16 19:54:22 +08:00
365264cd21
ddl: add restore deleted table ( #7937 )
2019-01-16 15:37:33 +08:00
e646276f4b
planner,executor: basic support for DROP_VIEW ( #8758 )
2019-01-04 10:53:02 +08:00
0c8e967858
*: provide virtual table facilities ( #8657 )
2018-12-26 21:15:37 +08:00
7056bb0d32
executor, session: refine insert unsigned bigint autoIncreID ( #8181 )
2018-12-18 23:01:10 +08:00
ac16ad5a9b
server: tweak error info(consistent with the previous handleLoadData) ( #8626 )
2018-12-10 13:47:57 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
0d18ac2c18
infoschema: fix bug when apply rename table diff ( #7336 )
2018-08-10 12:30:23 +08:00
cd458038f5
infoschema: fix information schema data race ( #7318 )
2018-08-08 21:55:51 +08:00
e1c927b416
*: fix information schema data race. ( #5672 )
2018-01-18 17:22:06 +08:00
427b02e00a
ddl: support alter table auto_increment ( #5472 )
2017-12-27 13:41:33 +08:00
cbceac701d
*:fix the bug about auto-increment key after renaming a table from old DB to the another DB ( #5248 )
2017-11-29 15:31:16 +08:00
030b3628d5
*: Remove the check of initialized auto ID ( #4971 )
2017-11-02 12:24:19 +08:00
1fc56d3375
perfschema: remove performance schema instrumentation. ( #4516 )
...
Since we have prometheus, perfomance scheme instrumentation is not needed.
We only need to keep table definitions for compatibility.
2017-09-13 19:03:12 +08:00
e9785fda15
*: fix some error related issues ( #4032 )
2017-08-06 00:17:08 +08:00
ab53786d33
*: Define the schema change at the table level ( #3999 )
2017-08-04 17:53:38 +08:00
dff73cc6e4
*: Modify the Makefile for go vet ( #3900 )
2017-07-30 23:02:52 -05:00
e80a7135c9
infoschema: correct comments mistake. ( #3239 )
2017-05-11 14:51:37 +08:00
417122af42
ddl: save original schema ID for allocator when rename table. ( #2671 )
...
Fixes a bug that renamed table to another database failed to insert.
2017-02-17 22:19:00 +08:00
217c26bd0b
*: Support the statement of rename table ( #2444 )
2017-01-15 00:58:10 +08:00
af5b0e71fc
infoschema: implement infoschema table. ( #2034 )
...
Creates a information schema specific table that implements table.Table interface.
The rows in this table is generated by `[]*model.DBInfo` on request.
Further reduce memory allocation.
2016-11-21 19:47:41 +08:00
abffed325e
infoschema: change data structure for lookup table by ID. ( #2006 )
2016-11-18 15:36:11 +08:00
cbdb3fd507
infoschema: fix ci
2016-11-15 10:58:30 +08:00
9dbf0c312b
infoschema: do not reuse auto ID allocator for truncate table.
...
For truncate table, old table ID is different than new table ID, the same allocator will alloc ID
for different table ID, can not ensure uniqueness.
2016-11-15 10:39:32 +08:00
3db42327ca
infoschema: checks if DBInfo read from Meta is nil. ( #1868 )
...
Fix panic.
2016-10-24 19:23:05 +08:00
d04dea2c57
*: use schema diff to reduce memory allocation ( #1858 )
...
When schema version has changed, we don't need to reload all schemas, only
modified table need to be reloaded, this will reduce the pressure on Go garbage collector.
Also removed used map in *inforSchema.
2016-10-24 15:17:44 +08:00