Skip to content

Small improvements and code cleaning#360

Merged
SRombauts merged 9 commits intoSRombauts:masterfrom
Kacperos155:small_improvements
Sep 18, 2022
Merged

Small improvements and code cleaning#360
SRombauts merged 9 commits intoSRombauts:masterfrom
Kacperos155:small_improvements

Conversation

@Kacperos155
Copy link
Copy Markdown
Contributor

@Kacperos155 Kacperos155 commented Jul 23, 2022

  • std::unique_ptr in Backup
  • Database::tryExec(const std::string) changed to Database::tryExec(const std::string&)
  • Backup::getRemainingPageCount() and Backup::getTotalPageCount() are now const
  • Database::tableExists() and Database::getHeaderInfo() are now const
  • Transparent comparator (std::less) in Statement::mColumnNames to avoid creating std::string when comparing

@SRombauts SRombauts self-assigned this Jul 24, 2022
Copy link
Copy Markdown
Owner

@SRombauts SRombauts left a comment

Choose a reason for hiding this comment

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

Very nice changes, thanks for this!

Could you please have a look at my comments?

Cheers!

Comment thread include/SQLiteCpp/Backup.h Outdated
Comment thread src/Backup.cpp
Comment thread include/SQLiteCpp/Backup.h Outdated
Comment thread include/SQLiteCpp/Savepoint.h Outdated
Comment thread include/SQLiteCpp/Transaction.h Outdated
@Kacperos155
Copy link
Copy Markdown
Contributor Author

I made the changes required in the review 😸

@Kacperos155 Kacperos155 requested a review from SRombauts July 24, 2022 17:09
@Kacperos155
Copy link
Copy Markdown
Contributor Author

I had rebased branch to new commits on master to resolve conflicts

Comment thread include/SQLiteCpp/Backup.h
@SRombauts SRombauts merged commit c7cffad into SRombauts:master Sep 18, 2022
@SRombauts
Copy link
Copy Markdown
Owner

Thanks for your contribution :)
I am now releasing all this as part of version 3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants