Giter Site home page Giter Site logo

mysql-cpp's Issues

Add a license

It's pretty confusing when people are incorporating code without a license, so, please, add a license.

I personally prefer the permissive MIT License.

Throw 'MySqlException' when field is null

It's seems this issue comes after you refactoring the lib. Former version before SHA: e0a8740 works fine with null field.

Exception:

terminate called after throwing an instance of 'MySqlException'
  what():  Null value encountered with non-smart-pointer output type

Partial stack trace:

#0  0x00007f992a8e4f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f992a8e85e8 in __GI_abort () at abort.c:90
#2  0x00007f992b40d6e5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007f992b40b856 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f992b40b883 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007f992b40baae in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x0000000000410bc4 in OutputBinderPrivate::OutputBinderResultSetter<std::string>::setResult (value=0x7fff0270fea0, bind=...) at mysql-cpp/OutputBinder.hpp:335
#7  0x000000000041b57a in OutputBinderPrivate::setResultTuple<std::tuple<std::string, unsigned int, unsigned int, double, double, unsigned int, unsigned int, unsigned int, unsigned int, double, unsigned int, unsigned int, int, int, std::string>, 14> (tuple=0x7fff0270fea0, outputParameters=...) at mysql-cpp/OutputBinder.hpp:181

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.