Database: Added important note about indexing latest data file

This commit is contained in:
Paul Beckingham 2016-03-19 08:44:55 -04:00
parent e8c34dcc43
commit 9dcb4f1a92

View file

@ -35,6 +35,8 @@
void Database::initialize (const std::string& location)
{
_location = location;
// _data_files[0] is always the current one, which may not exist.
_current = currentDataFile ();
_data_files.push_back (_current);