Page MenuHomeDevCentral

Initialize MySQL instance when needed
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:04.
Tags
None
Referenced Files
F9916338: D1162.diff
Mon, Jun 16, 05:09
F9891389: D1162.diff
Sun, Jun 15, 20:08
Unknown Object (File)
Thu, Jun 12, 00:29
Unknown Object (File)
Sun, Jun 8, 06:39
Unknown Object (File)
Sun, Jun 8, 01:04
Unknown Object (File)
Sat, Jun 7, 17:31
Unknown Object (File)
Sat, Jun 7, 07:46
Unknown Object (File)
Fri, Jun 6, 22:30
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
No Lint Coverage
Unit
No Test Coverage
Branch
mysql-facultative
Build Status
Buildable 1828
Build 2076: arc lint + arc unit

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.