Page MenuHomeDevCentral

Initialize MySQL instance when needed
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:04.
Tags
None
Referenced Files
F34935024: D1162.diff
Sat, Jul 4, 03:22
F34910020: D1162.id.diff
Fri, Jul 3, 21:54
F34910016: D1162.id.diff
Fri, Jul 3, 21:54
F34903103: D1162.diff
Fri, Jul 3, 20:20
F34892237: D1162.id.diff
Fri, Jul 3, 16:36
Unknown Object (File)
Thu, Jul 2, 06:13
Unknown Object (File)
Thu, Jul 2, 05:26
Unknown Object (File)
Thu, Jul 2, 04:21
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.