wrote more code for mysql::stmt_execute().

changed error handling in mod-mysql.c
This commit is contained in:
2020-01-19 04:43:56 +00:00
parent 6c3a3f3f1e
commit 8246a38f61
2 changed files with 280 additions and 208 deletions

View File

@ -43,7 +43,7 @@ hawk_val_t* hawk_get_awk_nil_val (void)
int hawk_rtx_isnilval (hawk_rtx_t* rtx, hawk_val_t* val)
{
return val->v_type == HAWK_VAL_NIL;
return val == (hawk_val_t*)&awk_nil || (HAWK_VTR_IS_POINTER(val) && val->v_type == HAWK_VAL_NIL);
}
hawk_val_t* hawk_rtx_makenilval (hawk_rtx_t* rtx)