Issue  #3166 was fixed.
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop