comdb2 icon indicating copy to clipboard operation
comdb2 copied to clipboard

Return if setting NULL

Open chands10 opened this issue 1 year ago • 0 comments

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 ?

chands10 avatar Aug 22 '23 19:08 chands10