Groups
Sign in
Groups
DataStax C++ Driver for Apache Cassandra User Mailing List
Conversations
About
Send feedback
Help
cass_value_get_string returns not null terminated strings should be documented. Spent quite a bit of time on this one.
33 views
Skip to first unread message
Randy Klingenberg
unread,
Dec 31, 2021, 12:01:43 AM
12/31/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DataStax C++ Driver for Apache Cassandra User Mailing List
A C++ API should not call it a string if it is not null terminated.
Michael Penick
unread,
Aug 4, 2022, 3:55:25 PM
8/4/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DataStax C++ Driver for Apache Cassandra User Mailing List, randykli...@comcast.net
Sorry you ran into that issue. You're right that should be documented. I'll create an issue to follow up on.
Note: The reason they're not null-terminated is to avoid copying strings into another buffer.
Mike
Reply all
Reply to author
Forward
0 new messages