Carl Johnsen
|
6460e33787
|
Added missing double quotes to the SQL queries in LocalRepairDatabase.FixEmptyMetadatasets()
|
2025-06-19 13:23:39 +02:00 |
|
Carl Johnsen
|
0a047a37e3
|
SQL query inside GetEmptyMetadataBlocksetId had not only moved files, but had also changed
|
2025-06-19 13:20:44 +02:00 |
|
Carl Johnsen
|
f6ac30e831
|
Merge remote-tracking branch 'upstream/master' into performance/mssqlite-async
|
2025-06-19 12:17:30 +02:00 |
|
Carl Johnsen
|
2412800c0c
|
Removed the sqlite page cache option. It should be set through the environment variable, or some other way of providing a custom database configurotion
|
2025-06-19 11:41:39 +02:00 |
|
Carl Johnsen
|
7e979a4e9b
|
Found some methods in LocalBackupDatabase that didn't accept a cancellation token
|
2025-06-19 11:01:12 +02:00 |
|
Carl Johnsen
|
32efa4b845
|
Updated all of the handler calls to database methods to forward their cancellation token
|
2025-06-19 09:47:33 +02:00 |
|
Carl Johnsen
|
7c425c4649
|
Added some extra overloads to the async database extension methods
|
2025-06-19 08:08:17 +02:00 |
|
Carl Johnsen
|
b9952281ed
|
ReusableTransaction.RollbackAsync now also accepts cancellation tokens
|
2025-06-19 08:07:48 +02:00 |
|
Carl Johnsen
|
4f7760f092
|
Made the LocalTestDatabase methods accep a cancellation token
|
2025-06-19 08:04:20 +02:00 |
|
Carl Johnsen
|
488d531bd5
|
Made the LocalRestoreDatabase methods accept a cancellation token
|
2025-06-19 07:54:53 +02:00 |
|
Carl Johnsen
|
04c52010fe
|
Made the LocalRepairDatabase methods accept a cancellation token
|
2025-06-19 07:26:54 +02:00 |
|
Carl Johnsen
|
1c103c18b8
|
Made the LocalRecreateDatabase methods accept a cancellation token
|
2025-06-19 07:15:28 +02:00 |
|
Carl Johnsen
|
736b52c2fb
|
Made the LocalPurgeDatabase methods accept a cancellation token
|
2025-06-19 07:00:14 +02:00 |
|
Carl Johnsen
|
3ea8733a4d
|
Made the LocalListDatabase methods accept a cancellation token
|
2025-06-19 06:54:24 +02:00 |
|
 Kenneth SkovhedeandGitHub
|
fa36b705cb
|
Merge pull request #6356 from duplicati/feature/correct-version-number
Return version numbers, and not ids
|
2025-06-18 21:16:46 +02:00 |
|
Carl Johnsen
|
28ca30f617
|
Made the LocalListChangesDatabase methods accept a cancellation token
|
2025-06-18 16:28:23 +02:00 |
|
Carl Johnsen
|
42877ebf96
|
Made the LocalListBrokenFilesDatabase methods accept a cancellation token
|
2025-06-18 16:23:10 +02:00 |
|
Carl Johnsen
|
936742b586
|
Made the LocalListAffectedDatabase methods accept a cancellation token
|
2025-06-18 16:11:10 +02:00 |
|
Carl Johnsen
|
c496d0bf8c
|
Made the LocalDeleteDatabase methods accept a cancellation token
|
2025-06-18 16:07:46 +02:00 |
|
Carl Johnsen
|
ccce18bb00
|
Made the LocalBugReportDatabase methods accept a cancellation token
|
2025-06-18 16:02:05 +02:00 |
|
Carl Johnsen
|
8039cbb0f6
|
Made the LocalBackupDatabase methods accept a cancellation token
|
2025-06-18 16:00:20 +02:00 |
|
Carl Johnsen
|
3b3a7801b8
|
Made the LocalDatabase methods accept a cancellation token
|
2025-06-18 15:36:10 +02:00 |
|
Carl Johnsen
|
87dc978425
|
Made the ChangeStatistics methods accept a cancellation token
|
2025-06-18 14:37:13 +02:00 |
|
Carl Johnsen
|
da57bbae33
|
Made the TemporaryDbValueList methods accept a cancellation token
|
2025-06-18 14:21:57 +02:00 |
|
Carl Johnsen
|
b9555cdcd4
|
Made all the async database extension methods accept a cancellation token
|
2025-06-18 14:21:35 +02:00 |
|
Carl Johnsen
|
bc97eaf71b
|
Removed redundant calls to a SqliteCommand.Parameters.Clear()
|
2025-06-18 12:06:20 +02:00 |
|
Carl Johnsen
|
9ac583db94
|
Made all relevant using statements use await to use DisposeAsync
|
2025-06-18 11:53:11 +02:00 |
|
Carl Johnsen
|
859b65054d
|
Simplified using statements that uses databases or accesses their methods
|
2025-06-18 11:52:05 +02:00 |
|
Carl Johnsen
|
f221098c28
|
Formatted SQL queries - mainly adding double quotes where they were missing.
|
2025-06-18 10:42:08 +02:00 |
|
Carl Johnsen
|
ae633fe0e8
|
Added more docstrings
|
2025-06-18 07:42:57 +02:00 |
|
Carl Johnsen
|
224e883e8d
|
Formatted SQL query strings
|
2025-06-18 07:30:39 +02:00 |
|
Carl Johnsen
|
20716e3fa6
|
Made some more of the internal classes in LocalTestDatabase implement IAsyncDisposable
|
2025-06-18 07:25:24 +02:00 |
|
Carl Johnsen
|
eb4f763831
|
LocalTestDatabase.Basiclist now implements IAsyncDisposable
|
2025-06-18 06:59:57 +02:00 |
|
Carl Johnsen
|
86b75b395a
|
LocalRestoreDatabase.IBlockMarker now implements IAsyncDisposable
|
2025-06-18 06:44:18 +02:00 |
|
Carl Johnsen
|
2296d040a2
|
LocalRestoreDatabase.IFilesAndMetadata now implements IAsyncDisposable
|
2025-06-17 22:15:57 +02:00 |
|
Carl Johnsen
|
273b0f093e
|
Added more docstrings
|
2025-06-17 21:30:11 +02:00 |
|
Carl Johnsen
|
b4e5f2739e
|
Found incorrect type signature for DisposeAsync() methods
|
2025-06-17 21:05:34 +02:00 |
|
Carl Johnsen
|
f167254efe
|
LocalPurgeDatabase.ITemporaryFileset now implements IAsyncDisposable
|
2025-06-17 21:04:41 +02:00 |
|
Carl Johnsen
|
3c36e227ef
|
LocalListDatabase.IFileSets now implements IAsyncDisposable
|
2025-06-17 21:03:41 +02:00 |
|
Carl Johnsen
|
a32a5acaed
|
Added more docstrings
|
2025-06-17 18:01:12 +02:00 |
|
Carl Johnsen
|
0960a60462
|
IStorageHelper now implements IAsyncDisposable
|
2025-06-17 17:45:20 +02:00 |
|
Carl Johnsen
|
8814fdebcc
|
Added more docstrings
|
2025-06-17 15:13:33 +02:00 |
|
Carl Johnsen
|
1f97832546
|
Classes implementing DisposeAsync should also implement the interface
|
2025-06-17 15:11:25 +02:00 |
|
Carl Johnsen
|
1ece8398b6
|
Reordered tuple to match name
|
2025-06-17 14:02:18 +02:00 |
|
Kenneth Skovhede
|
460f60f61c
|
Return version numbers, and not ids
This fixes #6355
|
2025-06-17 11:56:12 +02:00 |
|
Carl Johnsen
|
e81100de04
|
Started on adding docstrings
|
2025-06-17 09:59:22 +02:00 |
|
Kenneth Skovhede
|
2c5c01160c
|
Added a check and repair for empty metadata
This PR adds a check for empty metadatasets (length = 0) and replaces such sets with a default metadataset.
This fixes #6350
|
2025-06-16 16:35:07 +02:00 |
|
Carl Johnsen
|
3d11a05400
|
Added .ConfigureAwait(false) to all of the await statements
|
2025-06-12 08:34:29 +02:00 |
|
Carl Johnsen
|
ef5df3bd7a
|
Changed property accessing database to be an async method
|
2025-06-11 14:32:18 +02:00 |
|
Carl Johnsen
|
e5337e4d26
|
Formatted SQL queries
|
2025-06-11 12:09:58 +02:00 |
|