sqlc
sqlc copied to clipboard
fix(mysql): Handle NULLs returned by locking funcs
According to https://dev.mysql.com/doc/refman/8.0/en/locking-functions.html, certain locking functions can return NULL, e.g. RELEASE_LOCK(str) returns it if the named lock did not exist.