Skip to content

Commit

Permalink
Update Connection.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Romanov authored Aug 9, 2017
1 parent 8a1f788 commit 54b1744
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/include/RCDB/Connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 54b1744

Please sign in to comment.