summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/rid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/rid.h b/core/rid.h
index 583d62a5b1..0c4a96efed 100644
--- a/core/rid.h
+++ b/core/rid.h
@@ -66,6 +66,7 @@ public:
return _id != p_rid._id;
}
_FORCE_INLINE_ bool is_valid() const { return _id != 0; }
+ _FORCE_INLINE_ bool is_null() const { return _id == 0; }
_FORCE_INLINE_ uint64_t get_id() const { return _id; }