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

MSan added with fixes for libc++

This commit is contained in:
Leonid Fedorov
2025-07-12 00:57:46 +00:00
parent d4d87ad07f
commit 680adce45d
122 changed files with 587 additions and 471 deletions

View File

@@ -39,23 +39,24 @@ int main(int argc, char** argv)
uint32_t lowerOid;
uint32_t upperOid;
desc.add_options()("help", "produce help message")
("lower-oid,l", po::value<uint32_t>(&lowerOid)->required(), "lower oid that can not be lower 3000")
("upper-oid,u", po::value<uint32_t>(&upperOid)->required(), "lower oid that can not be bigger 16 * 1024 ^ 2");
desc.add_options()("help", "produce help message")(
"lower-oid,l", po::value<uint32_t>(&lowerOid)->required(), "lower oid that can not be lower 3000")(
"upper-oid,u", po::value<uint32_t>(&upperOid)->required(),
"lower oid that can not be bigger 16 * 1024 ^ 2");
po::variables_map vm;
po::store(po::parse_command_line(argc, argv, desc), vm);
if (argc == 1 || vm.count("help"))
{
cout << desc << "\n";
std::cout << desc << "\n";
return 1;
}
uint32_t bitMapSize = 8 * 2 * 1024 * 1024;
check_value<int>(vm, "lower-oid", 3000, bitMapSize-1);
check_value<int>(vm, "lower-oid", 3000, bitMapSize - 1);
check_value<int>(vm, "upper-oid", lowerOid, bitMapSize);
po::notify(vm);
BRM::DBRM brm;