blob: ef6466d34cb231ee8469eb24d58675da52ab1c3d [file] [log] [blame]
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (c) 2012-2014 Monty Program Ab
// Copyright (c) 2015-2021 MariaDB Corporation Ab
package org.mariadb.jdbc;
import java.sql.Statement;
import org.openjdk.jmh.annotations.Benchmark;
public class Do_1 extends Common {
@Benchmark
public int run(MyState state) throws Throwable {
try (Statement st = state.connectionText.createStatement()) {
return st.executeUpdate("DO 1");
}
}
}