freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: LacaK <lacak AT zoznam.sk>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] tds_get_size_by_type for SYBMSDATE
- Date: Tue, 08 Apr 2014 12:08:38 +0200
Hi,
when I look into tds_types.h (which is build on misc/types.csv) there is function tds_get_size_by_type() used f.e. by dbconvert()
And for SYBMSDATE it returns 4 (IMO it is wrong set size=4 in types.csv)
Is it correct ?
(as far as I understand it should be size if struct which holds this data type i.e.:
there should be:
case SYMBSDATE:
case SYMBSTIME:
case SYMBSDATETIME2:
case SYMBSDATETIMEOFFSET:
return sizeof(TDS_DATETIMEALL);
?
When I change it this way, it works as expected for me.
Thanks
-Laco.
-
[freetds] tds_get_size_by_type for SYBMSDATE,
LacaK, 04/08/2014
-
Re: [freetds] tds_get_size_by_type for SYBMSDATE,
Frediano Ziglio, 04/08/2014
-
Re: [freetds] tds_get_size_by_type for SYBMSDATE,
LacaK, 04/09/2014
- Re: [freetds] tds_get_size_by_type for SYBMSDATE, LacaK, 04/09/2014
-
Re: [freetds] tds_get_size_by_type for SYBMSDATE,
Frediano Ziglio, 04/09/2014
- Re: [freetds] tds_get_size_by_type for SYBMSDATE, LacaK, 04/09/2014
- Re: [freetds] tds_get_size_by_type for SYBMSDATE, James K. Lowden, 04/09/2014
- Re: [freetds] tds_get_size_by_type for SYBMSDATE, LacaK, 04/10/2014
-
Re: [freetds] tds_get_size_by_type for SYBMSDATE,
LacaK, 04/10/2014
-
Re: [freetds] tds_get_size_by_type for SYBMSDATE,
Frediano Ziglio, 04/10/2014
- Re: [freetds] tds_get_size_by_type for SYBMSDATE, LacaK, 04/11/2014
-
Re: [freetds] tds_get_size_by_type for SYBMSDATE,
Frediano Ziglio, 04/10/2014
-
Re: [freetds] tds_get_size_by_type for SYBMSDATE,
LacaK, 04/09/2014
-
Re: [freetds] tds_get_size_by_type for SYBMSDATE,
Frediano Ziglio, 04/08/2014
Archive powered by MHonArc 2.6.24.