Fix Hive database upgrade script.
Fix typo.