fixed a bug in 7.sql
Merge branch 'master' of https://github.com/nforge/hive