levlam
|
7b8a016a9e
|
Improve fatal error message.
|
2022-06-30 01:32:32 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
d06a7ddf1c
|
Don't sync just created binlog.
|
2022-05-23 02:24:52 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
f2de47e5b5
|
Improve PerfWarningTimer logging on database opening.
|
2022-02-13 22:51:53 +03:00 |
|
levlam
|
f5d8e4de83
|
Use table_remove_if.
|
2022-02-10 12:23:52 +03:00 |
|
levlam
|
9e6d106585
|
Minor improvements.
|
2022-02-10 11:55:32 +03:00 |
|
levlam
|
2b1314295d
|
Check and fix half of FlatHashMap usages.
|
2022-02-10 00:59:52 +03:00 |
|
levlam
|
22ed61e1b7
|
More FlatHashMap usages.
|
2022-02-09 17:05:27 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
1782b8e478
|
Minor improvements.
|
2021-12-16 16:16:34 +03:00 |
|
levlam
|
7bff3ed912
|
Add SqliteKeyValue::set_all.
|
2021-12-12 22:34:19 +03:00 |
|
levlam
|
ef7ccc020a
|
Remove SeqNo from SqliteKeyValue.
|
2021-12-12 15:41:06 +03:00 |
|
levlam
|
42aadccc8b
|
Fix warning.
|
2021-12-07 13:10:30 +03:00 |
|
levlam
|
e740f5f86c
|
Try a few times to find the new binlog after renaming it. This could help on some virtual file systems like /mnt directory on WSL 2.0.
|
2021-12-06 13:58:11 +03:00 |
|
levlam
|
a6c0902ad7
|
Silence g++ warnings.
|
2021-12-01 16:01:27 +03:00 |
|
levlam
|
e7dfed10a5
|
Increase performance warning time to a reasonable value.
|
2021-11-17 09:07:23 +03:00 |
|
levlam
|
43855f0ce4
|
Improve error message.
|
2021-11-14 10:07:04 +03:00 |
|
levlam
|
b731414d42
|
Init some fields just in case.
|
2021-11-11 17:39:09 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|
levlam
|
1e49f6dc13
|
Use auto as variable type if it is initialized with a cast.
|
2021-10-20 01:27:02 +03:00 |
|
levlam
|
44a186c7c1
|
Minor improvements.
|
2021-10-18 19:26:14 +03:00 |
|
levlam
|
b34cfef4d0
|
Replace begin_transaction with begin_read_transaction and begin_write_transaction.
|
2021-10-07 13:18:00 +03:00 |
|
levlam
|
91f7d06282
|
Improve error message.
|
2021-09-25 21:25:51 +03:00 |
|
levlam
|
23f585caf0
|
Unify set SQLite PRAGMAs.
|
2021-09-23 11:20:42 +03:00 |
|
levlam
|
626caad19a
|
Create database before attaching it.
|
2021-09-22 20:17:37 +03:00 |
|
levlam
|
a0cc1be3e6
|
Add allow_creation parameter to SqliteDb::init.
|
2021-09-22 19:04:56 +03:00 |
|
levlam
|
f073c790c5
|
Make DbKey required to construct SqliteConnectionSafe.
|
2021-09-22 17:20:10 +03:00 |
|
levlam
|
2008290425
|
Remove old way to init SqliteDb.
|
2021-09-22 17:05:52 +03:00 |
|
levlam
|
f8402d5d9d
|
Simplify error message.
|
2021-09-22 14:56:48 +03:00 |
|
levlam
|
dc6d9822a2
|
Ignore shm deletion errors.
|
2021-09-22 11:33:28 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
a8e8208fa6
|
Improve order of binlog files deletion.
|
2021-07-26 21:09:39 +03:00 |
|
levlam
|
5e9cf68df1
|
Add more binlog reindex debug.
|
2021-07-14 05:24:45 +03:00 |
|
levlam
|
31bc98a7bd
|
Improve logging on failed to rename binlogs.
|
2021-07-13 23:46:09 +03:00 |
|
levlam
|
40c5d47717
|
Make inherited classes final if possible.
|
2021-07-04 05:58:54 +03:00 |
|
levlam
|
edfa5d1d98
|
Use final instead of override.
|
2021-07-03 23:51:36 +03:00 |
|
levlam
|
9628668def
|
Minor improvements.
|
2021-06-23 03:22:23 +03:00 |
|
levlam
|
a36266a764
|
Add BinlogKeyValue logging.
|
2021-06-16 05:23:22 +03:00 |
|
levlam
|
924286da8f
|
Use manual checks instead of cmake_minimum_required to propagate policies.
|
2021-06-13 23:38:48 +03:00 |
|
levlam
|
8db4febd4c
|
Minor improvements.
|
2021-06-02 15:43:56 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
c171c9a743
|
Improve fatal error message.
|
2021-04-06 01:19:30 +03:00 |
|
levlam
|
e031a2c6c1
|
Improve Slice::truncate usage.
|
2021-02-04 15:54:12 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
15359488be
|
Fix database opening.
|
2020-11-18 21:08:41 +03:00 |
|
levlam
|
35a9a93fc9
|
Fix std::...::erase return value usages.
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
|
2020-10-08 23:04:40 +03:00 |
|
levlam
|
fdc3920572
|
Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
|
2020-10-08 18:30:36 +03:00 |
|