added temporary function for @mchacki
fixed compile warning
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel