mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-31 03:32:43 +08:00
修复查询错误
This commit is contained in:
@ -13,7 +13,7 @@ public class MysqlDBManage implements DBManage {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
SQLExecutor.getInstance().execute("use `" + database + "`;", null);
|
||||
SQLExecutor.getInstance().execute("use `" + database + "`;");
|
||||
} catch (SQLException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
@ -20,6 +20,6 @@ public class MysqlPlugin implements Plugin {
|
||||
|
||||
@Override
|
||||
public DBManage getDBManage() {
|
||||
return null;
|
||||
return new MysqlDBManage();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user