提交 8bb52f36 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix indentation and long lines

上级 b9d29a57
...@@ -5592,7 +5592,7 @@ public class Parser { ...@@ -5592,7 +5592,7 @@ public class Parser {
* data and table if we don't have a working CTE already. * data and table if we don't have a working CTE already.
*/ */
Table recursiveTable = TableView.createShadowTableForRecursiveTableExpression( Table recursiveTable = TableView.createShadowTableForRecursiveTableExpression(
isTemporary, session, cteViewName, schema, columns, database); isTemporary, session, cteViewName, schema, columns, database);
List<Column> columnTemplateList; List<Column> columnTemplateList;
String[] querySQLOutput = {null}; String[] querySQLOutput = {null};
try { try {
......
...@@ -94,7 +94,7 @@ public class MVMap<K, V> extends AbstractMap<K, V> ...@@ -94,7 +94,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
private MVMap(MVStore store, DataType keyType, DataType valueType, int id, long createVersion, private MVMap(MVStore store, DataType keyType, DataType valueType, int id, long createVersion,
AtomicReference<RootReference> root, int keysPerPage, boolean singleWriter) { AtomicReference<RootReference> root, int keysPerPage, boolean singleWriter) {
this.store = store; this.store = store;
this.id = id; this.id = id;
this.createVersion = createVersion; this.createVersion = createVersion;
......
...@@ -107,8 +107,8 @@ class MVSortedTempResult extends MVTempResult { ...@@ -107,8 +107,8 @@ class MVSortedTempResult extends MVTempResult {
* sort order, or {@code null} if this result does not need any * sort order, or {@code null} if this result does not need any
* sorting * sorting
*/ */
MVSortedTempResult(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes, int visibleColumnCount, MVSortedTempResult(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes,
SortOrder sort) { int visibleColumnCount, SortOrder sort) {
super(database, expressions.length, visibleColumnCount); super(database, expressions.length, visibleColumnCount);
this.distinct = distinct; this.distinct = distinct;
this.distinctIndexes = distinctIndexes; this.distinctIndexes = distinctIndexes;
......
...@@ -1246,7 +1246,8 @@ public class TestFunctions extends TestDb implements AggregateFunction { ...@@ -1246,7 +1246,8 @@ public class TestFunctions extends TestDb implements AggregateFunction {
Connection conn = getConnection("functions"); Connection conn = getConnection("functions");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
stat.execute("CREATE TABLE TEST(S VARCHAR, TS TIMESTAMP, D DATE, T TIME, TZ TIMESTAMP WITH TIME ZONE)"); stat.execute("CREATE TABLE TEST(S VARCHAR, TS TIMESTAMP, D DATE, T TIME, TZ TIMESTAMP WITH TIME ZONE)");
stat.execute("INSERT INTO TEST VALUES ('2010-01-01 10:11:12', '2010-01-01 10:11:12', '2010-01-01', '10:11:12', '2010-01-01 10:11:12Z')"); stat.execute("INSERT INTO TEST VALUES ('2010-01-01 10:11:12', '2010-01-01 10:11:12',"
+ " '2010-01-01', '10:11:12', '2010-01-01 10:11:12Z')");
ResultSetMetaData md = stat.executeQuery("SELECT DATE_TRUNC('HOUR', S), DATE_TRUNC('HOUR', TS)," ResultSetMetaData md = stat.executeQuery("SELECT DATE_TRUNC('HOUR', S), DATE_TRUNC('HOUR', TS),"
+ " DATE_TRUNC('HOUR', D), DATE_TRUNC('HOUR', T), DATE_TRUNC('HOUR', TZ) FROM TEST") + " DATE_TRUNC('HOUR', D), DATE_TRUNC('HOUR', T), DATE_TRUNC('HOUR', TZ) FROM TEST")
.getMetaData(); .getMetaData();
......
...@@ -446,7 +446,8 @@ public class TestValue extends TestDb { ...@@ -446,7 +446,8 @@ public class TestValue extends TestDb {
} }
} }
private static int testLobComparisonImpl(DataHandler dh, int type, int size1, int size2, int suffix1, int suffix2) { private static int testLobComparisonImpl(DataHandler dh, int type, int size1, int size2, int suffix1,
int suffix2) {
byte[] bytes1 = new byte[size1]; byte[] bytes1 = new byte[size1];
byte[] bytes2 = new byte[size2]; byte[] bytes2 = new byte[size2];
if (size1 > 0) { if (size1 > 0) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论