Commit Graph

55 Commits

Author SHA1 Message Date
c663937cac planner: introduce a interface for binding cache (#51351)
ref pingcap/tidb#51347
2024-02-27 11:21:30 +00:00
707b0a4e38 parser: support (Row(..),Row(..))=>(..) in the binding mode (#51319)
close pingcap/tidb#51222
2024-02-27 09:05:02 +00:00
6210eddce8 bindinfo: replace record with bind keyword (#50822)
close pingcap/tidb#48875
2024-01-30 11:00:23 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
9f5d2160b1 planner: fix the issue that upper database schema name cannot match global bindings (#50647)
close pingcap/tidb#50646
2024-01-23 08:24:28 +00:00
4539d600e5 planner: clean BindRecord in the binding package (#50590)
ref pingcap/tidb#48875
2024-01-19 08:40:48 +00:00
2c1670a5ee bindinfo: simple code (#50578)
close pingcap/tidb#48875
2024-01-19 07:18:17 +00:00
b8f07e82dc bindinfo: refactor the bindings (#50542)
ref pingcap/tidb#48875
2024-01-18 08:31:47 +00:00
5a2c79b4d8 parser: restore set_var value to string instead of plain text (#50515)
close pingcap/tidb#50507
2024-01-18 03:52:46 +00:00
245951f07d planner: clean BindRecord in the binding package (#50487)
ref pingcap/tidb#48875
2024-01-17 05:06:15 +00:00
a20cdf6f4c planner: clean BindRecord in the binding package (#50466)
ref pingcap/tidb#48875
2024-01-16 10:54:18 +00:00
8a529303ce planner: clean BindRecord in the binding package (#50460)
ref pingcap/tidb#48875
2024-01-16 07:57:16 +00:00
44e200d2a3 planner: clean BindRecord in the binding package (#50441)
ref pingcap/tidb#48875
2024-01-16 03:40:46 +00:00
3a3237ee49 planner: clean BindRecord in the binding package (#50423)
ref pingcap/tidb#48875
2024-01-15 11:34:45 +00:00
d68acd6da5 bindinfo: refacter the matcher (#50362)
ref pingcap/tidb#48875
2024-01-15 06:21:14 +00:00
4c7102cf60 planner: fix incorrect object pool usage in binding package (#50140)
ref pingcap/tidb#48875
2024-01-05 16:39:22 +00:00
c3346856e6 planner: avoid repeat normalization on the same query when matching binding for plan cache (#50133)
ref pingcap/tidb#48875
2024-01-05 09:58:51 +00:00
5fe79401b8 planner: add more test cases for fuzzy binding (#50106)
ref pingcap/tidb#48875
2024-01-05 06:51:40 +00:00
d11a559ae2 planner: remove useless binding code and add more test cases (#50098)
ref pingcap/tidb#48875
2024-01-05 02:47:03 +00:00
617eb0a5d6 planner: support global binding fuzzy matching (#50085)
ref pingcap/tidb#48875
2024-01-04 14:59:04 +00:00
8c49f5c250 bindinfo: rename tidb_opt_enable_universal_binding as tidb_opt_enable_fuzzy_binding (#50081)
ref pingcap/tidb#48875
2024-01-04 09:53:04 +00:00
8cebf0f7c7 planner: simplify global and session binding handle (#50063)
ref pingcap/tidb#48875
2024-01-04 09:02:03 +00:00
3389437f74 planner: refactor interface for binding match and prepare for fuzzy binding match (#50001)
ref pingcap/tidb#48875
2024-01-03 15:42:32 +00:00
1f49f2d09b planner: simplify the global binding interface (#50019)
ref pingcap/tidb#48875
2024-01-03 11:17:02 +00:00
8645716b91 bindinfo: simplify the GlobalBindingHandle interface (#49951)
ref pingcap/tidb#48875
2024-01-03 09:11:02 +00:00
965ad8a142 planner: simplify the binding interface (#49987)
ref pingcap/tidb#48875
2024-01-03 04:00:32 +00:00
2065be4887 planner: remove universal binding and skip related test cases temporarily (#49994)
ref pingcap/tidb#48875
2024-01-03 03:18:32 +00:00
cc805cfa99 planner: move more binding code to binding package (#49983)
ref pingcap/tidb#48875
2024-01-02 13:30:33 +00:00
3f7b017707 planner: simplify the structure of value in binding cache (#49952)
ref pingcap/tidb#48875
2024-01-02 07:09:32 +00:00
8d77d73748 bindinfo: get all table name from ast for binding fuzz matching (#49840)
ref pingcap/tidb#48875
2023-12-29 09:27:29 +00:00
6c479080d9 planner: remove the unnecessary column type from the system table mysql.bind_info (#49841)
ref pingcap/tidb#48875
2023-12-27 11:42:41 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
5c279d8007 binding: fix linter for prealloc in the GetAllBindings (#49651) 2023-12-21 07:32:01 +00:00
91fad016c3 planner: more test cases for the universal binding (#49598)
ref pingcap/tidb#48875
2023-12-20 09:58:53 +00:00
7d33d0d226 parser: ignore schema name if WithoutSchemaNameFlag is set when restoring hints (#49587)
ref pingcap/tidb#48875
2023-12-19 13:55:52 +00:00
ad1efe4510 planner: match hints from universal bindings correctly (#49585)
ref pingcap/tidb#48875
2023-12-19 12:07:52 +00:00
6645e249f3 planner: add more test cases for universal bindings (#49544)
ref pingcap/tidb#48875
2023-12-18 07:09:23 +00:00
f50e89450e planner: try to match universal bindings when optimization (#49475)
ref pingcap/tidb#48875
2023-12-18 03:07:52 +00:00
f5323284b1 planner: support creating universal bindings (#49426)
ref pingcap/tidb#48875
2023-12-14 09:40:50 +00:00
bcbccafcea *: replace exp/maps with std/maps (#49315)
ref pingcap/tidb#45933
2023-12-11 02:19:47 +00:00
90e272abc3 planner: encapsulate binding operations behind 2 interfaces (#49261)
ref pingcap/tidb#48875
2023-12-08 02:25:23 +00:00
6f72f88d59 planner: remove some useless code in the binding package (#49250)
ref pingcap/tidb#48875
2023-12-07 08:28:22 +00:00
154788a57d planner: wrap the lock/unlock operation into a standard function in binding package (#49211)
ref pingcap/tidb#48875
2023-12-06 09:43:20 +00:00
555048b430 planner: fix DATA RACE caused by TestDropBindBySQLDigest (#49164)
close pingcap/tidb#49113
2023-12-05 09:08:50 +00:00
ec02250403 planner: refactor some code of the binding package (#49093)
ref pingcap/tidb#48875
2023-12-01 10:08:57 +00:00
a6046a0fc0 planner: fix DATA RACE caused by TestCaptureWildcardFilter (#49092)
close pingcap/tidb#49088
2023-12-01 07:37:20 +00:00
e5d44e5386 planner: refactor some code of the binding package (#49009)
ref pingcap/tidb#48875
2023-11-30 11:32:49 +00:00
68271e99ee planner: refactor some code of the binding package (#48959)
ref pingcap/tidb#48875
2023-11-28 16:20:49 +00:00
46d4231c8b planner: standardize some terminologies in binding pkg (#48957)
ref pingcap/tidb#48875
2023-11-28 07:44:46 +00:00
67dc8b467c planner: simplify the syntax of creating bindings (#48878)
close pingcap/tidb#48876
2023-11-27 10:35:45 +00:00