public LocalQueryResult(DeveelDbConnection connection)
        {
            this.connection = connection;

            MaxFetchSize     = connection.Settings.MaxFetchSize;
            DefaultFetchSize = connection.Settings.FetchSize;
        }
        private void Dispose(bool disposing)
        {
            if (disposing)
            {
                try {
                    Close();
                } catch (DeveelDbException) {
                    // Ignore
                    // We ignore exceptions because handling cases where the server
                    // connection has broken for many ResultSets would be annoying.
                }
            }

            connection  = null;
            columns     = null;
            resultBlock = null;
        }