Revision 3255
Added by Jing Tao over 17 years ago
src/edu/ucsb/nceas/metacat/DBQuery.java | ||
---|---|---|
875 | 875 |
pstmt.execute(); |
876 | 876 |
pstmt.close(); |
877 | 877 |
} |
878 |
double endStoreReturnField = System.currentTimeMillis()/1000; |
|
879 |
logMetacat.warn("Time to store new return fields into xml_queryresult table (Part4 in return fields) " |
|
880 |
+ (endStoreReturnField -startStoreReturnField)); |
|
878 |
|
|
881 | 879 |
// A string with element |
882 | 880 |
String xmlElement = " <document>" + element + "</document>"; |
883 | 881 |
|
... | ... | |
888 | 886 |
} |
889 | 887 |
resultset.append(xmlElement); |
890 | 888 |
}//while |
889 |
double endStoreReturnField = System.currentTimeMillis()/1000; |
|
890 |
logMetacat.warn("Time to store new return fields into xml_queryresult table (Part4 in return fields) " |
|
891 |
+ (endStoreReturnField -startStoreReturnField)); |
|
891 | 892 |
|
892 |
|
|
893 | 893 |
Enumeration keysE = queryresultDocList.keys(); |
894 | 894 |
while (keysE.hasMoreElements()) |
895 | 895 |
{ |
Also available in: Unified diff
Changed a wrong debug information.