Skip to content
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

Fix "Only allow one transaction at the same time" #2834

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

0blu
Copy link
Collaborator

@0blu 0blu commented Nov 17, 2024

This reverts and fixes commit 5a5c7d1.

@0blu 0blu added the CPP A issue / PR which references CPP code label Nov 17, 2024
@ratkosrb ratkosrb merged commit bd99c9a into vmangos:development Nov 17, 2024
3 checks passed
@@ -487,7 +486,9 @@ bool Database::CommitTransaction()
return false;

//check if we have pending transaction
ASSERT(m_TransStorage->get()); // if we will get a nested transaction request - we MUST fix code!!!
//ASSERT(m_TransStorage->get());
if (!m_TransStorage->get())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this condtion is already asserted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CPP A issue / PR which references CPP code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants