Revision fa9e5d94 src/sql/LogDB.cc

View differences:

src/sql/LogDB.cc
61 61

  
62 62
    if ( _sql == 0 )
63 63
    {
64

  
65
        std::ostringstream oss;
66

  
67
        oss << "Error zlib inflate for " << index << ", " << fed_index
68
            << ", " << zsql;
69

  
70
        NebulaLog::log("DBM", Log::ERROR, oss);
71

  
64 72
        return -1;
65 73
    }
66 74

  
......
191 199

  
192 200
    if ( lr.index != index )
193 201
    {
202
        std::ostringstream oss;
203

  
204
        oss << "Log record " << index << " loaded incorrectly. Record index: "
205
            << lr.index << " fed. index: " << lr.fed_index << " sql command: " 
206
            << lr.sql << ". Operation return code: " << rc;
207

  
208
        NebulaLog::log("DBM", Log::ERROR, oss);
209

  
194 210
        rc = -1;
195 211
    }
196 212

  

Also available in: Unified diff