Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split off SQLite statement wrapper into own file and apply to v201 usages #149

Merged
merged 7 commits into from
Aug 23, 2023

Conversation

marcemmers
Copy link
Contributor

Tested with the ocpp201 tests currently available without regression. 6 test cases do fail, they also fail with current main.

@marcemmers marcemmers merged commit 5f12699 into main Aug 23, 2023
@marcemmers marcemmers deleted the me-common-sqlite-statement branch August 24, 2023 08:13
bWF0dGhpYXMK pushed a commit to bWF0dGhpYXMK/libocpp that referenced this pull request Sep 27, 2023
…ages (EVerest#149)

* Split off the sqlite statement class to its own header

Signed-off-by: Marc Emmers <[email protected]>

* Swap bind argument order and add overloads that can search the parameter in the statement

Signed-off-by: Marc Emmers <[email protected]>

* Update v201 database handler using the sql statement wrapper

Signed-off-by: Marc Emmers <[email protected]>

* Add string lifetime to sqlite statement bind functions

Signed-off-by: Marc Emmers <[email protected]>

* Fix storage duration of text bindings in device model

Signed-off-by: Marc Emmers <[email protected]>

* Apply format to sqlite_statement.hpp

Signed-off-by: Marc Emmers <[email protected]>

* Fix format

Signed-off-by: Marc Emmers <[email protected]>

---------

Signed-off-by: Marc Emmers <[email protected]>
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.

2 participants