-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please support savepoint #6840
Comments
@aesirteam |
Duplicate with #3663 |
Why don't support? I think it's important to implement Sequelize's Callback transaction |
@muyu66 yes, |
Add Savepoints, via: pingcap/tidb#6840 Clarify it is fulltext indexes + functions And spatial indexes + functions Add non binary collations
Add Savepoints, via: pingcap/tidb#6840 Clarify it is fulltext indexes + functions And spatial indexes + functions Add non binary collations
@lysu pingcap/docs#682 this pull just add the compatibility of |
@ihipop , yes , savepoint isn't supported until now.. |
Good to see if savepoint can be supported |
Is there a plan to support savepoint? |
Recently when I test GORM and TiDB compatibility (inspired by #24194) 2021/08/16 11:14:38 gorm.io/driver/mysql@v1.1.1/mysql.go:330
Error 1064: You have an error in your SQL syntax;
check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 11 near "TO SAVEPOINT save_point1"
[0.190ms] [rows:0] ROLLBACK TO SAVEPOINT save_point1
--- FAIL: TestTransactionWithSavePoint (0.01s)
transaction_test.go:193: Should not find rollbacked record With SAVEPOINT supported, TiDB will also be more compatible with GORM. |
@wzru Yes, savepoint is on the roadmap, thanks! |
Any news? |
+1 |
Is it supported now? |
I will work on this now |
Hi bro, is it convenient to ask? Which version supports savepoint? |
If it goes well, savepoint may be supported in TiDB v6.2.0. |
+1, Seata needs the support of saveponit. |
@crazycs520 I notice v6.2.0 just released, is the feature SAVEPOINT added in it? |
Yes. You could check release notes here. It seems that github release notes are not completed. |
Since savepoint is implemented, why is it still stated that in the document:
|
@HashZhang Nice catch! I'll update develop guide ASAP. |
Actually, I already updated the Choose Driver or ORM doc. |
This note has been added to v6.1 and later versions. https://docs.pingcap.com/tidb/stable/dev-guide-choose-driver-or-orm |
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
All statements succeed.
tidb-server -V
or runselect tidb_version();
on TiDB)?Release Version: v2.1.0-alpha-48-ge2c8c4e
Git Commit Hash: e2c8c4e
Git Branch: master
UTC Build Time: 2018-06-13 12:05:19
GoVersion: go version go1.10.2 linux/amd64
Race Enabled: false
TiKV Min Version: 2.1.0-alpha.1-c4133d3ef0f099f8716a916c198390b26293ec00
The text was updated successfully, but these errors were encountered: