Skip to Content.
Sympa Menu

freetds - Re: [freetds] Unicode: Need for a DSN parameter to define thecharset

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sebastien FLAESCH <sf AT 4js.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Unicode: Need for a DSN parameter to define thecharset
  • Date: Tue, 15 Jan 2008 15:08:40 +0100

Thanks Frediano.

I think you update has a problem:

The "def" parameter is not removed from myGetPrivateProfileString()...

Does this compile without warnings on your machine???

I also wonder about your diff... looks like inversed?

...

Seb

ZIGLIO, Frediano, VF-IT wrote:
Attached a first diff from the HEAD branch to support new ODBC DSN parameters:

Instance
ClientCharset
DumpFile
DumpFileAppend
DebugFlags
Encryption

So far I have only tested "DumpFile" and "ClientCharset"...

Did not ran ODBC regression tests either (I guess I first need to setup and enviroment for that).

Sorry if it's not perfect work, but I spent 5 minutes here and there to make this patch.

Please adapt/review/fix as needed...

Thanks a lot for taking my request into consideration.
Seb


Seems fine. I wrote a small update. See attachement. I just used some
more tds_parse_conf_section option and removed a parameter from
myGetPrivateProfileString. In tds_config_boolean I used strcasecmp
instead of two strcmp.

freddy77


------------------------------------------------------------------------

_______________________________________________
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