Skip to content

Syntax error or access violation: 1305 SAVEPOINT LEVEL1 does not exist #3715

@githubjeka

Description

@githubjeka

What are you trying to achieve?

Install advanced Yii2

run tests

Time: 7.66 seconds, Memory: 28.00MB

OK (24 tests, 67 assertions)

Add to site/index code:

    public function actionIndex()
    {
        $tr = \Yii::$app->db->beginTransaction();
        $tr->commit();
        return $this->render('index');
    }

run tests

>  [yii\db\Exception] SQLSTATE[42000]: Syntax error or access violation: 1305 SAVEPOINT LEVEL1 does not exist
The SQL being executed was: RELEASE SAVEPOINT LEVEL1

ERRORS!
Tests: 24, Assertions: 66, Errors: 1.

Details

  • Codeception version: 2.2.6
  • PHP Version: 7.0.5
  • Operating System: Windows 10
  • Mysql 5.7.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions