We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c7a99 commit 16b9680Copy full SHA for 16b9680
src/_macros.rs
@@ -69,7 +69,7 @@ macro_rules! raw_metadata_getter_for_tables {
69
($idtype: ty) => {
70
fn raw_metadata<I: Into<$idtype>>(&self, row: I) -> Option<&[u8]> {
71
assert!(
72
- (self.num_rows() != 0 && self.as_ref().metadata_length != 0)
+ (self.num_rows() == 0 && self.as_ref().metadata_length == 0)
73
|| (!self.as_ref().metadata.is_null()
74
&& !self.as_ref().metadata_offset.is_null())
75
);
0 commit comments