Skip to content

MySQL doesn't support multiple statements #240

Closed
@wxiaoguang

Description

@wxiaoguang

This change is not right. MySQL doesn't work that way.

LoadFixtures failed after retries: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `issue` AUTO_INCREMENT = 10000;ALTER TABLE `release` AUTO_INCREMENT ' at line 1

Originally posted by @wxiaoguang in #208 (comment)


Well ... see the REAMDE: ?multiStatements=true but it is not a good approach. It makes the tests different from the production config.

The testfixtures should use the same connection parameters as production IMO

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