Where can I find the test cases for TiDB prepare syntax?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb prepare语法的测试case在哪里可以找到?

| username: oldnicke

Where can I find the test cases for the TiDB prepare syntax?

| username: TiDBer_pkQ5q1l0 | Original post link

Is it this one? PREPARE | PingCAP 文档中心

| username: tidb菜鸟一只 | Original post link

This is all the demonstration scripts for the 201 course. The demonstration corresponding to the prepare syntax is very good and worth redoing for research and study.

| username: Billmay表妹 | Original post link

You can find the executor_test.go file in the TiDB repository, which contains a large number of test cases, including test cases for the prepare syntax. You can find the relevant test cases by searching for TestExecPreparedStmt. Additionally, TiDB provides a file named prepare_test.go, which also contains test cases for the prepare syntax.

| username: oldnicke | Original post link

No, I want to find the test case set for tidb prepare.

| username: oldnicke | Original post link

Thank you for the response.

| username: oldnicke | Original post link

Thank you for your reply.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.