提交 3956d5f2 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 20632297
......@@ -90,6 +90,14 @@ public class UploadBuild {
}
String ts = new java.sql.Timestamp(System.currentTimeMillis()).toString();
String now = ts.substring(0, 16);
int idx = testOutput.indexOf("Statements per second: ");
if (idx >= 0) {
int end = testOutput.indexOf("<br />", idx);
if (end >= 0) {
String result = testOutput.substring(idx + "Statements per second: ".length(), end);
now += " (" + result + " op/s)";
}
}
String sql = "insert into item(title, issued, desc) values('Build " + now + (error ? " FAILED" : "") +
"', '" + ts + "', '<a href=\"http://www.h2database.com/html/testOutput.html\">Output</a>" +
" - <a href=\"http://www.h2database.com/coverage/overview.html\">Coverage</a>" +
......
......@@ -589,4 +589,4 @@ handing bonita placed euros embeds reliability singular unregister quotas
overall httpdocs tigris eclemma separates underscore yajsw she her truncating
relocating smtps smtp osde joist catching guesses delimiters shortlist sheet
rowspan cheat partitioning datepart dreamsource toussi locates fred
longnvarchar collate localdb
\ No newline at end of file
longnvarchar collate localdb nan bootclasspath bcp
\ No newline at end of file
......@@ -400,6 +400,7 @@ public class FtpClient {
* A file on an FTP server.
*/
static class FtpFile extends File {
private static final long serialVersionUID = 1L;
private final boolean dir;
private final long length;
FtpFile(String name, boolean dir, long length) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论