提交 0842364b authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 53c1aa5f
......@@ -1773,7 +1773,7 @@ create a single quote inside a string.
"Other Grammar","Summand","
factor [ { { + | - } factor } [...] ]
","
A value or a numeric sum.
A value or a numeric sum.
Please note the text concatenation operator is ||.
","
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -57,9 +57,9 @@ public class TestIndex extends TestBase {
testWideIndex(1200);
testWideIndex(2400);
if (config.big) {
Random r = new Random();
Random r = new Random();
for (int j = 0; j < 10; j++) {
int i = r.nextInt(3000);
int i = r.nextInt(3000);
if ((i % 100) == 0) {
println("width: " + i);
}
......@@ -156,12 +156,12 @@ public class TestIndex extends TestBase {
for (int i = 0; i < len; i++) {
switch (rand.nextInt(4)) {
case 0:
if (rand.nextInt(10) == 0) {
if (reopen) {
trace("reconnect");
reconnect();
}
}
if (rand.nextInt(10) == 0) {
if (reopen) {
trace("reconnect");
reconnect();
}
}
break;
case 1:
trace("insert");
......
......@@ -79,24 +79,24 @@ public class TestCrashAPI extends TestBase implements Runnable {
public static void main(String... a) throws Exception {
TestBase.createCaller().init().test();
}
@SuppressWarnings("deprecation")
public void run() {
while (--maxWait > 0) {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// ignore
}
}
if (maxWait == 0) {
public void run() {
while (--maxWait > 0) {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
// ignore
}
}
if (maxWait == 0) {
println("stopping...");
stopped = true;
objects.clear();
if (running) {
mainThread.stop(new SQLException("stop"));
}
}
objects.clear();
if (running) {
mainThread.stop(new SQLException("stop"));
}
}
}
private void recoverAll() throws SQLException {
......@@ -145,17 +145,17 @@ public class TestCrashAPI extends TestBase implements Runnable {
int len = getSize(2, 6);
Thread t = new Thread(this);
try {
mainThread = Thread.currentThread();
mainThread = Thread.currentThread();
t.start();
running = true;
for (int i = 0; i < len && !stopped; i++) {
int seed = MathUtils.randomInt(Integer.MAX_VALUE);
testCase(seed);
deleteDb();
}
running = true;
for (int i = 0; i < len && !stopped; i++) {
int seed = MathUtils.randomInt(Integer.MAX_VALUE);
testCase(seed);
deleteDb();
}
} finally {
running = false;
deleteDb();
running = false;
deleteDb();
maxWait = -1;
t.join();
}
......
......@@ -644,4 +644,4 @@ pulakka pagination collide visual aejaks simulation joonas finland minneapolis
determine timestampdiff harmony doap shortdesc wireless iceland sigurdsson
darri chunks bjorn chunked watson regardless usefulinc represented pushd
recorder grajciar recording slovensky uninitialized arriving lubomir unchanged
erik dick calculations lutin cite bom evaluating telegard excel bbs
erik dick calculations lutin cite bom evaluating telegard excel bbs deprecation
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论