Commit Graph

18 Commits

Author SHA1 Message Date
0f4bd73741 server: avoid reusing cached stmt ctx on cursor read (#40023)
close pingcap/tidb#39998
2022-12-22 11:00:55 +08:00
0fe61bd41a *: prevent cursor read from being cancelled by GC (#39950)
close pingcap/tidb#39447
2022-12-16 16:12:52 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
b813b373b9 server: support com_stmt_sendlongdata with character_set_client (#31055)
close pingcap/tidb#30801
2021-12-28 10:33:49 +08:00
04a9618f5c server: support decoding prepared string args to character_set_client (#30723) 2021-12-15 12:14:34 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
22c7d8b129 server: migrate test-infra to testify for server/conn_stmt_test.go (#27756) 2021-09-09 09:52:38 +08:00
a85ed79d84 server: migrate test-infra to testify for server/conn_test.go (#27407) 2021-08-31 13:24:13 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
cb23b524ac *: directly save prepare execute args as datums in binary proto (#10884) 2019-07-02 13:49:06 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
5b689e8c5b server: fix insert zero timestamp bug with prepared statement (#7506) 2018-08-28 13:36:36 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +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