88e1666ac6
*: change the log package to logrus ( #4452 )
2017-09-08 00:45:07 -05:00
f5fd467f46
*: change terror.ErrorEqual to Error.Equal, which is more effetive ( #4217 )
2017-08-17 20:06:48 +08:00
171aea2fad
plan: keep error message consistent with MySQL ( #3962 ) ( #4082 )
2017-08-09 14:24:42 +08:00
e9785fda15
*: fix some error related issues ( #4032 )
2017-08-06 00:17:08 +08:00
50a4362288
terrror: a tiny refinement on ErrorClass.String ( #4002 )
2017-08-03 15:33:43 +08:00
53713af731
store/tikv: fix retry without limit when committing the primary ( #3258 )
2017-05-16 16:48:50 +08:00
be56698f72
document-store: init work. ( #3228 )
...
* document-store: init work.
1. add error codes and messages for json;
2. add json_extract and json_unquote functions in parser;
2017-05-10 19:17:52 +08:00
97bfafa702
*: Use AggregationFunction instead of evaluate in aggregation ( #3040 )
2017-04-14 19:49:00 +08:00
af3fb807ed
server: stop listener on critical error. ( #2854 )
2017-03-17 18:54:51 +08:00
ea894e8b77
*: Add a function GenByArgs for Error ( #2033 )
...
*: Add a function GenByArgs for Error
2016-11-27 13:18:43 +08:00
1c6c145f94
*: Set custom verbose flag to true ( #1956 )
...
* *: set custom verbose flag to true
* *: update .gitignore
2016-11-05 18:00:13 +08:00
2df4a4f29b
types: returns data too long error ( #1837 )
...
* types: returns data too long error when inserting a string longer than field type length.
2016-10-18 14:12:06 +08:00
95661dab7c
ddl: Fix the error format bug. ( #1786 )
2016-10-08 11:31:10 +08:00
b99521846f
*: Make golint work and happy. ( #1721 )
2016-09-13 18:11:47 +08:00
dde36a141f
*: Convert string to terror in DDL Job ( #1699 )
...
* *: convert string to terror
2016-09-09 09:58:40 +08:00
b37c89d27b
terror: Fix SQL error message bug ( #1394 )
2016-07-05 16:07:00 +08:00
5dc459c657
terror: Improve terror performance. ( #1393 )
2016-07-05 15:04:33 +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
f09574d826
*: support sql mode ( #1263 )
2016-05-30 13:16:41 +08:00
a236ab94f3
xapi/xeval: implement tipb.Expr evaluator. ( #1063 )
...
* xapi/xeval: implement tipb.Expr evaluator.
* *: address comment
* xapi/xeval: update import
2016-04-08 14:25:17 +08:00
08034540f0
*: Add leak test
...
* *: add leak test and tiny clean up
* *: unify test format and add leak test
Conflicts:
store/localstore/compactor_test.go
mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
6aacddd44e
*: unify error format
2016-03-31 16:20:47 +08:00
d17e99073d
*: unify errors in ddl package
2016-03-29 11:37:33 +08:00
e5eef7b2fd
Merge remote-tracking branch 'origin/master' into shenli/variable-error
2015-12-26 21:55:20 +08:00
0b99e0440b
*: Move variable errors to sessionctx/variable
2015-12-24 15:27:41 +08:00
87d007d234
*: Move kv errors to kv package
2015-12-24 13:34:03 +08:00
c7baa9f1f5
*: Add test case for optimizer error
2015-12-23 17:43:31 +08:00
ec5ce966c9
*: schema errors
...
1. Move schema errors from terror to infoschema.
2. Convert those errors to mysql error.
2015-12-23 13:07:02 +08:00
9a943edeb9
terror: Address comment
2015-12-18 12:51:36 +08:00
1871bb8acc
terror: Remove useless code
2015-12-18 11:15:53 +08:00
aad3d8097f
*: Add test case
2015-12-18 11:14:09 +08:00
67ad875a29
*: Convert ErrKeyExists to MySQL error
2015-12-17 23:56:16 +08:00
1e1ef8a0bd
*: Support connection_id()
...
Fix: https://github.com/pingcap/tidb/issues/715
2015-12-14 14:40:55 +08:00
d44db8b272
Merge pull request #651 from pingcap/coocood/new-plan
...
optimizer, executor: Use new plan for simple select statement.
2015-12-09 17:37:26 +08:00
4f565159d0
optimizer, executor: remove panic and Fatal, returns error instead.
2015-12-09 14:53:41 +08:00
d5f82288d8
evaluator: use terror
2015-12-09 12:38:29 +08:00
f706845e49
terror: remove error checker to simplify flags.
...
@coocood
2015-12-03 16:16:07 +08:00
7b666d187a
terror: add helper checker to simplify error check in test.
2015-11-19 10:24:49 +08:00
48f6bc4b0d
*: add UnknownSystemVar
2015-11-10 21:31:40 +08:00
3684664f5d
*: use terror instead of error
2015-11-10 20:16:22 +08:00
f1a4be756b
terror: improve test.
2015-11-06 19:26:03 +08:00
807b897939
terror: remove cause functionality.
...
Because that make equal check invalid.
2015-11-06 18:33:11 +08:00
de8f85e3f5
terror: fix wrong import
2015-11-06 18:07:21 +08:00
d184f69349
terror: implement juju/errors interfaces to support printing error stack.
...
Also make base error immutable.
2015-11-06 18:04:29 +08:00
29905679fa
Merge remote-tracking branch 'origin/master' into shenli/issue-515.
...
Use terror to check table not exists error.
Conflicts:
bootstrap.go
2015-11-06 10:34:00 +08:00
38726769b4
terror: new implementation.
2015-11-05 19:15:49 +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
0fab139acb
terror: address comment.
2015-11-04 19:01:31 +08:00