freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] Image Data converted to Text/String out of MSSQL??
- From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
- To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Image Data converted to Text/String out of MSSQL??
- Date: Mon, 10 Mar 2003 11:43:24 +0100
>
> dblib on Windows appears not to convert images to character
> strings per
> se. Can anybody with msdblib.dll verify this? I don't have
> time to cook
> up a proper unittest, perhaps someone else does.
>
> Brian
>
Problem is PHP.
In sybase module (--with-sybase compiling PHP) it read binary data
converting to char (resulting in this behavior)
In mssql module (used in win32 PHP) it copy binary with memcpy.
New PHP (4.3) seem to have a version of mssql module that use dblib/FreeTDS.
Try to use this.
If someone want to report the bug to PHP and/or a patch (I'm too busy at the
moment)...
freddy77
=================================
"STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."
=================================
-
[freetds] Image Data converted to Text/String out of MSSQL??,
Andrew Atkinson, 03/08/2003
-
Re: [freetds] Image Data converted to Text/String out of MSSQL??,
Frediano Ziglio, 03/08/2003
- Re: [freetds] Image Data converted to Text/String out of MSSQL??, Brian Bruns, 03/08/2003
- <Possible follow-up(s)>
-
Re: [freetds] Image Data converted to Text/String out of MSSQL??,
Andrew Atkinson, 03/08/2003
- Re: [freetds] Image Data converted to Text/String out of MSSQL??, Brian Bruns, 03/08/2003
- RE: [freetds] Image Data converted to Text/String out of MSSQL??, ZIGLIO Frediano, 03/10/2003
-
Re: [freetds] Image Data converted to Text/String out of MSSQL??,
Frediano Ziglio, 03/08/2003
Archive powered by MHonArc 2.6.24.