MCPcopy Create free account
hub / github.com/MariaDB/server / GetErrorMessage

Method GetErrorMessage

storage/connect/odbconn.cpp:965–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963 } // end of BuildErrorMessage
964
965const char *DBX::GetErrorMessage(int i)
966 {
967 if (i < 0 || i >= MAX_NUM_OF_MSG)
968 return "No ODBC error";
969 else if (m_ErrMsg[i])
970 return m_ErrMsg[i];
971 else
972 return (m_Msg) ? m_Msg : "Unknown error";
973
974 } // end of GetErrorMessage
975
976/***********************************************************************/
977/* ODBConn construction/destruction. */

Callers 14

CheckMethod · 0.80
OpenMethod · 0.80
ExecDirectSQLMethod · 0.80
GetResultSizeMethod · 0.80
FetchMethod · 0.80
PrepareSQLMethod · 0.80
ExecuteSQLMethod · 0.80
odbconn.cppFile · 0.80
ExecSQLcommandMethod · 0.80
GetMetaDataMethod · 0.80
GetDataSourcesMethod · 0.80
GetDriversMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected