1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

compilation fix for gcc12 on known gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329

This commit is contained in:
Leonid Fedorov
2024-01-03 18:14:59 +00:00
committed by Leonid Fedorov
parent cbf6eff94d
commit d0f657b01f
2 changed files with 6 additions and 7 deletions

View File

@ -1349,10 +1349,10 @@ TEST(Decimal, DecimalToStringCheckScale0)
datatypes::Decimal dec(0, scale, precision, res);
// test simple values
expected = "0";
expected = std::string("0");
EXPECT_EQ(dec.toString(), expected);
res = 2;
expected = "2";
expected = std::string("2");
dec.setTSInt128Value(res);
EXPECT_EQ(dec.toString(), expected);
res = -2;