Re: MySQL native C wrapper

2016-11-06 Thread Henrik Sarvell
I just made things work with mariadb 10, the steps: 1.) apt-get install libmariadb-client-lgpl-dev 2.) Compile as per the instructions in mysql.c Warning: next time I push the new mariadb based .so will go up, perhaps not the best idea to keep it under version control... On Sat, May 2, 2015

Re: MySQL native C wrapper

2015-05-01 Thread Alexander Williams
OK I see. I'll have a look later today and see if I can handle those issues. Thanks!! On 2015-05-02, at 1:33 AM, Henrik Sarvell hsarv...@gmail.com wrote: I've now updated, due to time constraints I have not done the following: 1.) Linked straight to the mysql client library as I still need

Re: MySQL native C wrapper

2015-05-01 Thread Henrik Sarvell
I've now updated, due to time constraints I have not done the following: 1.) Linked straight to the mysql client library as I still need to call my conn function in mysql.c, in order to get rid of it one first needs to call mysql_init to get the connection struct, so far so good but then calling

Re: MySQL native C wrapper

2015-04-27 Thread Henrik Sarvell
Yes, you're right, I'll remove it and link straight to the lib, it was something I did in the beginning of the process when I was unsure of how transparently I could pass references to structs around. As it turned out it's completely seamless so your suggestion makes perfect sense, or be my guest

Re: MySQL native C wrapper

2015-04-26 Thread Jakob Eriksson
Good initiative - the more ways to connect, the better, IMHO. On 26/04/15 23:00, Henrik Sarvell wrote: Hi list, I'm announcing this at a very early stage, earlier than I would like to, in case someone else is also thinking about doing a MySQL wrapper, to avoid duplicate work. I'm not doing

MySQL native C wrapper

2015-04-26 Thread Henrik Sarvell
Hi list, I'm announcing this at a very early stage, earlier than I would like to, in case someone else is also thinking about doing a MySQL wrapper, to avoid duplicate work. I'm not doing this because I think that MySQL is in any way a better alternative than the native DB functionality, rather

Re: MySQL native C wrapper

2015-04-26 Thread Alexander Williams
Henrik this is great!! I've been looking for something like this but it was a little lower on my priority list. Thank you! I find it interesting that you wrote some C to initiate the mysql connection Would it be easier to do it in PicoLisp and simply use libmysqlclient.so ? On 2015-04-27, at