Skip to Content.
Sympa Menu

freetds - [freetds] cs_dt_info() a NOOP?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Wood, David" <David.Wood AT deshaw.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] cs_dt_info() a NOOP?
  • Date: Mon, 19 May 2008 20:17:35 -0400

Hello,

According to http://www.freetds.org/userguide/ctlib.api.summary.htm:

Category Function Status Comments
(all) cs_dt_info OK Set or retrieve
language-specific datetime information.

However, from src/ctlib/cs.c:

CS_RETCODE
cs_dt_info(CS_CONTEXT * ctx, CS_INT action, CS_LOCALE * locale, CS_INT
type, CS_INT item, CS_VOID * buffer, CS_INT buflen,
CS_INT * outlen)
{
if (action == CS_SET) {
switch (type) {
case CS_DT_CONVFMT:
break;
}
}
return CS_SUCCEED;
}

Hmm ... that doesn't seem to do much :-). At a minimum, shouldn't the
API summary doc reflect this? David




Archive powered by MHonArc 2.6.24.

Top of Page