Recently, timing information such as Time: 0.001s suddenly started to be printed twice.
Possible cause (main.py):
if special.is_timing_enabled():
self.echo(f"Time: {t:0.03f}s")
self.echo(f"Time: {t:0.03f}s")
Workaround: setting timing = False in ~/.myclirc resolves the duplication (only one information is printed)
It was reproducible inside a minimal Alpine container with mycli, version 1.38.3 installed and with the default ~/.myclirc used:
MySQL root@test_service_mysql:t> SELECT 1;
+---+
| 1 |
+---+
| 1 |
+---+
1 row in set
Time: 0.013s
Time: 0.013s <- duplicated
Recently, timing information such as
Time: 0.001ssuddenly started to be printed twice.Possible cause (
main.py):Workaround: setting
timing = Falsein~/.myclircresolves the duplication (only one information is printed)It was reproducible inside a minimal Alpine container with
mycli, version 1.38.3installed and with the default~/.myclircused: