MySQL: Add parseTime=true to SQL connections (#92469)

This commit is contained in:
Ryan McKinley authored and GitHub committed 2024-08-27 14:16:04 +03:00
1 parent c98e3e0483
commit c59dddf7af
10 files changed
+47 -3

No files matched your search

@@ -31,6 +31,7 @@ func getEngineMySQL(getter *sectionGetter, tracer tracing.Tracer) (*xorm.Engine,
config.Loc = time.UTC
config.AllowNativePasswords = true
config.ClientFoundRows = true
config.ParseTime = true
// allow executing multiple SQL statements in a single roundtrip, and also
// enable executing the CALL statement to run stored procedures that execute