MySQL Forums
Forum List  »  Newbie

C++ ODBC connector inserts using column array bindings
Posted by: Paul Reds
Date: April 08, 2023 02:58PM

Does anyone know if column array binding insert works with MySQL / MySQL connector ?

I've followed all the best practices and methods for coding this, it's not terribly complicated.

But when I do it, I only ever see the first location values of the arrays inserted in the db table.

So if I'm inserting array size 1k records, I'll only ever see the insert for the first location row. And then when I repeat in the same event loop, I only see the first location of the next 1000 column arrays inserted.

I'm using Windows, latest versions of everything (MySQL server and ODBC connector).

I must be missing something easy, unless what I'm doing isn't possible?

Is there something in MySQL server that needs to be enabled?

Options: ReplyQuote

Written By
C++ ODBC connector inserts using column array bindings
April 08, 2023 02:58PM

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.