Skip to Content.
Sympa Menu

freetds - [freetds] [ freetds-Patches-1844603 ] Bug in Addressing of length array in array binding

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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: Wed, 12 Dec 2007 06:24:16 -0800

Patches item #1844603, was opened at 2007-12-05 04:46
Message generated for change (Comment added) made by billmon
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: 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




Archive powered by MHonArc 2.6.24.

Top of Page