diesel-rs/diesel

MySQL: Figure out how to handle tests that modify schema

Open

#661 opened on Feb 9, 2017

 (2 comments) (0 reactions) (0 assignees)Rust (1,003 forks)batch import
help wantedmysql

Repository metrics

Stars
 (12,054 stars)
PR merge metrics
 (PR metrics pending)

Description

Our test suite for Postgres and SQLite assumes we can modify the db schema inside a transaction. This does not work on MySQL (it commits the transaction when you try to modify the schema).

We need to figure out a way to have those tests run on MySQL without introducing a bunch of overhead.

(To find affected tests, grep for FIXME: Figure out how to handle tests that modify schema)

Contributor guide