We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally posted by db4 December 11, 2020 I'm trying to reuse the same statement with different bindings. Surprisingly it does not work:
Session session(...); Statement statement(session); statement << "INSERT INTO test(f1) VALUES(?)"; statement.addBind(Poco::Data::Keywords::bind(1, "f1")); statement.execute(); //OK statement.removeBind("f1"); statement.addBind(Poco::Data::Keywords::bind(2, "f1")); statement.execute(); // Assertion violation: !pBinder.isNull() [in file "D:\.conan\data\poco\1.10.1\_\_\package\79d47f014080a953179622161c373e018e32729f\include\Poco/Data/Binding.h", line 171]
This happens for SQLite, but I don't think it's database-specific. Am I just missing something?
The text was updated successfully, but these errors were encountered:
First posted in #3165
Sorry, something went wrong.
fix(Data::Binder: Skip reset for null Binder #4109
9a73467
6ebe30b
1ff42ee
aleks-f
No branches or pull requests
Discussed in #4108
Originally posted by db4 December 11, 2020
I'm trying to reuse the same statement with different bindings. Surprisingly it does not work:
This happens for SQLite, but I don't think it's database-specific. Am I just missing something?
The text was updated successfully, but these errors were encountered: