comdb2
comdb2 copied to clipboard
Return if setting NULL
I couldn't exploit this line not being here, seems like if inserting a NULL blob then this function doesn't get called, with cdb2sql or tagged api
Tried with
tag ondisk {
int a
blob b[5] null=yes
}
tag "imatag" {
int a
}
keys {
dup "a" = a
}
Wasn't able to try with adding a null blob field to the tag though
To help us review your pull request, please consider providing an overview of the following:
- What is the type of the change (bug fix, feature, documentation and etc.) ?
- What are the current behavior and expected behavior, if this is a bugfix ?
- What are the steps required to reproduce the bug, if this is a bugfix ?
- What is the current behavior and new behavior, if this is a feature change or enhancement ?
- [Optional] Why is the new behavior better than the current behavior, if this is a feature change ?