Hi,
I am using MyODBC 3.51.06 on solaris.
When a ODBC call fails to execute due to communication problems with
database server, according to ODBC reference, sqlstate should be set
to 08S01
(Communication link failure). But myodbc driver is setting it to
HY000 in case of communication errors.
1. When mysqld is stopped while performing a query, myodbc returns
native error 2013 and error text - Lost connection to MySQL server
during query. But SQLState
as HY000.
2. When mysqld is not running, myodbc returns native error 2006 and
error text - MySQL server has gone away. But SQLState as HY000.
Is this a bug or am I missing something ?
Thanks in advance,
Srinivas.
I am using MyODBC 3.51.06 on solaris.
When a ODBC call fails to execute due to communication problems with
database server, according to ODBC reference, sqlstate should be set
to 08S01
(Communication link failure). But myodbc driver is setting it to
HY000 in case of communication errors.
1. When mysqld is stopped while performing a query, myodbc returns
native error 2013 and error text - Lost connection to MySQL server
during query. But SQLState
as HY000.
2. When mysqld is not running, myodbc returns native error 2006 and
error text - MySQL server has gone away. But SQLState as HY000.
Is this a bug or am I missing something ?
Thanks in advance,
Srinivas.