From 5c40d3b7e21fdab945f39f8f1c2eadc0b011aee6 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 27 Oct 2018 13:04:52 -0700 Subject: [PATCH] Reenable MySQL pooling support. --- contrib/lib/Cargo.toml | 6 +++--- scripts/test.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/lib/Cargo.toml b/contrib/lib/Cargo.toml index 1a24706c..415df68c 100644 --- a/contrib/lib/Cargo.toml +++ b/contrib/lib/Cargo.toml @@ -28,7 +28,7 @@ diesel_sqlite_pool = ["databases", "diesel/sqlite", "diesel/r2d2"] diesel_postgres_pool = ["databases", "diesel/postgres", "diesel/r2d2"] diesel_mysql_pool = ["databases", "diesel/mysql", "diesel/r2d2"] postgres_pool = ["databases", "postgres", "r2d2_postgres"] -# mysql_pool = ["databases", "mysql", "r2d2_mysql"] +mysql_pool = ["databases", "mysql", "r2d2_mysql"] sqlite_pool = ["databases", "rusqlite", "r2d2_sqlite"] cypher_pool = ["databases", "rusted_cypher", "r2d2_cypher"] redis_pool = ["databases", "redis", "r2d2_redis"] @@ -56,8 +56,8 @@ diesel = { version = "1.0", default-features = false, optional = true } postgres = { version = "0.15", optional = true } r2d2 = { version = "0.8", optional = true } r2d2_postgres = { version = "0.14", optional = true } -# mysql = { version = "14", optional = true } -# r2d2_mysql = { version = "9", optional = true } +mysql = { version = "14", optional = true } +r2d2_mysql = { version = "9", optional = true } rusqlite = { version = "0.14.0", optional = true } r2d2_sqlite = { version = "0.6", optional = true } rusted_cypher = { version = "1", optional = true } diff --git a/scripts/test.sh b/scripts/test.sh index aa40a1c0..fd96eac1 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -90,7 +90,7 @@ if [ "$1" = "--contrib" ]; then diesel_sqlite_pool diesel_mysql_pool postgres_pool - # mysql_pool + mysql_pool sqlite_pool cypher_pool redis_pool