wangliuyang 812bb20c34
fix(nested transaction): SavePoint SQL Statement not support in Prepared Statements (#6220)
* test: add nested transaction and prepareStmt coexist test case

note: please test in the MySQL environment

Change-Id: I0db32adc5f74b0d443e98943d3b182236583b959
Signed-off-by: 王柳洋 <wangliuyang.520@bytedance.com>

* fix(nested transaction): SavePoint SQL Statement not support in Prepared Statements

1. SavetPoint SQL Statement not support in Prepared Statements
 e.g. see mysql8.0 doc: https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html

Change-Id: I082012db9b140e8ec69764c633724665cc802692
Signed-off-by: 王柳洋 <wangliuyang.520@bytedance.com>

* revert(transaction_api): remove savepoint name pool,meaningless

Change-Id: I84aa9924fc54612005a81c83d66fdf8968ee56ad
Signed-off-by: 王柳洋 <wangliuyang.520@bytedance.com>

---------

Signed-off-by: 王柳洋 <wangliuyang.520@bytedance.com>
Co-authored-by: 王柳洋 <wangliuyang.520@bytedance.com>
2023-05-26 10:24:28 +08:00
..
2020-07-28 14:46:48 +08:00
2023-04-21 22:09:38 +08:00
2023-04-21 22:09:38 +08:00
2021-10-26 22:40:14 +08:00
2023-04-26 22:19:32 +08:00
2022-03-24 09:31:58 +08:00
2023-02-27 15:44:35 +08:00
2020-02-23 09:38:51 +08:00
2023-04-11 12:01:23 +08:00
2023-04-21 22:09:38 +08:00
2022-07-14 14:55:54 +08:00
2022-07-14 14:55:54 +08:00
2022-09-05 15:39:19 +08:00

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh