~ubuntu-branches/ubuntu/trusty/leveldb/trusty

« back to all changes in this revision

Viewing changes to db/repair.cc

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-11-30 12:06:07 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20111130120607-e973e9fkwp0re29b
Tags: 0+20111031.git36a5f8e-2
* Fix build failure with --as-needed flag enabled (Closes: #647105).
* Re-introduce Cristoph Egger's patch to allow compilation
  on kFreeBSD (Closes: #648248).

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
        fname.c_str(), s.ToString().c_str());
378
378
  }
379
379
};
380
 
}
 
380
}  // namespace
381
381
 
382
382
Status RepairDB(const std::string& dbname, const Options& options) {
383
383
  Repairer repairer(dbname, options);
384
384
  return repairer.Run();
385
385
}
386
386
 
387
 
}
 
387
}  // namespace leveldb