~singpolyma/biboumi

ref: ffb402f0adb9f808c7b8bc9616e71f7b3f8931ac biboumi/src/utils/reload.cpp -rw-r--r-- 795 bytes
4d55a120 — louiz’ 5 years ago
Re-implement correctly the handling of failure to open the database

If we can’t open it at startup, we exit.
If we can’t open it on reload, we keep the previously-opened database.

This way, we’re assured to always have a valid and open database available.
5ba66c33 — louiz 5 years ago
Merge branch 'orm' into 'master'

Pure c++ sqlite3 ORM

Closes #3271

See merge request !11
8d1d822e — louiz’ 5 years ago
Explicitely close the Database before re-opening it
50cadf3d — louiz’ 5 years ago
Implement our own database ORM, and update the whole code to use it

Entirely replace LiteSQL

fix #3271
24824a50 — louiz’ 6 years ago
In reload.cpp, only build the database things if litesql is used
9fb2e116 — louiz’ 6 years ago
Move reload.*pp from louloulibs to src
4c1b9abe — louiz’ 6 years ago
Properly catch and handle database errors

Do not use a singleton for the database.

fix #3203
46ff7366 — louiz’ 6 years ago
Clean the Config module, use static things instead of a stupid singleton
e1a7114c — Florent Le Coz 7 years ago
louloulibs is directly included, instead of being a submodule

Because this is a nightmare to manage