From 95149c4e4a5636dd36b629fad1478a47cad2ae35 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Sat, 6 Jun 2020 13:34:50 -0700 Subject: [PATCH] test: fix postgres tests after tweak to make mssql work with test type macros --- sqlx-test/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-test/src/lib.rs b/sqlx-test/src/lib.rs index cc1f863b..3d1ddaf5 100644 --- a/sqlx-test/src/lib.rs +++ b/sqlx-test/src/lib.rs @@ -199,6 +199,6 @@ macro_rules! Sqlite_query_for_test_prepared_type { #[macro_export] macro_rules! Postgres_query_for_test_prepared_type { () => { - "SELECT {0} is not distinct from $1, {0}, $2" + "SELECT ({0} is not distinct from $1)::int4, {0}, $2" }; }