Skip to content


Subversion checkout URL

You can clone with
Download ZIP


fix strange exception message in Mysqli connection #5736

merged 1 commit into from

2 participants


Calling commit before rollback is obvious strange

@Maks3w Maks3w was assigned by jaapio
@Maks3w Maks3w merged commit a349f41 into zendframework:develop

1 check passed

Details default The Travis CI build passed
@jaapio jaapio deleted the youngguns-nl:exception_typo branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 22, 2014
  1. @jaapio

    fix strange exception message

    jaapio authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Db/Adapter/Driver/Mysqli/Connection.php
2  library/Zend/Db/Adapter/Driver/Mysqli/Connection.php
@@ -284,7 +284,7 @@ public function rollback()
if (!$this->inTransaction) {
- throw new Exception\RuntimeException('Must call commit() before you can rollback.');
+ throw new Exception\RuntimeException('Must call beginTransaction() before you can rollback.');
Something went wrong with that request. Please try again.