Re: svn: /php/php-src/branches/PHP_5_3/ext/interbase/ ibase_query.c
| From: | Hannes Magnusson | Date: | Tue, 16 Aug 2011 13:15:26 +0000 |
| Subject: | Re: svn: /php/php-src/branches/PHP_5_3/ext/interbase/ ibase_query.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-65868@lists.php.net to get a copy of this message | ||
5.4, trunk and a NEWS entry?
-Hannes
On Tue, Jul 19, 2011 at 22:25, Popa Adrian Marius <mariuz@php.net> wrote:
> mariuz Tue, 19 Jul 2011 20:25:51 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=313447
>
> Log:
> Fix for bug http://bugs.php.net/54426
>
> Checks for NULL are wrong as the values can be provided by the triggers
>
> Changed paths:
> U php/php-src/branches/PHP_5_3/ext/interbase/ibase_query.c
>
> Modified: php/php-src/branches/PHP_5_3/ext/interbase/ibase_query.c
> ===================================================================
> --- php/php-src/branches/PHP_5_3/ext/interbase/ibase_query.c 2011-07-19 20:23:26 UTC (rev
> 313446)
> +++ php/php-src/branches/PHP_5_3/ext/interbase/ibase_query.c 2011-07-19 20:25:51 UTC (rev
> 313447)
> @@ -672,14 +672,7 @@
> if (! force_null) break;
>
> case IS_NULL:
> -
> - /* complain if this field doesn't allow
> NULL values */
> - if (! (var->sqltype & 1)) {
> -
> _php_ibase_module_error("Parameter %d: non-empty value required" TSRMLS_CC, i+1);
> - rv = FAILURE;
> - } else {
> buf[i].sqlind = -1;
> - }
>
> if (var->sqltype & SQL_ARRAY)
> ++array_cnt;
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>