修改
This commit is contained in:
@@ -214,8 +214,8 @@ public class MysqlUtils {
|
||||
|
||||
|
||||
public static ExecResult getExecResult(BizDbConfig dbConfig, String sql) {
|
||||
|
||||
try {
|
||||
EXEC_FILE = null;
|
||||
Connection conn = getConnection(dbConfig.getDbIp(), dbConfig.getDbPort(), dbConfig.getDbUsername(), dbConfig.getDbPassword());
|
||||
Statement statement = conn.createStatement();
|
||||
boolean isQuery = sql.trim().toUpperCase().startsWith("SELECT");
|
||||
|
||||
Reference in New Issue
Block a user