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

Method GetMaxValue

storage/connect/jdbconn.cpp:732–745  ·  view source on GitHub ↗

/ Utility routine. */ /

Source from the content-addressed store, hash-verified

730/* Utility routine. */
731/***********************************************************************/
732int JDBConn::GetMaxValue(int n)
733{
734 jint m;
735 jmethodID maxid = nullptr;
736
737 if (gmID(m_G, maxid, "GetMaxValue", "(I)I"))
738 return -1;
739
740 // call method
741 if (Check(m = env->CallIntMethod(job, maxid, n)))
742 htrc("GetMaxValue: %s", Msg);
743
744 return (int)m;
745} // end of GetMaxValue
746
747/***********************************************************************/
748/* AddJars: add some jar file to the Class path. */

Callers 2

JDBCColumnsFunction · 0.45
JDBCTablesFunction · 0.45

Calls 2

htrcFunction · 0.70
CheckClass · 0.50

Tested by

no test coverage detected