469fa877d6
util/hack: define a MutableString type for function hack.String ( #9230 )
2019-02-12 12:30:40 +08:00
e2b3912296
reset bound arguments when it is executed by execute command ( #8645 )
2018-12-11 16:42:03 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +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
8b2590f78f
server: add log for binary execute statement ( #7987 )
2018-10-23 17:08:17 +08:00
48704b8420
*: fix Command and Time in show processlist ( #7844 )
2018-10-12 14:06:54 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
e7409e38ee
*: correct comment mistakes. ( #7661 )
2018-09-11 09:41:30 +08:00
4538bcd52c
server: make long-data type no longer check nullBitmap ( #7573 )
2018-09-05 17:31:12 +08:00
5b689e8c5b
server: fix insert zero timestamp bug with prepared statement ( #7506 )
2018-08-28 13:36:36 +08:00
eeeb092450
server: fix binary numeric type overflow ( #6922 )
2018-07-09 16:46:56 +08:00
1fbcc10650
server,mysql: support server-side cursors ( #6648 )
...
Implement server-side cursors by handling COM_STMT_FETCH command.
The client indicates that it wants to use cursor
by setting a flag in COM_STMT_EXECUTE
Please refer to https://dev.mysql.com/doc/internals/en/com-stmt-execute.html
Subsequently, the client acquires result rows repeatedly by COM_STMT_FETCH,
which will carry stmt-id and fetch size.
Please refer to https://dev.mysql.com/doc/internals/en/com-stmt-fetch.html
This commit only support forward-only, read-only cursor
2018-06-22 16:10:08 +08:00
65131a44a0
server: support binary time type ( #6516 )
2018-05-20 11:13:02 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
88b8740724
*: avoid the generation of mysql.TypeNewDate ( #5705 )
2018-01-23 21:41:02 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
a7b0a1f915
server,tidb: move cancel function from session to clientConn ( #5346 )
2017-12-09 15:27:58 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
91196a2dae
server: reduce "growslice" in "dumpRowValuesBinary" ( #4916 )
2017-11-02 13:08:36 +08:00
eea5cb2237
*: tiny clean up ( #3542 )
2017-06-26 10:47:52 +08:00
8ba5d9ee2a
*: avoid using TypeDecimal ( #2619 )
...
TypeDecimal is misleading, it is not used as Decimal type, it's an unspecified type.
2017-02-10 10:53:05 +08:00
b180334231
server: fix issue 2346 ( #2351 )
...
ComStmtExecute packet just send params type information the first time,
so PrepareStmt should save it for further use.
2016-12-29 23:28:17 +08:00
6b444f8e55
server: check an array out of range for malform packet ( #2048 )
2016-11-21 23:10:28 +08:00
5ebdc1c765
server: support MULTI_STATEMENTS and MULTI_RESULTS capability ( #1628 )
...
only handle COM_QUERY currently, COM_STMT_PREPARE would be supported later
http://dev.mysql.com/doc/internals/en/capability-flags.html#flag-CLIENT_MULTI_STATEMENTS
implement set option in client/server protocol
http://dev.mysql.com/doc/internals/en/com-set-option.html
2016-08-26 12:27:52 +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
0ecb4da39d
*: migrate to vendor ( #1175 )
2016-04-28 16:57:18 +08:00