Exemple #1
0
 DropDbOp::DropDbOp(BufReader& log) : DurOp(JEntry::OpCode_DropDb) {
     unsigned long long reserved;
     log.read(reserved);
     log.read(reserved);
     log.readStr(_db);
     string reservedStr;
     log.readStr(reservedStr);
 }
Exemple #2
0
 FileCreatedOp::FileCreatedOp(BufReader& log) : DurOp(JEntry::OpCode_FileCreated) {
     unsigned long long reserved;
     log.read(reserved);
     log.read(reserved);
     log.read(_len); // size of file, not length of name
     string s;
     log.readStr(s);
     _p._p = s;
 }