HIVE-7345 : Beeline changes its prompt to reflect successful database connection even after failing to connect (Ashish Kumar Singh via Navis)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1611537 13f79535-47bb-0310-9956-ffa450edef68