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:
parent
b3328e0458
commit
defa124a89
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user