Fix ProjectedRow.freeze() which is used only by the types2, and when used b types 3 seems to cause an NPE and a number of other problems. 
Fix ProjectedRow.freeze() which is used only by the types2, and when used b types 3 seems to cause an NPE and a number of other problems. 
shunwang/sql-layer-1,qiuyesuifeng/sql-layer,ngaut/sql-layer,wfxiang08/sql-layer-1,jaytaylor/sql-layer,jaytaylor/sql-layer,jaytaylor/sql-layer,shunwang/sql-layer-1,relateiq/sql-layer,wfxiang08/sql-layer-1,relateiq/sql-layer,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,ngaut/sql-layer,jaytaylor/sql-layer,wfxiang08/sql-layer-1,ngaut/sql-layer,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,relateiq/sql-layer,qiuyesuifeng/sql-layer,relateiq/sql-layer,ngaut/sql-layer