Comments (9)
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.
That sounds like a bug. I'll look into it.
from sqlpp11-connector-mysql.
You could help a lot by creating a small unit test that currently fails.
from sqlpp11-connector-mysql.
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.
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.
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.
Hi Luciano,
Thanks for reporting the issue and the test to confirm it.
Cheers,
Roland
from sqlpp11-connector-mysql.
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.
Done, thanks for pinging :-)
from sqlpp11-connector-mysql.
Related Issues (20)
- Data is truncated with MariaDB Connector/C 3.0.1+ HOT 11
- Selecting a datetime field always returns epoch HOT 2
- Microseconds ignored when selecting datetime column HOT 1
- Mac osX build HOT 8
- Crash of queries due to MYSQL_RES that is NULL HOT 7
- mysql replace into command HOT 5
- how to use unhex function ,could you give some info? HOT 1
- database name not used HOT 2
- sample code does not work on windows HOT 1
- Can't build DLL on windows HOT 2
- {char,bind}_result_t.size() is unimplemented HOT 5
- How to create mysql::connection without config HOT 2
- TLS/SSL connection is unsupported HOT 1
- Does sqlpp11 support a connection pool? What do I need to do? HOT 2
- How to return mysql auto incorrect when inserting a record in the table? HOT 2
- how can I set mysql options HOT 1
- Error reported while installing sqlpp11-mysql HOT 4
- Why is it necessary to pass database parameter when creating a connection? HOT 3
- Error when compiling HOT 5
- build failed on linux HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlpp11-connector-mysql.