Commit: 64a2a8a7536de781aac015e7392cb56308d8aed0 Author: Andrey Hristov <and...@php.net> Fri, 22 Feb 2013 13:50:04 +0100 Parents: 1643d4ed568890d1b18a87304a39791ebb4790be Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=64a2a8a7536de781aac015e7392cb56308d8aed0 Log: relax the check Changed paths: M ext/mysqli/mysqli_nonapi.c Diff: diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c index e743449..398c159 100644 --- a/ext/mysqli/mysqli_nonapi.c +++ b/ext/mysqli/mysqli_nonapi.c @@ -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; } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php