Hello world,
I'm running MySQL Server 3.22.20a in my Linux system within my "home
network". I have tables with float and double columns. I need to
access the data with my NT 4.0 boxes through ODBC.
I started to wonder why the float values came though ODBC interface
as integers, ie. decimal parts dropped, when I imported the data to
various applications in NT. I just downloaded the latest source code
for the MyODBC driver to check from the source what is happening. I
run my NTs with decimal points set as "," in regional settings, as a
standard in Finland. The MyODBC driver forces the locale settings in
four points in source to the Enlish standard ("." for decimal point),
and this confuses my applications. When I changed the lines in code
and recompiled the ODBC driver, I started getting valid floating point
values from the MySQL database.
Why is the ODBC driver forcing the locale to English???
Regards,
Kari Lempiäinen
--
Kari Lempiainen
kari@stripped - PGP key ID: A7377049
http://personal.eunet.fi/pp/funky/
"And what exactly is a dream..." -- SB