Package: libct3
Version: 0.63-3
Severity: normal

Using sqsh or php5 to insert or update 0 length string or multi spaces strings 
(example '      '), FreeTDS always 
insert a one space string.

# sqsh .....
1> update Users set LName='' where ID=9121
2> go
(1 row affected)
1> select char_length(LName) from Users where ID=9121
2> go

 -----------
           1

(1 row affected)
1> update Users set LName='          ' where ID=9121
2> go
(1 row affected)
1> select char_length(LName) from Users where ID=9121
2> go

 -----------
           1

(1 row affected)

Bye,
Marco

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages libct3 depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries

libct3 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to