Esempio n. 1
0
 public void execute() throws UnsupportedEncodingException {
   executed = true;
   CommandPacket packet = new CommandPacket();
   packet.packetId = 0;
   packet.command = MySQLPacket.COM_QUERY;
   packet.arg = rrn.getStatement().getBytes(conn.getCharset());
   conn.lastTime = TimeUtil.currentTimeMillis();
   packet.write(conn);
 }