Skip to Content.
Sympa Menu

freetds - reads past end of field for Text data type.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "mat" <mat AT annotate.net>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: reads past end of field for Text data type.
  • Date: Tue, 30 Jan 2001 04:53:11 -0500


i'm building a python module on top of dblib to access a sql 7 box. for
the most part it works great.

my only problem is with text fields. i'm trying to access large text
fields (30k+). this works fine except that i get strange characters
stuck to the end of some of text fields. this happens when i select
multiple rows. the extra characters appear to be from the row before the
one with extra characters.

i'm using the dblib function 'dbdata' and reading from the address
returned to the end of the string. the end of the string does not appear
to be in the correct place.
Any help would be greatly appreciated.
Thanks
-mat




Archive powered by MHonArc 2.6.24.

Top of Page