[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetds
Subject:    [freetds] [ freetds-Patches-2397940 ] support for no terminator in
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2008-12-06 21:15:07
Message-ID: E1L94UV-000571-BT () g45xhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Patches item #2397940, was opened at 2008-12-06 21:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=2397940&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: db-lib
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: support for no terminator in bcp format file

Initial Comment:
bcp_colfmt requires a null pointer when specifying no terminator, and currently barfs \
when zero length is supplied with non-null pointer (as is the case when specifying an \
empty string for terminator in the format file).

The attached patch fixes the parsing of the bcp format file to pass a null pointer \
when an empty string was specified as terminator.

NB: a nice side effect of this is the possibility to use a named pipe as input to \
freebcp

When specifying a prefix length and no terminator for all columns in the format file, \
freebcp will not perform any fseek on the input stream, allowing the use of named \
pipes.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=2397940&group_id=33106
_______________________________________________
FreeTDS mailing list
FreeTDS@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic