Changes according to PR review. Requires rebase!
This commit is contained in:
parent
c7aaf31cbe
commit
c76675f11a
|
@ -156,7 +156,7 @@ public class SqlStatementLogger {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ( startTimeNanos <= 0 ) {
|
if ( startTimeNanos <= 0 ) {
|
||||||
throw new IllegalArgumentException( "startTimeNanos should be greater than 0!" );
|
throw new IllegalArgumentException( "startTimeNanos [" + startTimeNanos + "] should be greater than 0!" );
|
||||||
}
|
}
|
||||||
|
|
||||||
long queryExecutionMillis = TimeUnit.NANOSECONDS.toMillis( System.nanoTime() - startTimeNanos );
|
long queryExecutionMillis = TimeUnit.NANOSECONDS.toMillis( System.nanoTime() - startTimeNanos );
|
||||||
|
|
Loading…
Reference in New Issue