mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-01 06:16:04 +08:00
Optimize code structure.
This commit is contained in:
@ -26,7 +26,7 @@ public class MysqlDBManage extends DefaultDBManage implements DBManage {
|
||||
@Override
|
||||
public void dropTable(Connection connection, String databaseName, String schemaName, String tableName) {
|
||||
String sql = "DROP TABLE "+ format(tableName);
|
||||
SQLExecutor.getInstance().executeSql(connection,sql, resultSet -> null);
|
||||
SQLExecutor.getInstance().execute(connection,sql, resultSet -> null);
|
||||
}
|
||||
|
||||
public static String format(String tableName) {
|
||||
|
Reference in New Issue
Block a user