Bug #104830 Incorrect documentation: Beginning a transaction causes any pending transaction
Submitted: 5 Sep 2021 0:58 Modified: 10 Sep 2021 15:11
Reporter: SIDDHARTH jain Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.7, 8.0 OS:Any
Assigned to: CPU Architecture:Any

[5 Sep 2021 0:58] SIDDHARTH jain
Description:
from https://dev.mysql.com/doc/refman/5.7/en/commit.html:

Beginning a transaction causes any pending transaction to be committed

If Beginning a transaction causes any pending transaction to be committed then all transactions are effectively serialized. Do you mean to say Beginning a transaction causes any pending transaction to be committed within the same session (connection)?

refer: https://forums.mysql.com/read.php?10,698642,698642#msg-698642

How to repeat:
n/a
[5 Sep 2021 9:05] MySQL Verification Team
Hello SIDDHARTH jain,

Thank you for the report and feedback.

regards,
Umesh
[10 Sep 2021 15:11] Jon Stephens
https://dev.mysql.com/doc/refman/5.7/en/sql-transactional-statements.html states:

> MySQL supports local transactions (within a given client session) through
> statements such as SET autocommit, START TRANSACTION, COMMIT, and ROLLBACK.

So this is not a bug.

Thanks for using MySQL.