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

Method BigintField

storage/connect/JdbcInterface.java:655–666  ·  view source on GitHub ↗
(int n, String name)

Source from the content-addressed store, hash-verified

653 } // end of IntField
654
655 public long BigintField(int n, String name) {
656 if (rs == null) {
657 System.out.println("No result set");
658 } else try {
659 BigDecimal bigDecimal = (n > 0) ? rs.getBigDecimal(n) : rs.getBigDecimal(name);
660 return bigDecimal != null ? bigDecimal.longValue() : 0;
661 } catch (SQLException se) {
662 SetErrmsg(se);
663 } //end try/catch
664
665 return 0;
666 } // end of BiginttField
667
668 public double DoubleField(int n, String name) {
669 if (rs == null) {

Callers 1

PrintResultMethod · 0.80

Calls 1

SetErrmsgMethod · 0.95

Tested by

no test coverage detected