freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Luke Benstead" <kazade AT gmail.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Crash selecting a blank TEXT field
- Date: Thu, 31 May 2007 11:15:48 +0100
Hi,
When I run a select query on a blank text field. I get a segmentation fault.
Here is the last part of the log:
token.c:526:processing result tokens. marker is 81(TDS7_RESULT)
mem.c:519:tds_free_all_results()
token.c:1472:processing TDS7 result. set current_results to tds->res_info
token.c:3395:adjust_character_column_size:
Server charset: UCS-2LE
Server column_size: 2147483646
Client charset: UTF-8
Client column_size: -4
read.c:179:tds_get_string: reading 28 from wire to give 14 to client.
read.c:179:tds_get_string: reading 90 from wire to give 45 to client.
token.c:1414:tds7_get_data_info:
colname = ProductYearGeneralMatchingCriteriaDescription (45 bytes)
type = 35 (text)
server's type = 99 (UCS-2 text)
column_varint_size = 4
column_size = -4 (2147483646 on server)
util.c:119:Changing query state from READING to PENDING
util.c:119:Changing query state from PENDING to READING
token.c:526:processing result tokens. marker is d1(ROW)
util.c:119:Changing query state from READING to PENDING
util.c:119:Changing query state from PENDING to READING
token.c:526:processing result tokens. marker is d1(ROW)
token.c:1863:tds_get_data: column 0, type 35, varint size 4
token.c:1920:processing row. column size is 0
util.c:119:Changing query state from READING to PENDING
I found a similar post describing this here:
https://lists.ibiblio.org/sympa/arc/freetds/2006q3/020353.html but there was
never a solution.
Is this a known bug?
Thanks,
Luke.
-
Re: [freetds] Crash selecting a blank TEXT field,
Luke Benstead, 05/31/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
James K. Lowden, 05/31/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
Luke Benstead, 05/31/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
James K. Lowden, 05/31/2007
- Re: [freetds] Crash selecting a blank TEXT field, ZIGLIO, Frediano, VF-IT, 05/31/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
James K. Lowden, 05/31/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
Luke Benstead, 05/31/2007
-
Re: [freetds] Crash selecting a blank TEXT field,
James K. Lowden, 05/31/2007
Archive powered by MHonArc 2.6.24.