minor fix exception message

This commit is contained in:
bharatnc 2020-08-26 13:14:02 -07:00
parent 22c3d5ec57
commit 593f054b10
2 changed files with 3 additions and 3 deletions

View File

@ -595,8 +595,8 @@ static StoragePtr create(const StorageFactory::Arguments & args)
if (index_granularity_bytes > 0 && index_granularity_bytes < min_index_granularity_bytes)
{
throw Exception(
"index_granularity_bytes " + std::to_string(min_index_granularity_bytes)
+ " is lesser than specified min_index_granularity_bytes" + std::to_string(min_index_granularity_bytes),
"index_granularity_bytes: " + std::to_string(index_granularity_bytes)
+ " is lesser than specified min_index_granularity_bytes: " + std::to_string(min_index_granularity_bytes),
ErrorCodes::BAD_ARGUMENTS);
}
}

View File

@ -2,4 +2,4 @@
--- INSERT INTO TABLE invalid_min_index_granularity_bytes_setting ---
--- CREATE TABLE with VALID index_granularity_bytes i.e index_granularity_bytes > min_index_granularity_bytes ---
--- INSERT INTO TABLE valid_min_index_granularity_bytes_setting ---
1
1