Page MenuHomeDevCentral

Initialize MySQL instance when needed
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:04.
Tags
None
Referenced Files
F2989904: D1162.diff
Sat, May 25, 15:52
Unknown Object (File)
Fri, May 24, 21:36
Unknown Object (File)
Thu, May 23, 16:56
Unknown Object (File)
Thu, May 23, 02:38
Unknown Object (File)
Thu, May 23, 02:38
Unknown Object (File)
Wed, May 22, 21:57
Unknown Object (File)
Tue, May 21, 20:11
Unknown Object (File)
Tue, May 21, 05:40
Subscribers
None

Details

Summary

$db was populated at global level.

This change introduces a singleton pattern in the sql_db class
to load it when needed.

If a container is introduced, sql_db could be a facade for the
SQL service in the container.

Ref T1294

Diff Detail

Repository
rTOOLS Nasqueron Tools
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 3 2017, 18:05
This revision was automatically updated to reflect the committed changes.