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

This commit is contained in:
Ryan McKinley
2024-08-27 14:16:04 +03:00
committed by GitHub
parent c98e3e0483
commit c59dddf7af
10 changed files with 47 additions and 3 deletions
@@ -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