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

Minor CLI Truncation Fix #2980

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Minor CLI Truncation Fix #2980

merged 2 commits into from
Mar 1, 2024

Conversation

MSebanc
Copy link
Collaborator

@MSebanc MSebanc commented Mar 1, 2024

I have read and agree to the CLA of the Kuzu repository.

I have read and agree to the CLA of the Kuzu repository.
@MSebanc MSebanc requested a review from acquamarin March 1, 2024 17:37
@@ -481,14 +481,15 @@ void EmbeddedShell::printExecutionResult(QueryResult& queryResult) const {
if (colsWidth.size() == 1) {
sumGoal = colsWidth[0] + 2;
} else if (colsWidth.size() > 1) {
uint32_t minDisplayWidth = colsWidth[0] + colsWidth.back() + 3;
uint32_t minDisplayWidth = 3;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would define this as a constant, constexpr uint32_t MIN_DISPLAY_WIDTH =3

I have read and agree to the CLA of the Kuzu repository.
@MSebanc MSebanc merged commit 9f8dbe0 into kuzudb:master Mar 1, 2024
8 of 13 checks passed
@MSebanc MSebanc deleted the TruncationFix branch March 1, 2024 18:51
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