Replies: 7 comments
-
it is called when you call |
Beta Was this translation helpful? Give feedback.
-
any particular unit-test that exercises this method? |
Beta Was this translation helpful? Give feedback.
-
dunno. The amount of unit-tests is so huge that I cannot remember all of them. Try to search using |
Beta Was this translation helpful? Give feedback.
-
the function is not called by this code: struct User {
int id = 0;
std::string name;
};
auto storage = make_storage("", make_index("user_name", &User::name),
make_table("users",
make_column("id", &User::id, primary_key(), autoincrement()),
make_column("name", &User::name)));
storage.sync_schema(true); how can I test that function? |
Beta Was this translation helpful? Give feedback.
-
try to comment it out and compile. Does it compile? Also try to call |
Beta Was this translation helpful? Give feedback.
-
Will try!
Thanks
…Sent from my iPhone
On 18 Apr 2022, at 6:35 AM, Yevgeniy Zakharov ***@***.***> wrote:
try to comment it out and compile. Does it compile? Also try to call sync_schema_simulate
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
```C++`
|
Beta Was this translation helpful? Give feedback.
-
Hi
There is a method in class storage_t<...> (see storage.h) that is not invoked by any of the unit-tests. Its signature is:
I need to find when this is called to make sure the corrections to schema_status() are complete and correct. (see PR #1010)
Help will be greatly appreciated....
Juan
Beta Was this translation helpful? Give feedback.
All reactions