Improve to_bitmap parse int performance (#2223)
This commit is contained in:
@ -90,7 +90,7 @@ TEST_F(BitmapFunctionsTest, to_bitmap_invalid_argument) {
|
||||
ASSERT_EQ(expected, result);
|
||||
ASSERT_TRUE(ctx->has_error());
|
||||
|
||||
std::string error_msg("The to_bitmap function argument: xxxxxx type isn't integer family");
|
||||
std::string error_msg("The to_bitmap function argument: xxxxxx type isn't integer family or exceed unsigned integer max value 4294967295");
|
||||
ASSERT_EQ(error_msg, ctx->error_msg());
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ TEST_F(BitmapFunctionsTest, to_bitmap_out_of_range) {
|
||||
|
||||
ASSERT_TRUE(ctx->has_error());
|
||||
|
||||
std::string error_msg("The to_bitmap function argument: 4294967296 exceed unsigned integer max value 4294967295");
|
||||
std::string error_msg("The to_bitmap function argument: 4294967296 type isn't integer family or exceed unsigned integer max value 4294967295");
|
||||
ASSERT_EQ(error_msg, ctx->error_msg());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user