From 0b7c4ecee208775feefca703ed2867b9a870fb7c Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Wed, 4 Jul 2012 22:54:04 +0200 Subject: [PATCH] added all --- arangod/RestHandler/RequestStatisticsHandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arangod/RestHandler/RequestStatisticsHandler.cpp b/arangod/RestHandler/RequestStatisticsHandler.cpp index 7c4f0f056f..9eb8c9f45c 100644 --- a/arangod/RestHandler/RequestStatisticsHandler.cpp +++ b/arangod/RestHandler/RequestStatisticsHandler.cpp @@ -169,8 +169,11 @@ Handler::status_e RequestStatisticsHandler::execute () { if (l == "current") { length = 0; } + else if (l == "all" || l == "*") { + length = -1; + } else { - length = StringUtils::uint32(l); + length = StringUtils::int32(l); } } else {