Fixed C++ mode in database.