-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
sync_schema_simulate when used with triggers #1280
Comments
@trevornagy what kind of error you get? |
Updated the original bug with the error, sorry meant to include that to begin with. |
oh kurwa, it is a bug! Looks like we never using triggers with |
PR is here #1281 |
merged. Please check |
@fnc12 Works for triggers, but just noticed this same issue happens with virtual tables (created with FTS5) Should I create a new issue or should we reuse this? |
@trevornagy this issue is enough. I reopened it. feel free to reopen issues by yourself if you are sure something more has to be committed to the code base to fix the issue. Could you share repro code please? |
Sure:
|
PR is here #1283 |
@trevornagy please check |
That fixes it, will close this issue now. Thanks! |
Hi all,
I'm seeing weird behaviour with
sync_schema_simulate
, it does compile when this trigger is added to amake_storage
:This is not high priority as when I comment out that trigger it builds fine & I can see the simulation results, and when I run
sync_schema
the trigger is created successfully & correctly.The error message is (truncated to what I think are the important bits):
Error C2672 'sqlite_orm::internal::storage_t<sqlite_orm::internal::trigger_t<sqlite_orm::internal::trigger_base_t<X,void,sqlite_orm::internal::trigger_type_base_t>,sqlite_orm::internal::update_all_t<sqlite_orm::internal::set_t< ... ::schema_status': no matching overloaded function found
The text was updated successfully, but these errors were encountered: