Andrew Dolgov
0881d0a00d
some dbupdater improvements; fix schema 136 syntax for mysql
2019-03-06 19:42:27 +03:00
Andrew Dolgov
0d04e21006
updater: rollback on error
2019-03-06 19:09:28 +03:00
Andrew Dolgov
26c226c8e4
dbupdater: catch PDO exception instead of internal errors since we're using those now; log queries while updating
2019-03-06 19:05:44 +03:00
Andrew Dolgov
c10a43069e
debug logging system rework:
...
* support various logging levels per-message
* remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
* _debug() is kept as a compatibility shim for plugins
2018-11-30 08:34:29 +03:00
Andrew Dolgov
1d92297a96
dbupdater: use PDO
2017-12-02 01:28:30 +03:00
Andrew Dolgov
57a1143c9d
dbupdater: fail if version file missing
2017-07-02 20:53:07 +03:00
Andrew Dolgov
ea79a0e033
remove some redundant php closing tags
2017-04-26 20:24:18 +03:00
Andrew Dolgov
977cea1438
actually check for failures properly in the dbupdater
2016-04-26 20:04:24 +03:00
Andrew Dolgov
0630a100d5
revert OO-db access in dbupdater, create DbUpdater() correctly
2013-04-17 21:40:04 +04:00
Andrew Dolgov
d9c85e0f11
classes: use OO DB interface
2013-04-17 20:12:14 +04:00
Andrew Dolgov
a42c55f02b
fix blank character after opening bracket in function calls
2013-04-17 18:34:18 +04:00
Andrew Dolgov
6322ac79a0
remove $link
2013-04-17 16:48:41 +04:00
Andrew Dolgov
b4c47f7e7b
add command-line db schema updater
2013-04-04 19:15:14 +04:00