/** * INTERNAL. Set the statement that is currently running. * * @param c the command */ protected void setExecutingStatement(CommandInterface c) { if (c == null) { conn.setExecutingStatement(null); } else { conn.setExecutingStatement(this); lastExecutedCommandType = c.getCommandType(); } executingCommand = c; }
/** * INTERNAL. Set the statement that is currently running. * * @param c the command */ protected void setExecutingStatement(CommandInterface c) { conn.setExecutingStatement(c == null ? null : this); executingCommand = c; }