Skip to content

Commit

Permalink
mx_mysql: user normal assert()
Browse files Browse the repository at this point in the history
Currently, mx_mysql uses own assert macros, which log the failed
condition and then return an error value to the caller (via return
status and via errno).

All assert() failures are serious coding errors. Don't return to
the caller, but use normal assert() to abort right away. This can
simplify the coding for the callers.
  • Loading branch information
donald committed Dec 28, 2023
1 parent 2d18354 commit 33ec230
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 114 deletions.
Loading

0 comments on commit 33ec230

Please sign in to comment.