Commit Graph

40 Commits (c10a43069ec1e71b6608574a81fb29c76919e132)

Author SHA1 Message Date
Andrew Dolgov 22366ccc5b db_prefs: fix cache never being used on read(); remove unnecessary
sprintf()s to integer
6 years ago
Andrew Dolgov 7c6f7bb0aa fix some minor issues found by code analyzer 7 years ago
Andrew Dolgov cc9450c309 ccache, misc: fixes
feeds: start PDO transition
7 years ago
Andrew Dolgov fbde19580c db_prefs: PDO 7 years ago
Andrew Dolgov ca82bb03c8 rm db_stmt 7 years ago
Andrew Dolgov 99bda9cc12 add some starting pdo glue 7 years ago
Andrew Dolgov ab8daa0389 use mysqli_set_charset() to set MYSQL_CHARSET 7 years ago
Andrew Dolgov e130b283a7 db prefs: ignore cache when preference requested for specified UID (in case cached value of a different profile is stored)
prefs: show (and set) enabled plugins for default profile only
7 years ago
Andrew Dolgov 891df34637 add some basic API unit tests 8 years ago
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 8 years ago
Andrew Dolgov 7b55001eee fix various issues reported by static analysis
update gitlab-ci config
8 years ago
Andrew Dolgov 3c11159776 return result codes if DB connection or --debug-feed fails 8 years ago
Andrew Dolgov e54eb40a8c remove support for legacy mysql driver 8 years ago
Andrew Dolgov a005ebb693 remove classes/db/api.php (shouldn't be there) 8 years ago
Heiko Adams 94e3a9ab44
Merge with master 9 years ago
Andrew Dolgov 977cea1438 actually check for failures properly in the dbupdater 9 years ago
Andrew Dolgov cc43e19b44 error handler: do not log last query, truncate error message to a smaller length 9 years ago
Andrew Dolgov 475d762872 logger: record last query before logged error 9 years ago
Andrew Dolgov ad9928a5cb adjust cpu_tuple to 0.5 9 years ago
Andrew Dolgov 981059fd1f postgresql: adjust cpu_tuple (experimental) 9 years ago
Andrew Dolgov 415a3b50c9 fix some minor typos and stuff 10 years ago
Andrew Dolgov 38f439708c rollback current transaction before trying to report SQL query errors, properly save database error messages when logging query errors 11 years ago
Jonathan Bither fbe135fb36 mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysqli_error() 12 years ago
Andrew Dolgov 6a51939ee6 db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users 12 years ago
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 12 years ago
Andrew Dolgov b20b6af0dc only pass port to mysqli_connect when it is set 12 years ago
Andrew Dolgov 52d88392da move db-prefs to OO 12 years ago
Andrew Dolgov 73663db316 support pgsql in pdo 12 years ago
Andrew Dolgov 9ee90455b8 add experimental support for PDO (_ENABLE_PDO) 12 years ago
Andrew Dolgov e441b5837b initial 12 years ago
Andrew Dolgov ae35bb87eb support mysqli when available 12 years ago
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 12 years ago
Andrew Dolgov eefaa2df38 remove db_connect, db_close; CLI fixes 12 years ago
Andrew Dolgov 6322ac79a0 remove $link 12 years ago
Andrew Dolgov aca75cb5cb reinstate error handlers; better DB error reporting on failed queries 12 years ago
Andrew Dolgov 404e2e3603 more work on singleton-based DB 12 years ago
Andrew Dolgov ba68b6815a db updates, remove init_connection() 12 years ago
Andrew Dolgov 9594791782 experimental singleton-based Db connection 12 years ago
Andrew Dolgov a48d8533bf Revert "db: use builtin classloader, lowercase class files"
This reverts commit 57b8469e67.
12 years ago
Andrew Dolgov 57b8469e67 db: use builtin classloader, lowercase class files 12 years ago