Skip to content

Commit 64a2a8a

Browse files
committed
relax the check
1 parent 1643d4e commit 64a2a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/mysqli_nonapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ PHP_FUNCTION(mysqli_begin_transaction)
11111111
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value for parameter flags (%ld)", flags);
11121112
err = TRUE;
11131113
}
1114-
if (!name || !name_len) {
1114+
if (!name_len) {
11151115
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Savepoint name cannot be empty");
11161116
err = TRUE;
11171117
}

0 commit comments

Comments
 (0)