We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 522e4ca + 7989cce commit 289c163Copy full SHA for 289c163
utils/rowgroup/rowgroup.h
@@ -1617,7 +1617,7 @@ inline bool StringStore::isNullValue(uint64_t off) const
1617
return true;
1618
if (mc->data[offset+4] == 0) // "" = NULL string for some reason...
1619
1620
- return (*((uint64_t *) &mc->data[offset]+4) == *((uint64_t *) joblist::CPNULLSTRMARK.c_str()));
+ return (memcmp(&mc->data[offset+4], joblist::CPNULLSTRMARK.c_str(), 8) == 0);
1621
}
1622
1623
inline bool StringStore::equals(const std::string &str, uint64_t off) const
0 commit comments