Dear Kjell. I tried your suggestions and some problems are gone. However, I see some type conversion issue. It looks like _GdaServerOperationCreateTableArg type is not visible. I tried using RefPtr instead of plain pointers - same effect. I attached g++ output and patch. Thanks for any comments. On Tue, 2017-05-09 at 19:05 +0200, Kjell Ahlstedt wrote:
Den 2017-05-09 kl. 05:18, skrev Pavlo Solntsev:hi, I found some mistakes in my code and fixed them. However, I can't figure out where is the problem. I included new patch for my changes as well as log from the compiler. Could someone take a look? Thanks.The description of gda_server_operation_prepare_create_table() says that the "arguments" parameter is a list of GdaServerOperationCreateTableArg, but if you look at the code in gda-server-operation.c, you'll see that it's really a list of GdaServerOperationCreateTableArg*, i.e. a list of pointers. GdaServerOperationCreateTableArg is defined in gda-server-operation.c, hidden from your code. You must use a std::vector<GdaServerOperationCreateTableArg*>.
-- - Pavlo Solntsev --------------------------------------------- Sent from Evolution on GNU/Debian <www.debian.org> id="-x-evo- selection-start-marker">
Attachment:
prepare_create_table.patch
Description: Text Data
Attachment:
libgdamm_pavlo.log
Description: Text Data