HomePhabricator

load-datasets: Use a single MySQL connection object

Description

load-datasets: Use a single MySQL connection object

Create a single object and pass that through to other code that needs
it. Also use with() for the connection and cursor access.

Bug: T278719
Change-Id: I0d25f9c266b706671537c0affd060544f5c9d086

Details

Provenance
kostajhAuthored on Apr 1 2021, 8:19 PM
Parents
rRMWA6319b7e3c22a: Merge "Adjust character set to utf8mb4_bin" into main
Branches
Unknown
Tags
Unknown
References
refs/changes/59/676459/2
ChangeId
I0d25f9c266b706671537c0affd060544f5c9d086