Andrew Dolgov
|
ca82bb03c8
|
rm db_stmt
|
2017-11-30 11:53:21 +03:00 |
Andrew Dolgov
|
99bda9cc12
|
add some starting pdo glue
|
2017-11-30 10:47:42 +03:00 |
Andrew Dolgov
|
ab8daa0389
|
use mysqli_set_charset() to set MYSQL_CHARSET
|
2017-08-09 08:05:52 +03:00 |
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
|
2017-06-24 14:29:07 +03:00 |
Andrew Dolgov
|
891df34637
|
add some basic API unit tests
|
2017-04-27 00:24:17 +03:00 |
Andrew Dolgov
|
ea79a0e033
|
remove some redundant php closing tags
|
2017-04-26 20:24:18 +03:00 |
Andrew Dolgov
|
7b55001eee
|
fix various issues reported by static analysis
update gitlab-ci config
|
2017-04-26 15:29:22 +03:00 |
Andrew Dolgov
|
3c11159776
|
return result codes if DB connection or --debug-feed fails
|
2017-04-25 13:39:01 +03:00 |
Andrew Dolgov
|
e54eb40a8c
|
remove support for legacy mysql driver
|
2016-08-21 14:03:35 +03:00 |
Andrew Dolgov
|
a005ebb693
|
remove classes/db/api.php (shouldn't be there)
|
2016-08-19 18:33:48 +03:00 |
Heiko Adams
|
94e3a9ab44
|
Merge with master
|
2016-05-18 14:44:39 +02:00 |
Andrew Dolgov
|
977cea1438
|
actually check for failures properly in the dbupdater
|
2016-04-26 20:04:24 +03:00 |
Andrew Dolgov
|
cc43e19b44
|
error handler: do not log last query, truncate error message to a smaller length
|
2016-02-17 16:42:13 +03:00 |
Andrew Dolgov
|
475d762872
|
logger: record last query before logged error
|
2015-12-03 16:15:28 +03:00 |
Andrew Dolgov
|
ad9928a5cb
|
adjust cpu_tuple to 0.5
|
2015-08-11 20:28:04 +03:00 |
Andrew Dolgov
|
981059fd1f
|
postgresql: adjust cpu_tuple (experimental)
|
2015-08-11 20:04:54 +03:00 |
Andrew Dolgov
|
415a3b50c9
|
fix some minor typos and stuff
|
2015-06-07 18:41:18 +03:00 |
Andrew Dolgov
|
38f439708c
|
rollback current transaction before trying to report SQL query errors, properly save database error messages when logging query errors
|
2013-08-02 16:20:39 +04:00 |
Jonathan Bither
|
fbe135fb36
|
mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysqli_error()
|
2013-05-30 10:45:47 -04:00 |
Andrew Dolgov
|
6a51939ee6
|
db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users
|
2013-05-16 21:57:39 +04:00 |
Rasmus Lerdorf
|
6f7798b643
|
Fixing bugs found by static analysis
|
2013-05-07 00:35:10 -07:00 |
Andrew Dolgov
|
b20b6af0dc
|
only pass port to mysqli_connect when it is set
|
2013-04-19 07:58:27 +04:00 |
Andrew Dolgov
|
52d88392da
|
move db-prefs to OO
|
2013-04-18 12:00:01 +04:00 |
Andrew Dolgov
|
73663db316
|
support pgsql in pdo
|
2013-04-18 08:28:03 +04:00 |
Andrew Dolgov
|
9ee90455b8
|
add experimental support for PDO (_ENABLE_PDO)
|
2013-04-18 08:20:45 +04:00 |
Andrew Dolgov
|
e441b5837b
|
initial
|
2013-04-17 21:19:00 +04:00 |
Andrew Dolgov
|
ae35bb87eb
|
support mysqli when available
|
2013-04-17 18:56:13 +04:00 |
Andrew Dolgov
|
a42c55f02b
|
fix blank character after opening bracket in function calls
|
2013-04-17 18:34:18 +04:00 |
Andrew Dolgov
|
eefaa2df38
|
remove db_connect, db_close; CLI fixes
|
2013-04-17 17:00:35 +04:00 |
Andrew Dolgov
|
6322ac79a0
|
remove $link
|
2013-04-17 16:48:41 +04:00 |
Andrew Dolgov
|
aca75cb5cb
|
reinstate error handlers; better DB error reporting on failed queries
|
2013-04-17 16:05:54 +04:00 |
Andrew Dolgov
|
404e2e3603
|
more work on singleton-based DB
|
2013-04-17 15:36:48 +04:00 |
Andrew Dolgov
|
ba68b6815a
|
db updates, remove init_connection()
|
2013-04-17 14:23:35 +04:00 |
Andrew Dolgov
|
9594791782
|
experimental singleton-based Db connection
|
2013-04-17 13:08:36 +04:00 |
Andrew Dolgov
|
a48d8533bf
|
Revert "db: use builtin classloader, lowercase class files"
This reverts commit 57b8469e67 .
|
2013-03-15 19:54:08 +04:00 |
Andrew Dolgov
|
57b8469e67
|
db: use builtin classloader, lowercase class files
|
2013-03-15 14:15:06 +04:00 |