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:
@@ -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}");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user