             _connHandler.handleCodecError(error);
             _queryHandler.dispose();
             _queryHandler = null;
+            // Note that we still may need to throw away any number of DataRow messages
+            _hasCodecError = true; 
         }
 
     }

        private function handleData(msg:DataRow):void {
            if (_queryHandler) {
                _currResults.push(msg.rowBytes);
            } else {
                onProtocolError(new ProtocolError('Unexpected DataRow message'));
            }


        private var _queryHandler:IQueryHandler;
        private var _currResults:Array;
        private var _hasCodecError:Boolean;

        private var _password:String;
        
