freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] [ freetds-Patches-1844603 ] Bug in Addressing of length array in array binding
- From: "SourceForge.net" <noreply AT sourceforge.net>
- To: noreply AT sourceforge.net
- Subject: [freetds] [ freetds-Patches-1844603 ] Bug in Addressing of length array in array binding
- Date: Thu, 13 Dec 2007 08:03:25 -0800
Patches item #1844603, was opened at 2007-12-05 04:46
Message generated for change (Comment added) made by freddy77
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1844603&group_id=33106
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: odbc
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in Addressing of length array in array binding
Initial Comment:
Bug in Addressing of length array in array binding.
v0.64 (out-of-the-box) incorrectly uses the first record's data lengths for
varchar string fields for all following records in an array-bound batch.
See the attached patch for the fix.
----------------------------------------------------------------------
>Comment By: Frediano Ziglio (freddy77)
Date: 2007-12-13 17:03
Message:
Logged In: YES
user_id=75766
Originator: NO
Mmm... I remember that I fixed this in CVS but I forgot to backport it...
damn!
I'll backport/incorporate your patch (and our test) ASAP.
freddy77
----------------------------------------------------------------------
Comment By: billmon (billmon)
Date: 2007-12-12 15:24
Message:
Logged In: YES
user_id=1954801
Originator: NO
This patch also requires that the declaration of odbc_get_param_len in
include/tdsodbc.h to be change to match the following:
SQLINTEGER odbc_get_param_len(const struct _drecord *drec_apd, const
struct _drecord *drec_ipd, unsigned int curr_row);
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1844603&group_id=33106
-
[freetds] [ freetds-Patches-1844603 ] Bug in Addressing of length array in array binding,
SourceForge.net, 12/04/2007
- <Possible follow-up(s)>
- [freetds] [ freetds-Patches-1844603 ] Bug in Addressing of length array in array binding, SourceForge.net, 12/12/2007
- [freetds] [ freetds-Patches-1844603 ] Bug in Addressing of length array in array binding, SourceForge.net, 12/13/2007
- [freetds] [ freetds-Patches-1844603 ] Bug in Addressing of length array in array binding, SourceForge.net, 12/21/2007
Archive powered by MHonArc 2.6.24.