Skip to Content.
Sympa Menu

freetds - [freetds] t0003 test

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "Freetds (E-mail)" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] t0003 test
  • Date: Mon, 28 Apr 2003 11:03:30 +0200

I update this test and now it fail.
Problem is TDSENVINFO. This structure is defined in tds.h as

typedef struct tds_env_info {
int block_size;
char *language;
char *charset;
char *database;
} TDSENVINFO;

However is never update (should be updated by tds_process_env_chg() in
token.c).
Current implementation call a callback (TDSSOCKET.env_chg_func) to inform
client library to store the change.
To fix the problem we can
- remove the 3 char* field
- put block_size in TDSSOCKET structure
- remove t0003 test (or change it)
(IMHO the best solution)
or
- set these fields
- change library to use that fields (dblib and perhaps ctlib store these
information)

Opinions? Other solution?

freddy77



  • [freetds] t0003 test, ZIGLIO Frediano, 04/28/2003

Archive powered by MHonArc 2.6.24.

Top of Page