Commit Graph

35 Commits (master)

Author SHA1 Message Date
Jordan Galby 3d801b1ac5 set orm and pdo mysql charset on connection 3 years ago
Andrew Dolgov 031ee47a3e don't try to pass string literal NOW() to ORM as a timestamp 3 years ago
Andrew Dolgov f38be747d1 initial for idiorm 3 years ago
Andrew Dolgov 2ae0b7059f cleanup some defined-stuff 3 years ago
Andrew Dolgov 445ac1213c finalize config:: migration; make config.php optional 3 years ago
Andrew Dolgov 211f699aa0 migrate the rest into Config:: 3 years ago
Andrew Dolgov e4107ac952 wip: initial for config object 3 years ago
Andrew Dolgov 5d42ce553f drop legacy DB interface and related sanity checks 3 years ago
Andrew Dolgov 6e57fd77af db: add type hints 3 years ago
Andrew Dolgov 74568df4ff remove a lot of stuff from global context (functions.php), add a few helper classes instead 4 years ago
Andrew Dolgov bb84330234 Logger_SQL: use separate PDO connection 6 years ago
Andrew Dolgov 01d22e255f PDO: switch error reporting to exceptions 6 years ago
Andrew Dolgov 83a052f1fa pdo_connect: catch exception on create 7 years ago
Andrew Dolgov f8db5bb4db installer: use PDO, improve wording for some notices
PDO wrapper: allow working with blank DB_HOST
7 years ago
Andrew Dolgov 2f0623c9a5 db: return adapter on get(), remove IDB wrapper 7 years ago
Andrew Dolgov df5d2a0665 pluginhost: do not connect via legacy DB api until requested
log all initiated legacy database connections
7 years ago
Andrew Dolgov 28040002f3 pdo connection string: properly check for DB_PORT 7 years ago
Andrew Dolgov dd90eefae1 PDO: set unicode for mysql and other connection params 7 years ago
Andrew Dolgov 2e46b434da pdo: set warnings 7 years ago
Andrew Dolgov 8adb3ec472 add some WIP pdo stuff 7 years ago
Andrew Dolgov 99bda9cc12 add some starting pdo glue 7 years ago
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 7 years ago
Andrew Dolgov 3c11159776 return result codes if DB connection or --debug-feed fails 7 years ago
Andrew Dolgov e54eb40a8c remove support for legacy mysql driver 8 years ago
Andrew Dolgov 977cea1438 actually check for failures properly in the dbupdater 8 years ago
Andrew Dolgov e2cf81e214 unify houskeeping stuff, increase spawn interval 11 years ago
Andrew Dolgov 1daf0f75fa pass DB_PORT as string 11 years ago
Andrew Dolgov 9ee90455b8 add experimental support for PDO (_ENABLE_PDO) 11 years ago
Andrew Dolgov e441b5837b initial 11 years ago
Andrew Dolgov ae35bb87eb support mysqli when available 11 years ago
Andrew Dolgov 6322ac79a0 remove $link 11 years ago
Andrew Dolgov aca75cb5cb reinstate error handlers; better DB error reporting on failed queries 11 years ago
Andrew Dolgov 404e2e3603 more work on singleton-based DB 11 years ago
Andrew Dolgov ba68b6815a db updates, remove init_connection() 11 years ago
Andrew Dolgov 9594791782 experimental singleton-based Db connection 11 years ago