HIVE-4972: update code generated by thrift for DemuxOperator and MuxOperator (Yin Huai via Gunther Hagleitner)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1509541 13f79535-47bb-0310-9956-ffa450edef68
HIVE-4952 : When hive.join.emit.interval is small, queries optimized by Correlation Optimizer may generate wrong results (Yin Huai via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1509542 13f79535-47bb-0310-9956-ffa450edef68
HIVE-4968 : When deduplicating multiple SelectOperators, we should update RowResolver accordinly (Yin Huai via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1509543 13f79535-47bb-0310-9956-ffa450edef68
HIVE-4638 : Thread local PerfLog can get shared by multiple hiveserver2 sessions (Prasad Mujumdar via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1509544 13f79535-47bb-0310-9956-ffa450edef68
Merge remote branch 'origin/trunk' into trunk-gd
Merge remote branch 'origin/trunk-gd' into fb-YAHOO-330-trunk-gd