freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] dbdatecrack producing erroneous results
- From: Ken Collins <ken AT metaskills.net>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] dbdatecrack producing erroneous results
- Date: Tue, 24 Apr 2012 16:03:23 -0400
Hey James,
> How do you deal with the fact that Microsoft defines dbdatecrack() to
> return months 1-12 and Sybase uses 0-11?
Easy, I define in my C program that I expect dbdatecrack() to use the sybase
values via my main header.
https://github.com/rails-sqlserver/tiny_tds/blob/master/ext/tiny_tds/tiny_tds_ext.h#L4-5
That way I take control and the compile time fall back configuration is never
even considered. I assumed this is what most did?
- Ken
-
[freetds] dbdatecrack producing erroneous results,
crunsus, 04/21/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
Ken Collins, 04/21/2012
- Re: [freetds] dbdatecrack producing erroneous results, Frediano Ziglio, 04/22/2012
- Re: [freetds] dbdatecrack producing erroneous results, Frediano Ziglio, 04/22/2012
- <Possible follow-up(s)>
-
Re: [freetds] dbdatecrack producing erroneous results,
crunsus, 04/22/2012
- Re: [freetds] dbdatecrack producing erroneous results, Frediano Ziglio, 04/23/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
crunsus, 04/24/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
Frediano Ziglio, 04/24/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
Ken Collins, 04/24/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
James K. Lowden, 04/24/2012
- Re: [freetds] dbdatecrack producing erroneous results, Ken Collins, 04/24/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
James K. Lowden, 04/24/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
Ken Collins, 04/24/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
Frediano Ziglio, 04/24/2012
- Re: [freetds] dbdatecrack producing erroneous results, crunsus, 04/24/2012
-
Re: [freetds] dbdatecrack producing erroneous results,
Ken Collins, 04/21/2012
Archive powered by MHonArc 2.6.24.