mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- Handle the use of date/time values when making queries for MYSQL or
ODBC. Was raised by 7549. modified: storage/connect/ha_connect.cc storage/connect/odbconn.cpp storage/connect/tabodbc.cpp
This commit is contained in:
@@ -1740,6 +1740,8 @@ bool ODBConn::BindParam(ODBCCOL *colp)
|
||||
strcpy(m_G->Message, x->GetErrorMessage(0));
|
||||
colsize = colp->GetPrecision();
|
||||
sqlt = GetSQLType(buftype);
|
||||
dec = IsTypeChar(buftype) ? 0 : colp->GetScale();
|
||||
nul = SQL_NULLABLE_UNKNOWN;
|
||||
} // end try/catch
|
||||
|
||||
buf = colp->GetBuffer(0);
|
||||
|
Reference in New Issue
Block a user