fix db_iteration
fix db clause
Merge remote-tracking branch 'origin/master' into develop

Conflicts:
	src/libs/external/db/erlog_db.erl