proper sequential evaluation;
authorwenzelm
Mon, 21 Aug 2023 20:40:15 +0200
changeset 78557 131e2a220c78
parent 78556 20360824863a
child 78558 ca0fe2802123
proper sequential evaluation;
src/Pure/General/sql.scala
--- a/src/Pure/General/sql.scala	Mon Aug 21 15:54:08 2023 +0200
+++ b/src/Pure/General/sql.scala	Mon Aug 21 20:40:15 2023 +0200
@@ -481,7 +481,10 @@
       def trace(msg: String): Unit = {
         val trace_time = Time.now() - trace_start
         if (trace_time >= trace_min) {
-          val nl = if (trace_nl) "" else { trace_nl = true; "\nnow = " + (Time.now() - time_start).toString + "\n" }
+          time_start
+          val nl =
+            if (trace_nl) ""
+            else { trace_nl = true; "\nnow = " + (Time.now() - time_start).toString + "\n" }
           log(nl + trace_time + " transaction " + trace_count +
             if_proper(label, " " + label) + ": " + msg)
         }