34ce5b5e60
topsql: optimize life cycle of stmtstats ( #31727 )
...
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
4fd9f789e5
*: remove useless else ( #31715 )
...
ref pingcap/tidb#31716
2022-01-17 17:11:44 +08:00
0d899cdd9e
planner: remove bindSQL from planCacheKey to planCacheValue ( #30916 )
2021-12-23 16:37:47 +08:00
713e6994db
planner: rename pstmtPlanCacheXX to PlanCacheXX ( #30909 )
2021-12-22 18:59:48 +08:00
af259faacf
planner: support the plan cache aware of bindings ( #30169 )
2021-12-16 10:18:35 +08:00
55a38a1c76
*: tiny clean up the RecordSet NewChunk() method ( #29232 )
2021-11-02 20:02:51 +08:00
36bc41ad05
*: reduce object allocation by reuse chunk column ( #29064 )
2021-10-28 13:14:48 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
af66129b1e
go.mod: update parser ( #27339 )
2021-08-18 19:30:00 +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
1ad33d8da4
ddl: fix drop table show errors ( #25071 )
2021-06-15 12:46:36 +08:00
c4f398948c
*: add infoschema client errors ( #22382 )
2021-03-11 19:06:55 +08:00
d19a21d92a
ddl, server, session: make gocritic happy ( #21544 )
2020-12-08 12:09:48 +08:00
aa9f7584f8
server: remove prepare stmt if no retry in stmt close() ( #20867 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-11-19 16:20:33 +08:00
4490148b4e
server: correct the length field in reply packets to the client for enum and set column types ( #18897 )
2020-08-04 20:15:32 +08:00
9b16427628
server: prefetch point-get keys for multi-statement queries. ( #18155 )
2020-06-23 13:13:18 +08:00
dc139aedb4
server,session: code refactor for multiple statements in one query ( #16056 )
2020-04-14 20:16:43 +08:00
df6f378267
stmtsummary: add a switch to decide whether capture internal q… ( #15461 )
2020-03-20 17:39:11 +08:00
a08ead1576
server: fix memory leak after cursor running fetch finished ( #13623 )
2019-11-20 16:33:31 +08:00
2d3dfac071
executor: cache column info for prepare statement ( #12388 )
2019-09-29 11:21:02 +08:00
74eaf327e9
*: log each com_stmt_fetch separately ( #11987 )
2019-09-25 17:57:16 +08:00
adb3071c90
*: refine the attribute definition of types.Time and types.Dur… ( #11672 )
2019-08-14 11:30:40 +08:00
cb23b524ac
*: directly save prepare execute args as datums in binary proto ( #10884 )
2019-07-02 13:49:06 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
a57b6e60a6
*: Add support for MAX_EXECUTION_TIME. ( #10541 )
2019-06-25 01:18:11 +08:00
f67352d238
*: print an expensive log when a query exceeds time threshold ( #10350 )
2019-06-05 20:38:11 +08:00
e48b258f92
driver_tidb.go: Optimize convertColumnInfo ( #9824 )
2019-04-04 22:44:10 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
77e91d1327
executor: kill tidb [session id] can't stop executors and release resources quickly ( #9844 )
2019-04-01 16:51:24 +08:00
2ea6e1bff5
session,server: remove error for RollbackTxn ( #9202 )
2019-02-11 09:53:12 +08:00
63936cc1fa
ddl: resolve the charset by the order: table->database->server ( #9105 )
2019-01-21 19:56:40 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
7528a059cf
executor/server/session: add extra info message sent to mysql client ( #8285 )
2018-12-19 15:32:49 +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
edaec7bdaf
*: move Statement and RecordSet from ast to sqlexec package ( #7970 )
2018-10-21 13:21:26 +08:00
48704b8420
*: fix Command and Time in show processlist ( #7844 )
2018-10-12 14:06:54 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
f915575ebe
server: add comment for #7252 ( #7549 )
2018-08-30 14:49:33 +08:00
4a3130216f
server: fix type year has too many 0s in prepare/execute ( #7525 )
2018-08-30 11:28:34 +08:00
09fb68ae3b
server: fix ComStmtSendLongData when data length is 0 ( #7485 )
2018-08-27 13:53:28 +08:00
9cf670a324
*: cut off duration.fsp in chunk ( #7043 )
2018-07-17 15:36:27 +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
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
f287451eed
tidb: move tidb/*.go to session directory ( #6062 )
...
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
631141b22c
*: remove Next function for RecordSet ( #6040 )
2018-03-13 21:05:10 +08:00
649a7a3fb1
server: fix column length when convert column info for tinyint ( #6008 )
...
When column type is tinyint, ao checks both jdbc type and its precision in qualifiers. It needs precision in qualifiers to be 1 but tidb returned column's precision is 4(here precision is just column length). This PR fixes this.
2018-03-12 11:12:42 +08:00
a3bf058304
*: 1. remove EnableChunk 2. implement Next in baseExecutor to return nil ( #5988 )
2018-03-09 17:40:11 +08:00