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

Default DB Fixes #907

Merged
merged 8 commits into from
Sep 3, 2021
Merged

Default DB Fixes #907

merged 8 commits into from
Sep 3, 2021

Conversation

chuan
Copy link
Contributor

@chuan chuan commented Sep 3, 2021

Fix gaiat and process_schema for the default database.

For default db, gaiat should not generate the ::[db_name] as part of direct access class namespaces.

CMake function does not accept an empty string as argument. Even if DATABASE_NAME "" is used as named argument, it will still be treated as undefined per CMake usage. We changed process_schema to use default DB when DATABASE_NAME is undefined. As a result, most places where it is used are updated to pass in the database name explicitly.

@chuan chuan requested review from simone-gaia, fineg74, daxhaw and waynelwarren and removed request for simone-gaia and fineg74 September 3, 2021 06:04
Copy link
Contributor

@simone-gaia simone-gaia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a couple of nits.

endif()

add_custom_command(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much better!

production/examples/hello/CMakeLists.txt Outdated Show resolved Hide resolved
@chuan chuan merged commit c242d78 into master Sep 3, 2021
@chuan chuan deleted the chuan/default-db-test branch September 3, 2021 15:15
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