提交 d7adee0b authored 作者: Noel Grandin's avatar Noel Grandin

spellcheck

上级 0c4ecec6
...@@ -702,7 +702,7 @@ public class Parser { ...@@ -702,7 +702,7 @@ public class Parser {
return getSchema(schemaName); return getSchema(schemaName);
} }
/* /*
* Gets the current schema for scenarios that need a guranteed, non-null schema object. * Gets the current schema for scenarios that need a guaranteed, non-null schema object.
* *
* This routine is solely here * This routine is solely here
* because of the function readIdentifierWithSchema(String defaultSchemaName) - which * because of the function readIdentifierWithSchema(String defaultSchemaName) - which
......
...@@ -23,7 +23,6 @@ import java.util.HashSet; ...@@ -23,7 +23,6 @@ import java.util.HashSet;
import java.util.Set; import java.util.Set;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import java.util.UUID; import java.util.UUID;
import org.h2.api.Trigger; import org.h2.api.Trigger;
import org.h2.command.Parser; import org.h2.command.Parser;
import org.h2.engine.Session; import org.h2.engine.Session;
...@@ -266,7 +265,7 @@ public class FullText { ...@@ -266,7 +265,7 @@ public class FullText {
removeAllTriggers(conn, TRIGGER_PREFIX); removeAllTriggers(conn, TRIGGER_PREFIX);
FullTextSettings setting = FullTextSettings.getInstance(conn); FullTextSettings setting = FullTextSettings.getInstance(conn);
setting.removeAllIndexes(); setting.removeAllIndexes();
setting.clearInored(); setting.clearIgnored();
setting.clearWordList(); setting.clearWordList();
} }
...@@ -1151,8 +1150,8 @@ public class FullText { ...@@ -1151,8 +1150,8 @@ public class FullText {
return buff.toString(); return buff.toString();
} }
private PreparedStatement getStatement(Connection conn, int indx) throws SQLException { private PreparedStatement getStatement(Connection conn, int index) throws SQLException {
return useOwnConnection ? conn.prepareStatement(SQL[indx]) : prepStatements[indx]; return useOwnConnection ? conn.prepareStatement(SQL[index]) : prepStatements[index];
} }
} }
......
...@@ -13,7 +13,6 @@ import java.sql.Statement; ...@@ -13,7 +13,6 @@ import java.sql.Statement;
import java.util.Collections; import java.util.Collections;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import org.h2.util.New; import org.h2.util.New;
import org.h2.util.SoftHashMap; import org.h2.util.SoftHashMap;
...@@ -69,7 +68,7 @@ final class FullTextSettings { ...@@ -69,7 +68,7 @@ final class FullTextSettings {
/** /**
* Clear set of ignored words * Clear set of ignored words
*/ */
public void clearInored() { public void clearIgnored() {
synchronized (ignoreList) { synchronized (ignoreList) {
ignoreList.clear(); ignoreList.clear();
} }
......
...@@ -247,7 +247,7 @@ public class TestMergeUsing extends TestBase implements Trigger { ...@@ -247,7 +247,7 @@ public class TestMergeUsing extends TestBase implements Trigger {
prep = conn.prepareStatement(statementUnderTest); prep = conn.prepareStatement(statementUnderTest);
rowCountUpdate = prep.executeUpdate(); rowCountUpdate = prep.executeUpdate();
// compare actual results from SQL resultsset with expected results - by diffing (aka set MINUS operation) // compare actual results from SQL result set with expected results - by diffing (aka set MINUS operation)
rs = stat.executeQuery("( "+gatherResultsSQL+" ) MINUS ( "+expectedResultsSQL+" )"); rs = stat.executeQuery("( "+gatherResultsSQL+" ) MINUS ( "+expectedResultsSQL+" )");
int rowCount = 0; int rowCount = 0;
...@@ -255,8 +255,8 @@ public class TestMergeUsing extends TestBase implements Trigger { ...@@ -255,8 +255,8 @@ public class TestMergeUsing extends TestBase implements Trigger {
while (rs.next()) { while (rs.next()) {
rowCount++; rowCount++;
diffBuffer.append("|"); diffBuffer.append("|");
for(int ndx = 1; ndx <= rs.getMetaData().getColumnCount(); ndx++){ for(int i = 1; i <= rs.getMetaData().getColumnCount(); i++){
diffBuffer.append(rs.getObject(ndx)); diffBuffer.append(rs.getObject(i));
diffBuffer.append("|\n"); diffBuffer.append("|\n");
} }
} }
......
...@@ -115,7 +115,7 @@ public class TestScript extends TestBase { ...@@ -115,7 +115,7 @@ public class TestScript extends TestBase {
for (String s : new String[] { "array-contains", "array-get", for (String s : new String[] { "array-contains", "array-get",
"array-length", "autocommit", "cancel-session", "casewhen", "array-length", "autocommit", "cancel-session", "casewhen",
"cast", "coalesce", "convert", "csvread", "csvwrite", "currval", "cast", "coalesce", "convert", "csvread", "csvwrite", "currval",
"database-path", "datebase", "decode", "disk-space-used", "database-path", "database", "decode", "disk-space-used",
"file-read", "file-write", "greatest", "h2version", "identity", "file-read", "file-write", "greatest", "h2version", "identity",
"ifnull", "least", "link-schema", "lock-mode", "lock-timeout", "ifnull", "least", "link-schema", "lock-mode", "lock-timeout",
"memory-free", "memory-used", "nextval", "nullif", "nvl2", "memory-free", "memory-used", "nextval", "nullif", "nvl2",
......
...@@ -104,7 +104,7 @@ collaborative collapse collate collateral collation collations collator collator ...@@ -104,7 +104,7 @@ collaborative collapse collate collateral collation collations collator collator
collect collected collecting collection collections collectively collector collect collected collecting collection collections collectively collector
collide collision collisions colon color cols colspan column columnlist columns collide collision collisions colon color cols colspan column columnlist columns
com combination combinations combinatorics combine combined combines combining com combination combinations combinatorics combine combined combines combining
combo combobox come comes comma command commands commas comment commented combo combobox come comes coming comma command commands commas comment commented
comments commercial commit commits committed committing common commonly commons comments commercial commit commits committed committing common commonly commons
communicates communication community comp compact compacted compacting compaction communicates communication community comp compact compacted compacting compaction
compacts companies company comparable comparative comparator compare compared compacts companies company comparable comparative comparator compare compared
...@@ -561,7 +561,7 @@ safes safety said sainsbury salary sale sales saload salt salz sam same ...@@ -561,7 +561,7 @@ safes safety said sainsbury salary sale sales saload salt salz sam same
sameorigin samp sample samples sanitize sanity sans sastore sat satisfy saturday sauce sameorigin samp sample samples sanitize sanity sans sastore sat satisfy saturday sauce
sauerkraut sava save saved savepoint savepoints saves saving savings say saying sauerkraut sava save saved savepoint savepoints saves saving savings say saying
says sbquo scala scalability scalable scalar scale scaled scales scan scanned says sbquo scala scalability scalable scalar scale scaled scales scan scanned
scanner scanners scanning scans scapegoat scc schedule scheduler schem schema scanner scanners scanning scans scapegoat scc scenarios schedule scheduler schem schema
schemas schemata scheme schmorp school schwietzke sciences scientific scjp scm schemas schemata scheme schmorp school schwietzke sciences scientific scjp scm
scones scoop scope scoped score scott scramble scrambling scratch screen scones scoop scope scoped score scott scramble scrambling scratch screen
screenshot script scriptable scriptella scripting scripts scroll scrollable screenshot script scriptable scriptella scripting scripts scroll scrollable
...@@ -677,7 +677,7 @@ undetected undo undocumented undone unencrypted unenforceable unescape unexpecte ...@@ -677,7 +677,7 @@ undetected undo undocumented undone unencrypted unenforceable unescape unexpecte
unfortunately unhandled uni unicode unified uniform uniformly unimplemented unfortunately unhandled uni unicode unified uniform uniformly unimplemented
unindexed uninitialized uninstall uninteresting uninterpreted uninterruptible unindexed uninitialized uninstall uninteresting uninterpreted uninterruptible
union unique uniquely uniqueness uniques unit united units universal universally union unique uniquely uniqueness uniques unit united units universal universally
unix unixtime unknown unless unlike unlimited unlink unlinked unload unloaded unix unixtime unknown unless unlike unlikely unlimited unlink unlinked unload unloaded
unloading unloads unlock unlocked unlocking unlocks unmaintained unmappable unloading unloads unlock unlocked unlocking unlocks unmaintained unmappable
unmapped unmodified unmounted unnamed unnecessarily unnecessary unneeded uno unmapped unmodified unmounted unnamed unnecessarily unnecessary unneeded uno
unofficial unordered unpredictable unquoted unrecognized unrecoverable unofficial unordered unpredictable unquoted unrecognized unrecoverable
...@@ -741,3 +741,9 @@ stumc numbered ...@@ -741,3 +741,9 @@ stumc numbered
reopening cloudera hive clustername whomooz unittest anymore snowflakecomputing unpadded endpoint redshift backingtable reopening cloudera hive clustername whomooz unittest anymore snowflakecomputing unpadded endpoint redshift backingtable
trimming hadoop azure resolves snowflake testsynonym plays charsettable synonyms nonexisting impala codepage recognize trimming hadoop azure resolves snowflake testsynonym plays charsettable synonyms nonexisting impala codepage recognize
dbm forwarded amazon stmnt excessive testvalue dbm forwarded amazon stmnt excessive testvalue
rowids searchers tcnt enforcing timeanddate nullifies determines believe giving
vectorwise preparation corrupting cubrid diffing unrestricted cleanups warns
rowspan specifically unoptimized stand emphasize cascaded exasol minimize rnum figure
emptying goal gathers multithread amend raised iter gathered gather especially requiring
collaboration thank essentially bunch vmlens subroutines nulled
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论