Commit Graph

1465 Commits

Author SHA1 Message Date
5eb095dee1 plans: Add empty files table in information_schema
Fix mysqldump error.
2015-11-06 13:14:01 +08:00
6510bc9404 Merge pull request #516 from pingcap/coocood/use-terror
terror: unify util/errors and util/errors2 in terror.
2015-11-06 10:13:31 +08:00
93fd5dfde6 Merge pull request #527 from pingcap/shenli/clean-gitignore
Remove useless files from .gitignore
2015-11-05 22:37:36 +08:00
35b8e2c30d Remove useless files from .gitignore 2015-11-05 22:19:04 +08:00
afe2c8dee3 Merge branch 'master' into coocood/use-terror 2015-11-05 19:21:00 +08:00
38726769b4 terror: new implementation. 2015-11-05 19:15:49 +08:00
8308fd8c5d Merge pull request #519 from pingcap/coocood/remove-old-parser
parser: remove old parser and move ast/parser to /parser.
2015-11-05 16:32:27 +08:00
88711021e8 parser: address comment. 2015-11-05 16:13:29 +08:00
b24f320d55 parser: remove old parser and move ast/parser to /parser. 2015-11-05 16:03:26 +08:00
89fa72467c Merge pull request #491 from pingcap/coocood/binder
ast,optimizer: switch to use new parser, and convert ast.Node to old statements.
2015-11-05 15:38:31 +08:00
2f2e31c8f4 ast: rename ast node receiver 'nod' to 'n'. 2015-11-05 14:42:15 +08:00
84b2538158 Merge pull request #518 from pingcap/goroutine/parser-clean-up
parser: clean up
2015-11-05 14:27:42 +08:00
9be82dbe27 ast: address comment. 2015-11-05 14:14:40 +08:00
c623fafc72 parser: clean up 2015-11-05 13:53:32 +08:00
c6c74b6d6b terror: address comment and add update class String method. 2015-11-05 12:26:59 +08:00
83ac08b9bf terror: address comment. 2015-11-05 12:21:58 +08:00
0943aa598e terror: unify util/errors and util/errors2 in terror. 2015-11-05 12:05:16 +08:00
3b0f94f8ac Merge pull request #509 from pingcap/coocood/terror
terror: create a new error type that has class and code for comparison.
2015-11-05 10:10:33 +08:00
72312b4e0f Merge pull request #508 from pingcap/siddontang/update-boltdb-lock
update boltdb lock
2015-11-04 20:25:40 +08:00
2151fcb4ba localstore: remove comment. 2015-11-04 19:57:17 +08:00
524e18dff1 ast: address comment. 2015-11-04 19:51:33 +08:00
0fab139acb terror: address comment. 2015-11-04 19:01:31 +08:00
b8a7e68631 ast: add comments about implementation rule on Accept method. 2015-11-04 17:59:12 +08:00
fce519486f ast: visit Select element first in InsertStmt.
Address comment.
2015-11-04 17:00:38 +08:00
e3f9e4cadc Merge pull request #510 from pingcap/goroutine/fix-fmt
meta: Fix format arguments
2015-11-04 16:07:58 +08:00
29b5a00b92 meta: Fix format arguments 2015-11-04 12:37:32 +08:00
c9ca685e19 terror: address comment. 2015-11-04 09:59:28 +08:00
322ada426b localstore: update test. 2015-11-03 21:43:31 +08:00
2957a4a9e1 terror: create a new error type that has class and code for comparison.
The current error check can only handle errors that has exactly the same message, when error message is not constant.

For example parsing error has the message describe the context of the error.

With this error type, we can includes context information in the message and still able to check the error type.
2015-11-03 18:26:04 +08:00
c59ce33039 localstore: update boltdb Next and Seek. 2015-11-03 18:11:43 +08:00
d87a097271 Merge pull request #507 from pingcap/goroutine/unify-behavior
*: Unify behavior of both local store and HBase
2015-11-03 16:08:22 +08:00
e85fa46431 localstore: clean up 2015-11-03 16:01:54 +08:00
a2c3ae9e50 structure api: Remove all lock keys. 2015-11-03 15:54:29 +08:00
5b7d18d541 *: Unify behavior of both local store and HBase
Please enter the commit message for your changes. Lines starting

Conflicts:
	kv/index_iter.go
2015-11-03 15:44:35 +08:00
03be6a97dc Merge pull request #504 from pingcap/shenli/binder
parser: Add charset info for string literal
2015-11-03 14:48:50 +08:00
6b8a39523f ast/parser: add tests and fix bugs. 2015-11-03 13:53:46 +08:00
a74b373a52 parser: Add charset info for string literal 2015-11-03 11:24:47 +08:00
29055a3198 Merge branch 'master' into coocood/binder 2015-11-03 11:23:48 +08:00
95bedb2022 Merge pull request #503 from pingcap/siddontang/cleanup-it-next
clean up iterator Next
2015-11-03 11:23:26 +08:00
795d6491b5 *: clean up iterator Next 2015-11-03 11:19:24 +08:00
5ca94b542e optimizer: add comments for set field text. 2015-11-03 11:18:34 +08:00
53a11459c2 optimizer: only set old field AsName when it is not identifier 2015-11-03 10:28:33 +08:00
ba9dfc3551 ast/parser: add text to select field. 2015-11-03 10:00:17 +08:00
c49df394e1 Merge pull request #485 from pingcap/zimuxia/date-sub
Support date_sub function
2015-11-03 09:46:27 +08:00
4398426f51 localstore: fix bolted deadlock 2015-11-03 08:00:49 +08:00
448e05c50f Merge pull request #499 from pingcap/c4pt0r/refactor-iterator
*: refactor iterator interface
2015-11-02 22:02:07 +08:00
66017137d9 *: address review comments
refactor iterator
2015-11-02 21:52:46 +08:00
bec6314275 *: address review comments
refactor iterator interface
2015-11-02 21:46:34 +08:00
c0b198b908 *: refactor iterator interface
Next() shouldn't return a new iterator.
2015-11-02 21:40:08 +08:00
067df3ab34 optimizer: fix wildcard conversion. 2015-11-02 18:37:49 +08:00