freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Wildcard selection leads to data mangling
- From: "Sherrill, Justin" <jsherrill AT currentcomm.net>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Wildcard selection leads to data mangling
- Date: Tue, 13 Mar 2007 08:30:07 -0400
I'll see data missing from a given cell and replaced with data from
other cells. For instance, a cell (tuple?) that is supposed to contain
a serial number that is a 16-char mix of letters and numbers will
instead contain the last 3 characters of a later datetime field and the
MAC address in the next cell over.
300013544623AD32 -> 7AM00:07:42:00:CD:3A
I've now noticed that sometimes I just don't seem to be able to retrieve
data:
# echo 'select count(*) from table1' | /usr/bin/bsqldb -q -S sqldb -U
username -P password -D mydb
24983
# echo 'select * from table1' | /usr/bin/bsqldb -q -S sqldb -U username
-P password -D mydb
*** glibc detected *** double free or corruption (out): 0x091aae68 ***
Aborted
I haven't been able to find exactly what conditions cause this, yet.
-----------------------------
Justin C. Sherrill - CURRENT Communications
220 Kenneth Drive
Rochester, New York 14623
P: 585.486.0549 F: 585.486.0030
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of ZIGLIO,
Frediano, VF-IT
Sent: Tuesday, March 13, 2007 4:21 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Wildcard selection leads to data mangling
>
> Hello -
>
> I have FreeTDS 0.64 installed on a RedHat EL4u4 system. It's working
> fine to push small amounts of data back and forth to a SQL Server 2000
> system, but when I execute a larger query - say, one that returns 14k
> records - I get some data munged between cells.
>
> This only happens when I say something like 'SELECT *
> FROM...'. When I
> switch to explicitly naming the fields, I don't seem to have
> this issue.
> Can someone shed light for me on why this happens?
>
How data are munged?
Truncated? garbage?
freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
***CONFIDENTIALITY NOTICE***
The information in this email may be confidential and/or privileged. This
email is intended to be reviewed by only the individual or organization named
above. If you are not the intended recipient or an authorized representative
of the intended recipient, you are hereby notified that any review,
dissemination or copying of this email and its attachments, if any, or the
information contained herein is prohibited. If you have received this email
in error, please immediately notify the sender by return email and delete
this message from your system.
-
[freetds] Wildcard selection leads to data mangling,
Sherrill, Justin, 03/12/2007
-
Re: [freetds] Wildcard selection leads to data mangling,
ZIGLIO, Frediano, VF-IT, 03/13/2007
- Re: [freetds] Wildcard selection leads to data mangling, Sherrill, Justin, 03/13/2007
- <Possible follow-up(s)>
- Re: [freetds] Wildcard selection leads to data mangling, Lowden, James K, 03/13/2007
-
Re: [freetds] Wildcard selection leads to data mangling,
ZIGLIO, Frediano, VF-IT, 03/13/2007
Archive powered by MHonArc 2.6.24.