hannes / MonetDBLite

MonetDB reconfigured as a library
108 stars 11 forks source link

Make prepared statements work (great again) #170

Closed hannes closed 7 years ago

hannes commented 7 years ago

at least manually

CC @PedroTadim

hannes commented 7 years ago

@Mytherin maybe also interesting for you to add prepared statement support to python version

PedroTadim commented 7 years ago

To start the mvc_export_prepare function must be changed: https://github.com/hannesmuehleisen/MonetDBLite/blob/Jul2017Lite-Java/src/sql/backends/monet5/sql_result.c#L980

Mytherin commented 7 years ago

Sure, right now the Python equivalent of prepared statements are implemented on the Python level using string replacements. They could be changed to use MonetDB's prepared statements instead.

hannes commented 7 years ago

@PedroTadim if you look at the master branch you will see that mvc_export_prepare has been rewritten.