diff options
author | Jochen Topf <jochen@topf.org> | 2011-05-17 19:15:12 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2011-05-17 19:15:12 +0200 |
commit | 888ec0cbb7536b34bd18bc031346f4266af57322 (patch) | |
tree | 0306936db726e248ebdbe5ff16d862f62c7382f6 /tagstats/tagstats_handler.hpp | |
parent | 1834d964a81de0c0f2e79c718262a4e1fd5ba4b5 (diff) | |
download | taginfo-888ec0cbb7536b34bd18bc031346f4266af57322.tar taginfo-888ec0cbb7536b34bd18bc031346f4266af57322.tar.gz |
Removed reference to Osmium::OSM::Object::max_length_timestamp because it was
a) wrong and b) is not available any more.
Diffstat (limited to 'tagstats/tagstats_handler.hpp')
-rw-r--r-- | tagstats/tagstats_handler.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tagstats/tagstats_handler.hpp b/tagstats/tagstats_handler.hpp index 17119fc..47166a6 100644 --- a/tagstats/tagstats_handler.hpp +++ b/tagstats/tagstats_handler.hpp @@ -356,7 +356,7 @@ public: db->begin_transaction(); struct tm *tm = gmtime(&max_timestamp); - static char max_timestamp_str[Osmium::OSM::Object::max_length_timestamp+1]; + static char max_timestamp_str[20]; // thats enough space for the timestamp generated from the pattern in the next line strftime(max_timestamp_str, sizeof(max_timestamp_str), "%Y-%m-%d %H:%M:%S", tm); statement_update_meta->bind_text(max_timestamp_str)->execute(); |