Revision 7aacd86c

View differences:

include/MySqlDB.h
126 126
            int    port,
127 127
            string user,
128 128
            string password,
129
            const char * database)
129
            string database)
130 130
    {
131 131
        throw runtime_error("Aborting oned, MySQL support not compiled!");
132 132
    };
include/test/OneUnitTest.h
57 57
        if (mysql)
58 58
        {
59 59
            db = new MySqlDB(  "localhost",0,
60
                                "oneadmin","oneadmin",NULL);
60
                                "oneadmin","oneadmin",db_name);
61 61

  
62 62
            ostringstream   oss1;
63 63
            oss1 << "DROP DATABASE IF EXISTS " << db_name;

Also available in: Unified diff