diff --git a/cpp/include/RCDB/Connection.h b/cpp/include/RCDB/Connection.h index 1d1e78f..a3ae436 100644 --- a/cpp/include/RCDB/Connection.h +++ b/cpp/include/RCDB/Connection.h @@ -49,8 +49,7 @@ namespace rcdb{ #ifdef RCDB_MYSQL _provider.reset(new MySqlProvider(_connectionString)); - #else - #error HUYNYA!~!!!!!! + #else throw std::logic_error("RCDB built without MySQL support. Rebuild it using 'with-mysql=true' flag"); #endif }