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

Method ClosePrepStmt

storage/connect/JdbcInterface.java:285–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

283 } // end of ExecutePrep
284
285 public boolean ClosePrepStmt() {
286 boolean b = false;
287
288 if (pstmt != null) try {
289 pstmt.close();
290 pstmt = null;
291 } catch (SQLException se) {
292 SetErrmsg(se);
293 b = true;
294 } catch (Exception e) {
295 SetErrmsg(e);
296 b = true;
297 } // end try/catch
298
299 return b;
300 } // end of ClosePrepStmt
301
302 public int JdbcDisconnect() {
303 int rc = 0;

Callers 1

JdbcDisconnectMethod · 0.95

Calls 2

SetErrmsgMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected