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

Bugfix: The exception has to be of type std::runtime_error, not std::string.

This commit is contained in:
Nedeljko Stefanovic 2025-06-03 22:10:46 +00:00
parent b3328e0458
commit defa124a89

View File

@ -37,7 +37,7 @@ BufferedFile::BufferedFile(const char* fname, const char* mode, unsigned opts)
{
static string message = "D 35 CAL0002: Failed to open file: ";
throw(message+fname+", exception: "+strerror(err));
throw std::runtime_error(message+fname+", exception: "+strerror(err));
}
applyOptions(opts);