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

Method GetColumns

storage/connect/JdbcInterface.java:401–422  ·  view source on GitHub ↗
(String[] parms)

Source from the content-addressed store, hash-verified

399 } // end of GetQuoteString
400
401 public int GetColumns(String[] parms) {
402 int ncol = -1;
403
404 try {
405 if (rs != null) rs.close();
406
407 if (CatisSchema)
408 rs = dbmd.getColumns(parms[1], null, parms[2], parms[3]);
409 else
410 rs = dbmd.getColumns(parms[0], parms[1], parms[2], parms[3]);
411
412 if (rs != null) {
413 rsmd = rs.getMetaData();
414 ncol = rsmd.getColumnCount();
415 } // endif rs
416
417 } catch(SQLException se) {
418 SetErrmsg(se);
419 } // end try/catch
420
421 return ncol;
422 } // end of GetColumns
423
424 public int GetTables(String[] parms) {
425 int ncol = -1;

Callers

nothing calls this directly

Calls 2

SetErrmsgMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected