Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@krishvishal
Copy link
Contributor

@krishvishal krishvishal commented Nov 1, 2025

str::trim_end() removes trailing tabs too. Replaced it with trim_end_matches(' '). Rust str::trim functions seem problematic because they remove non-ascii whitespace and others.

Behavior now:

turso> select 'x' || char(9) = 'x' collate rtrim;
┌─────────────────────────────────────┐
│ 'x' || char (9) = 'x' COLLATE rtrim │
├─────────────────────────────────────┤
│                                   0 │
└─────────────────────────────────────┘

Closes: #3480

@nyrkio
Copy link

nyrkio bot commented Nov 1, 2025

Nyrkiö Report for Commit: f12f982

No performance changes detected.
Remember that Nyrkiö results become more precise when more commits are merged.
So please check again in a few days.

Nyrkiö 0 changes / 51 tests & 51 metrics.

@krishvishal
Copy link
Contributor Author

Not sure why the benchmark action failed. Seems unrelated to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RTRIM should not ignore trailing tabs

1 participant