Giter Club home page Giter Club logo

Comments (9)

rbock avatar rbock commented on July 21, 2024 1

Thanks for the info. That sounds quite reasonable. I probably won't be able to look into it in much detail tomorrow, but should find the time on the weekend.

from sqlpp11-connector-mysql.

rbock avatar rbock commented on July 21, 2024

That sounds like a bug. I'll look into it.

from sqlpp11-connector-mysql.

rbock avatar rbock commented on July 21, 2024

You could help a lot by creating a small unit test that currently fails.

from sqlpp11-connector-mysql.

lucianodasilva avatar lucianodasilva commented on July 21, 2024

I didn't have the opportunity to create the unit test, i'm going to have a go at it as soon as i can. I've tried to track down the possible issue this morning and found that a possible solution would be to add a "mysql_stmt_free_result" to bind_result_t's destructor. As far as i can tell it seemed to be an appropriate approach, but i am not confident enough to trust it.

from sqlpp11-connector-mysql.

rbock avatar rbock commented on July 21, 2024

Hi,

I am at a bit of a loss trying to reproduce the problem. I tried adding a second query execution to test/Select.cpp, which worked just fine.

I added mysql_stmt_free_result to bind_result_t's destructor nonetheless. I don't think it hurts, but as said, I can't tell if it helps.

Please give it a try, I pushed the changes to develop.

Cheers,

Roland

from sqlpp11-connector-mysql.

lucianodasilva avatar lucianodasilva commented on July 21, 2024

Hi Roland. I've added a small test able to replicate the issue and made a pull request. I'm terribly sorry for the delay. The issue seems to be fixed with your latest changes.

Thank you very much for your time.

Regards,
Luciano.

from sqlpp11-connector-mysql.

rbock avatar rbock commented on July 21, 2024

Hi Luciano,

Thanks for reporting the issue and the test to confirm it.

Cheers,

Roland

from sqlpp11-connector-mysql.

lucianodasilva avatar lucianodasilva commented on July 21, 2024

Hi Roland, just one small question. Do you have a ballpark idea on when could this change make it to a release?

from sqlpp11-connector-mysql.

rbock avatar rbock commented on July 21, 2024

Done, thanks for pinging :-)

from sqlpp11-connector-mysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.