Re: 1 cset was pushed to core/stable: get rid of single spaces in query result...

"Jason Judge" <[email protected]> Sun, 3 Jul 2005 11:09:03 +0100
Newsgroups gmane.comp.cms.xaraya.bk-notices
Organization Xaraya
Message-ID <[email protected]>
Heh - it is difficult convincing the PHP devs that this *is* a bug. While
CHAR columns can never be empty (zero-length), VARCHAR columns certainly
can. I think we need to tread carefully here, and checking specifically for
a single space, as you have done (rather than trimming strings as PHP used
tgo do), is a good solution, IMO.

Of course, the bug may be further upstream in the database drivers, outside
the control of PHP, but the devs never explain whether that is the case.

-- JJ


"Michel Dalle" <mikespub-111RdWWlOxkOkXtL6OYfHgC/[email protected]> wrote in message
news:[email protected]...
> Changes were applied by mikespub to core/stable level 10.
>     WARNING: These changes bypassed the Quality Assurance Tests!
>     The following cset was applied:
>
>     ChangeSet
>       1.2101 05/07/03 02:34:25 [email protected] +2 -0
>       get rid of single spaces in query results
>
>       html/xaradodb/xarchanges.txt
>         1.4 05/07/03 02:34:14 [email protected] +1 -1
>         get rid of single spaces in query results
>
>       html/xaradodb/drivers/adodb-xarmssql.inc.php
>         1.2 05/07/03 02:34:14 [email protected] +49 -0
>         get rid of single spaces in query results
>
> Links for the differences:
> http://xaraya.com:15000/core/stable/[email protected]