diff options
author | Andrey Hristov <andrey@php.net> | 2013-02-22 13:50:04 +0100 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2013-02-22 13:50:04 +0100 |
commit | 64a2a8a7536de781aac015e7392cb56308d8aed0 (patch) | |
tree | 22bc6cd5a9a2849ced5bf6f3e05bc0805f91e6f4 /ext/mysqli/mysqli_nonapi.c | |
parent | 1643d4ed568890d1b18a87304a39791ebb4790be (diff) | |
download | php-git-64a2a8a7536de781aac015e7392cb56308d8aed0.tar.gz |
relax the check
Diffstat (limited to 'ext/mysqli/mysqli_nonapi.c')
-rw-r--r-- | ext/mysqli/mysqli_nonapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c index e743449172..398c15919b 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; } |