Skip to content

Conversation

kwvg
Copy link
Collaborator

@kwvg kwvg commented Nov 3, 2022

Issue being fixed or feature implemented

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@kwvg kwvg marked this pull request as draft November 3, 2022 17:28
@github-actions
Copy link

This pull request has conflicts, please rebase.

@PastaPastaPasta
Copy link
Member

@UdjinM6 can you look at the single test failure here and try to provide support?

@UdjinM6
Copy link

UdjinM6 commented Jan 2, 2023

UdjinM6@4171852 should fix symbol fcntl64 from unsupported version GLIBC_2.28

@kwvg kwvg force-pushed the sqlite branch 2 times, most recently from caf192e to e5cf20b Compare January 15, 2023 15:40
@kwvg kwvg changed the title backport: merge bitcoin#20130, #19919, #19077, #20156, #20216, #20308, #20324, #20202, #20275, #21634, #21540, #21962, #25378, #23112 (sqlite) backport: merge bitcoin#20130, #19919, #19077, #20156, #20216, #20308, #20324, #20202, #20275 (sqlite) Jan 15, 2023
@github-actions
Copy link

This pull request has conflicts, please rebase.

@kwvg kwvg force-pushed the sqlite branch 5 times, most recently from 922805e to a22e6ed Compare January 21, 2023 11:44
@kwvg kwvg force-pushed the sqlite branch 2 times, most recently from 0b8e6e4 to 5a621fd Compare February 1, 2023 18:17
@kwvg kwvg changed the title backport: merge bitcoin#20130, #19919, #19077, #20156, #20216, #20308, #20324, #20202, #20275 (sqlite) backport: merge bitcoin#20130, #19919, #19077, #20156, #20216, #20308, #20324, #20202, #20275, #21634, #21540, #21962, #25378, #23112 (sqlite) Feb 1, 2023
@kwvg kwvg marked this pull request as ready for review February 1, 2023 19:04
@kwvg kwvg changed the title backport: merge bitcoin#20130, #19919, #19077, #20156, #20216, #20308, #20324, #20202, #20275, #21634, #21540, #21962, #25378, #23112 (sqlite) backport: merge bitcoin#20130, #19077, #20156, #20216, #20308, #20324, #20202, #20275, #21634, #21540, #21962, #25378, #23112 (sqlite) Feb 1, 2023
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

19077 should be marked partial probably + see a question below

UdjinM6
UdjinM6 previously approved these changes Feb 2, 2023
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

PastaPastaPasta
PastaPastaPasta previously approved these changes Feb 4, 2023
Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-utACK for merging via merge commit

Diff looks correct

@UdjinM6
Copy link

UdjinM6 commented Feb 4, 2023

Not sure I like the latest push... how about smth like

diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 4d9a7dc89e..d0d2f6a50d 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -40,9 +40,6 @@
 #include <wallet/coincontrol.h>
 #include <wallet/coinselection.h>
 #include <wallet/fees.h>
-#ifdef USE_SQLITE
-#include <wallet/sqlite.h>
-#endif
 #include <walletinitinterface.h>
 #include <warnings.h>
 
@@ -4636,12 +4633,10 @@ bool CWallet::AutoBackupWallet(const fs::path& wallet_path, bilingual_str& error
         strWalletName = "wallet.dat";
     }
 
-#ifdef USE_SQLITE
-    if (IsSQLiteFile(SQLiteDataFile(wallet_path))) {
-        WalletLogPrintf("Automatic wallet backups are not supported with SQLite!\n");
+    if (!IsBDBFile(BDBDataFile(wallet_path))) {
+        WalletLogPrintf("Can't backup a non-BDB file!\n");
         return false;
     }
-#endif
 
     if (nWalletBackups <= 0) {
         WalletLogPrintf("Automatic wallet backups are disabled!\n");

?

@kwvg
Copy link
Collaborator Author

kwvg commented Feb 4, 2023

Changes made in latest push

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

utACK

Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK for merging via merge commit

@PastaPastaPasta PastaPastaPasta merged commit 3f80203 into dashpay:develop Feb 7, 2023
@UdjinM6 UdjinM6 mentioned this pull request Feb 11, 2023
5 tasks
PastaPastaPasta pushed a commit that referenced this pull request Feb 13, 2023
## Issue being fixed or feature implemented
fixing a few trivial issues we missed while reviewing #5072 

## What was done?
see code

## How Has This Been Tested?
tests are ✅ locally

## Breaking Changes
n/a


## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e
tests
- [ ] I have made corresponding changes to the documentation

**For repository code-owners and collaborators only**
- [x] I have assigned this pull request to a milestone
@UdjinM6 UdjinM6 added this to the 19 milestone Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants