From 1bdb7cc316c76c3246502b0d9cfd96bb5994f9d5 Mon Sep 17 00:00:00 2001
From: Shylock Hg <33566796+Shylock-Hg@users.noreply.github.com>
Date: Fri, 24 Jul 2020 12:02:25 +0800
Subject: [PATCH] Add some debug check in the unimplemented iterator. (#111)

* Add some debug check in the unimplemented iterator.

* Fix the log message.

Co-authored-by: dutor <440396+dutor@users.noreply.github.com>
---
 src/context/Iterator.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/context/Iterator.h b/src/context/Iterator.h
index 4ea0a1cf..f316d371 100644
--- a/src/context/Iterator.h
+++ b/src/context/Iterator.h
@@ -179,10 +179,12 @@ public:
     }
 
     const Value& getColumn(const std::string& /* col */) const override {
+        DLOG(FATAL) << "This method should not be invoked";
         return Value::kEmpty;
     }
 
     const LogicalRow* row() const override {
+        DLOG(FATAL) << "This method should not be invoked";
         return nullptr;
     }
 
-- 
GitLab