2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-14 12:52:17 +00:00

Now years are represented as plain ints

Now values do not have ::date::year as an option;
represented as plain uint32_t instead
This commit is contained in:
ruben
2020-01-31 13:06:21 +00:00
parent e949859783
commit 8d6c1bbaf7
12 changed files with 27 additions and 77 deletions

View File

@@ -76,7 +76,7 @@ TEST(RowTest, OperatorStream_OneElement)
TEST(RowTest, OperatorStream_SeveralElements)
{
EXPECT_EQ((to_string(makerow("value", nullptr))), "{value, <NULL>}");
EXPECT_EQ((to_string(makerow("value", mysql::year(2019), 3.14f))), "{value, 2019, 3.14}");
EXPECT_EQ((to_string(makerow("value", std::uint32_t(2019), 3.14f))), "{value, 2019, 3.14}");
}
}