|
124690cc4d
|
dba: Beautification is now a separate function
|
2017-05-15 21:06:17 +00:00 |
|
|
83e4141639
|
Bugfix: dba::num_rows hadn't checked the object variable
|
2017-05-15 15:17:38 +00:00 |
|
|
05c890f256
|
Bugfix: The commit in dba::delete was never executed
|
2017-05-14 07:01:38 +00:00 |
|
|
c52f7657ab
|
Now it should work
|
2017-05-11 20:19:43 +00:00 |
|
|
6ef24890bb
|
dbclean is now using the new database functions / new functions for commit, rollback and transaction
|
2017-05-11 20:13:45 +00:00 |
|
|
054e40de65
|
And another one
|
2017-05-07 08:18:50 +00:00 |
|
|
7a3bdbfc15
|
Wrong parameter for delete command
|
2017-05-07 08:12:36 +00:00 |
|
|
8dd8936dd0
|
DESC should be ASC - this is more logically.
|
2017-05-06 12:46:31 +00:00 |
|
|
3ca70e6362
|
New function "dba::select" to fetch table rows
|
2017-05-06 11:32:18 +00:00 |
|
|
353074850e
|
It is now possible to connect to a db server with host:port
|
2017-05-03 19:22:44 +00:00 |
|
|
b767a47527
|
PR 3419: Avoid problems with PHP7 and dba.php
|
2017-05-02 10:47:53 +00:00 |
|
|
d106ff5086
|
Error reporting hadn't worked for the new functions
|
2017-05-01 21:38:37 +00:00 |
|
|
0241a88c0d
|
Avoid duplicated queries
|
2017-05-01 19:54:08 +00:00 |
|
|
b9b43e30e6
|
Delete queries are now split into chunks.
|
2017-05-01 17:42:37 +00:00 |
|
|
e90ae79d35
|
The number of queries is reduced dramatically
|
2017-05-01 09:34:15 +00:00 |
|
|
e6cbe3be11
|
This is better
|
2017-05-01 06:35:41 +00:00 |
|
|
0d7996d852
|
Only fetch the rows when needed
|
2017-05-01 05:45:36 +00:00 |
|
|
c2820c452f
|
Delete now works
|
2017-04-30 19:54:41 +00:00 |
|
|
0e4cd900d5
|
Improved dba:update function.
|
2017-04-29 07:50:09 +00:00 |
|
|
9900d28c4b
|
We should return a return value when we say that we have a return value.
|
2017-04-28 06:21:12 +00:00 |
|
|
782783aa52
|
New function "dba::update" and changed unique index for the conversations
|
2017-04-28 05:50:27 +00:00 |
|
|
3b5e1bbfc3
|
dba:p and dba:e can now be called with a parameter array as well.
|
2017-04-28 04:47:28 +00:00 |
|
|
615197e044
|
We should escape the table name as well.
|
2017-04-28 04:05:50 +00:00 |
|
|
35dc56c9c2
|
Salmons with Mastodon seem to work now
|
2017-04-27 20:38:46 +00:00 |
|
|
45d73b106b
|
Conversation data is now stored in another table
|
2017-04-26 21:16:25 +00:00 |
|
|
d11e3afc6c
|
Added class description
|
2017-04-25 16:05:26 +00:00 |
|
|
4c131362b3
|
Better debugging
|
2017-04-25 05:20:34 +00:00 |
|
|
67bae59c66
|
Small corrections
|
2017-04-25 05:11:04 +00:00 |
|
|
8de510e635
|
We weren't able to test mysqlnd, so better remove the code
|
2017-04-24 21:51:47 +00:00 |
|
|
eb63ce5df5
|
Free results
|
2017-04-24 21:36:04 +00:00 |
|
|
ec0d2a1a03
|
Little spelling problem
|
2017-04-24 21:23:00 +00:00 |
|
|
b5f10e5ddb
|
Replace spaces by tabs
|
2017-04-24 21:20:24 +00:00 |
|
|
ed437e978a
|
Code cleanup
|
2017-04-24 21:18:30 +00:00 |
|
|
82f13441bc
|
Removed old functions
|
2017-04-24 21:02:51 +00:00 |
|
|
9959da5a1c
|
New function to calculate rows
|
2017-04-24 20:32:35 +00:00 |
|
|
d67338a895
|
New function to check for the existance of data
|
2017-04-24 19:23:49 +00:00 |
|
|
d636bcb9d3
|
Restored privates variables
|
2017-04-24 06:27:59 +00:00 |
|
|
311c029bcf
|
Rearranged lines
|
2017-04-24 06:26:49 +00:00 |
|
|
34bb34b9a4
|
Lost lines are back
|
2017-04-24 06:24:03 +00:00 |
|
|
28a28f00a4
|
New function skeleton for execution of queries
|
2017-04-24 06:13:42 +00:00 |
|
|
63b0b05445
|
We now can work with prepared statements
|
2017-04-23 23:15:38 +00:00 |
|
Alexandre Alapetite
|
062070058e
|
Move any_value_fallback() to dba class
https://github.com/friendica/friendica/pull/3323#discussion_r111666245
|
2017-04-15 17:31:32 +02:00 |
|
Alexandre Alapetite
|
06f374b26b
|
Document any_value_fallback()
https://github.com/friendica/friendica/pull/3323#discussion_r111663767
|
2017-04-15 14:39:41 +02:00 |
|
Alexandre Alapetite
|
5007be3cf5
|
Use server_info to fallback from ANY_VALUE if needed
|
2017-04-15 12:40:32 +02:00 |
|
Alexandre Alapetite
|
1058b28cea
|
MySQL ANY_VALUE with fallback to MIN
https://github.com/friendica/friendica/issues/3322
|
2017-04-15 00:42:44 +02:00 |
|
|
58bf1c50af
|
Bugfix: When a query fails we mustn't use the result value.
|
2017-03-16 09:23:12 +00:00 |
|
|
acadb8ecdb
|
Remove redundancies.
|
2017-03-13 06:09:00 +00:00 |
|
|
f09a8609df
|
Better separation between queries with or without result
|
2017-03-07 17:16:17 +00:00 |
|
|
d686bdcf09
|
Quickfix for SQL commands that should return "true" instead of an empty array
|
2017-03-06 10:10:22 +00:00 |
|
|
2ea50d9c47
|
Emulation for the mysqli behaviour when executing insert, update, ...
|
2017-03-05 23:59:53 +00:00 |
|