Commit Graph

30 Commits

Author SHA1 Message Date
levlam
a0cc1be3e6 Add allow_creation parameter to SqliteDb::init. 2021-09-22 19:04:56 +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
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +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
f266aa3912 Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
2020-08-14 22:51:10 +03:00
levlam
129e673769 Minor.
GitOrigin-RevId: 17528428dd1741527565d1b2bc012928d3f24c80
2020-08-14 19:53:26 +03:00
Arseny Smirnov
28596f1a3f TdDb: reuse derived sqlcipher version
GitOrigin-RevId: 28a94a5dee34f47850deb5cf1ca41e92e24bf648
2020-08-14 17:48:43 +03:00
Arseny Smirnov
45bfb1b384 TdDb: create sqlite db during SqliteDb::change_key
GitOrigin-RevId: bc0bff23a50f17d9111edac6ba4194fbdffaa1b4
2020-08-14 17:11:58 +03:00
Arseny Smirnov
11e09c5699 Sqlcipher: use compatibility mode instead of migration
GitOrigin-RevId: 91fe86328e7fcd2e03e298482ad2ffac2b48767f
2020-08-14 13:44:16 +03:00
Arseny Smirnov
cecea2ba08 Add debug for 'PRAGMA cipher_migrate'
GitOrigin-RevId: 69c9a979ccf27f77d106e6ce7712c6e4a939722c
2020-08-13 19:21:15 +03:00
Arseny Smirnov
b9de1b94d2 Sqlcipher: automatic migrate
GitOrigin-RevId: 209360f2b40a0d05ec53bb55890518e50c05f34a
2020-08-12 22:36:46 +03:00
levlam
d5ebf00b72 Improve SQLite logging.
GitOrigin-RevId: 5a779f25594f518508a0a9df7f6c64cfb9cbc9e4
2020-03-29 00:12:51 +03:00
levlam
811c4ed95c Add database path to most database errors.
GitOrigin-RevId: 469033593d39a542d517d328de546d24c76c77b1
2020-02-19 04:34:55 +03:00
levlam
38b3c1b52c Better error message.
GitOrigin-RevId: 2779dcf8fa07fbc2e191141774b34fb9c2282b64
2020-01-27 15:12:22 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
Arseny Smirnov
cfb3d7bda4 Support recusrive transactions in sqlite usage
GitOrigin-RevId: 1afd836ebd0c8b1cc79c86c9ef548deeb3f5adaa
2019-08-09 14:31:45 +03:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
9d3ab75c56 Fix some spelling.
GitOrigin-RevId: 351e7c32fee3fb9249d561434ba1515082e757b0
2018-12-14 01:48:36 +03:00
levlam
8e11f8ff1b Add debug.
GitOrigin-RevId: 68545a71066ca1f6b2a87e2da0f3632655a7f006
2018-10-25 01:37:43 +03:00
levlam
92c04286e3 Add language_pack_database option.
GitOrigin-RevId: 99f4b3f75f396d5b25287f4a98bae2dfdda9df00
2018-07-20 16:15:19 +03:00
levlam
deed26ee04 Fix misprint.
GitOrigin-RevId: 2da88c91f4a0c9b7b342a397f04bf62592c986f2
2018-06-08 01:21:14 +03:00
Arseny Smirnov
03b674ab1c SqliteDb: use proper destroy instead of unlink
GitOrigin-RevId: 73d2d992c362c7b0c6d6f28adef56c416ec8c158
2018-06-07 22:56:03 +03:00
levlam
8107c838c0 Add debug.
GitOrigin-RevId: e84446bc4ebbf21f243147b3306b3b3254c7cf0c
2018-04-23 17:54:10 +03:00
levlam
ac8b30f6e6 Better error message.
GitOrigin-RevId: 099dc02976ede7814d0296d37c63c260652e7a8a
2018-04-02 23:11:45 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00