We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
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:
This issue is stale because it has been open for 365 days with no activity.
Sorry, something went wrong.
This issue was closed because it has been inactive for 60 days since being marked as stale.
@db4 Dmitry, did you find any solution or workaround for this issue?
Can't reproduce:
My best guess is old version of Poco
aleks-f
No branches or pull requests
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: