Re: PHP 3.0 Bug Summary Report, #1448
| From: | Jakub Skopal | Date: | Sat, 04 Sep 1999 17:50:03 +0000 |
| Subject: | Re: PHP 3.0 Bug Summary Report, #1448 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-10558@lists.php.net to get a copy of this message | ||
> 1448 Open sybase_fetch_row() fills a single space character in all empty fields in a row
this one is not a bug of PHP, but Sybase. Even more, it is
not a bug, but a documented behaviour. If you insert empty
string into varchar() column, you result in " " being in
that column. try:
isql...
1> create table a ( a varchar(32) )
2> go
1> insert into a values ("")
2> go
1> select char_length(a) from a
2> go
-----------
1
1>
Jakub
--
Jakub "RiffRaff" Skopal
mailto:j@kubs.cz