This is the source or binary distribution of ODBC for mysql.
This software is in public domain. You may use it in any way you like.
There is no WARRANTY of any kind. Use at our own risk..

The libraries dbug, mysys and strings libraries are the same that are
distributed with mysql.
The lib directory contains some files from the mysql/sql source directory with
makes the libmysql.
The setup32 binary distribution may be obtained from the file myodbc-xxx.zip
at http://www.tcx.se/

To compile with Microsoft VC++ one will need the ODBC package from Microsoft.
I got mine from the 'Developers Network' CD pack.
This version of myodbc is made with the 2.5 ODBC kit.
I will look into the 3.0 ODBC kit when I get some extra time or enough
encourgament.

If one uses the libs and includes from mysql then only the myodbc directory is
needed from this distribution.

This source has been compiled with Microsoft Visual++ 4.2.
The example makefiles and resources are made with VC++.

To make a bug report with will be answered quickly do the following:
Put in your AUTOEXEC.BAT:

set MYSQL_DEBUG=d:t:O,/myodbc.log

This will make a log file on your root disk that contains lot of info with
will help me debug the problem.
A sql.log file with may be enabled with odbcadmin could also provide some
interresting info. If possible try to get a a log from the mysqld server too.


Authors:

Main coding: Michael Widenius, TCX Datakonsult AB


Known bugs:

- Until the new WHERE in the mysql server one can't use BLOBs in select
  statements.
- Access can't use float fields in a table without a timestamp.
- SQLNumResultCols should return number of columns in the result after
  SQLPrepare.
  Currently SQLNumResultCols only returns the correct number after SQLExecute.
  This probably crasches Powerbuilder.


Changes:

1.0.17
- Added new ODBC 2.5 columns to results of SQlSpecialColumns, SQLPrimaryKeys
  and SQLForeignKeys.
- Removed convert of password to lower case in login dialog.
- Added new column definitions from Wim Bonis and Giovanni Maruzzelli.

1.0.16
- Fixed SQLSpecialColumns (line was missing from 1.0.14)
- Removed precision and scale from double and float to get Access to work
  better.

1.0.15
- Added patches by Giovanni Maruzzelli and Wim Bonis to fix TIMESTAMP, DATE, TIME
  and DATETIME fields.
- SqlSpecialColumns now uses TIMESTAMP as ROWID.

1.0.14
- SQLPutInfo tryed to use the memory pointer passed. Now it always makes a copy.
- Added support for the new mysql DATE and TIME types.
- Blob's with ASCII 0 can now be read.
- Updated libraries from mysql 3.20.13.

1.0.13
- Password is now longer regarded 'required' in the loggin screen.
- If port is 0 or not given then myodbc defaults to the default port (3333).
- Fixed that '?' is not regarded a parameter in strings.

1.0.12
- Added keywords KEYS, RLIKE to SQLGetInfo.
- Fixed some wrong definitions with TINYBLOB.
- Removed old memory allocation from 1.0.11.
- Added support for SQL_SEND_LEN_DATA_AT_EXEC parameters. This fixed updating of blobs in Access.
- Enlarged communication buffer to 16384.

1.0.11
- Some statement fields where not cleared in SQLGetColumns and SQLTables. This resulted
  in failed second querries.
- Implemented SQLGetStmtOption. (Needed for Access)
- SQLStatistics returned wrong column count.
- Changed default types for SQLStatstics and SQLColumns. (I hate ODBC default types!)
- Added lots of more debug statements.
- Fixed parameter bug in SQLExecute (found by Giovanni).
- Fixed some definition bugs in SQLFreeStmt.
- Tested with Access:  The following should work:
  Attach (link tables), search, insert, delete and update.

1.0.10
- Changed return of SQLGetInfo SQL_ODBC_API_CONFORMANCE from long to short.

1.0.9
- Update with bind parameters didn't work for strings. This made msquery fail
  on insert and update.
- Added info about all new ODBC functions in server 3.20.0

1.0.7
- Lie that we can handle transactions and set/get cursor names. One should
  use ODBC cursors with myodbc!

1.0.6
- Fixed some small bugs to allow connection from delphi.
- Fixed windows password bug (passwords should work)

1.0.4
- Added all ODBC level 2 options to SQLGetData + 2 options from ODBC level 1.
- Fixed bug when adding limit to select clause: if SQL_MAX_ROWS was MAX_INT
  then limit was set to -1.
