1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 06:02:23 +02:00

relax the check

This commit is contained in:
Andrey Hristov
2013-02-22 13:50:04 +01:00
parent 1643d4ed56
commit 64a2a8a753

View File

@@ -1111,7 +1111,7 @@ PHP_FUNCTION(mysqli_begin_transaction)
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value for parameter flags (%ld)", flags);
err = TRUE;
}
if (!name || !name_len) {
if (!name_len) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Savepoint name cannot be empty");
err = TRUE;
}