MySQL X DevAPI connectors utf8 issue
Posted by: Jens hansen
Date: May 02, 2024 02:03PM

The function 'mysqlx_collection_modify_set' should be capable of updating or creating the key name "_b_ke-y$fkæøåÆåø", but it is not performing any action when attempting to do so. However, it works as expected when the key name is something like "test".

I'm using it in this way:

mysqlx_collection_t *collection_ = mysqlx_get_collection(schema, collection, 0);

mysqlx_stmt_t *stmt2 = mysqlx_collection_modify_new(collection_);

mysqlx_set_modify_set(stmt2, "_b_ke-y$fkæøåÆåø", PARAM_EXPR("{\"username\":\"test\"}"), PARAM_END);

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL X DevAPI connectors utf8 issue
246
May 02, 2024 02:03PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.