修复所有数据库性能问题
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
String use = "root";
|
||||
String password = "";
|
||||
Class.forName(driver);
|
||||
try{
|
||||
Connection conn = DriverManager.getConnection(url, use, password);
|
||||
PreparedStatement sql = conn
|
||||
.prepareStatement("delete from adminstrator_record where AdminName=?");
|
||||
@@ -47,6 +48,9 @@
|
||||
}
|
||||
sql.close();
|
||||
conn.close();
|
||||
}catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
%>
|
||||
<!-- 判断是否是插入成功 -->
|
||||
<%
|
||||
|
||||
Reference in New Issue
Block a user