Skip to Content.
Sympa Menu

freetds - RE: [freetds] Read UNIVARCHAR field from Sybase 12.5.1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <bill_d_thompson AT ml.com>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Read UNIVARCHAR field from Sybase 12.5.1
  • Date: Thu, 20 Nov 2003 15:41:14 -0000

I see we have such a check in tds7_get_data_info()....i.e.

if (is_blob_type(curcol->column_type)) {
curcol->table_namelen =
tds_get_string(tds, tds_get_smallint(tds), curcol->table_name,
sizeof(curcol->table_name) - 1);
}


Bill
> -----Original Message-----
> From: Thompson, Bill D (London)
> Sent: 20 November 2003 15:35
> To: 'FreeTDS Development Group'
> Subject: RE: [freetds] Read UNIVARCHAR field from Sybase 12.5.1
>
> Hi Alex,
>
> Until the introduction of this UNIVARCHAR Type, the only datatype that had
> a
> varint size of 4 was a BLOB, i.e. TEXT field.
> These always had the table name present.
>
> We have to replace/add to that test on varint_size with a "is_blob_type"
> check....
>
> bill
>
> > -----Original Message-----
> > From: Alex Kiesel [SMTP:kiesel AT schlund.de]
> > Sent: 20 November 2003 15:16
> > To: freetds AT lists.ibiblio.org
> > Subject: [freetds] Read UNIVARCHAR field from Sybase 12.5.1
> >
> > _______________________________________________
> > FreeTDS mailing list
> > FreeTDS AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/freetds << Message: Untitled
> > Attachment >>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page