提交 37d91a6f authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 9bc3308f
...@@ -254,7 +254,7 @@ public class ViewIndex extends Index { ...@@ -254,7 +254,7 @@ public class ViewIndex extends Index {
} }
LocalResult result = q2.query(0); LocalResult result = q2.query(0);
int testing2; int test;
// query.setSession(session); // query.setSession(session);
// LocalResult result = query.query(0); // LocalResult result = query.query(0);
......
...@@ -456,15 +456,14 @@ public class ValueLob extends Value { ...@@ -456,15 +456,14 @@ public class ValueLob extends Value {
public int hashCode() { public int hashCode() {
if (hash == 0) { if (hash == 0) {
if(precision > 4096) { int todo;
int todoTestThis; // if(precision > 4096) {
return (int)(precision ^ (precision >> 32)); // return (int)(precision ^ (precision >> 32));
} else { // }
try { try {
hash = ByteUtils.getByteArrayHash(getBytes()); hash = ByteUtils.getByteArrayHash(getBytes());
} catch(SQLException e) { } catch(SQLException e) {
// TODO hash code for lob: should not ignore exception // TODO hash code for lob: should not ignore exception
}
} }
} }
return hash; return hash;
......
...@@ -93,13 +93,8 @@ java -Xmx512m -Xrunhprof:cpu=samples,depth=8 org.h2.tools.RunScript -url jdbc:h2 ...@@ -93,13 +93,8 @@ java -Xmx512m -Xrunhprof:cpu=samples,depth=8 org.h2.tools.RunScript -url jdbc:h2
TestAll test = new TestAll(); TestAll test = new TestAll();
test.printSystem(); test.printSystem();
int testing;
Constants.MAX_FILE_RETRY = 1;
/* /*
MAX_FILE_RETRY to information.schema.settings
Before you ask support: Before you ask support:
Query is slow Query is slow
- Run ANALYSE (see documentation for details) - Run ANALYSE (see documentation for details)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论