Anarthal (Rubén Pérez)
Anarthal (Rubén Pérez)
Provide a function `bool connection::valid() const` or similar to detect moved-from state.
Build fails with ``` /home/ruben/workspace/boost-root/libs/mysql/include/boost/mysql/impl/internal/protocol/deserialize_text_field.ipp:95:35: error: explicit comparison with infinity in fast floating point mode [-Werror,-Wtautological-constant-compare] if (!ok || std::isnan(val) || std::isinf(val)) // SQL std forbids these values ``` When...
They're currently too integration-y, should focus more on the `metadata` class responsibilities.
Some unit tests for edge cases were descoped from the refactor we did in #23. Implement them.
E.g. https://www.boost.org/doc/libs/master/libs/mysql/doc/html/mysql/ref/boost__mysql__date/get_time_point.html "Return *this as a time_point , without validity checking"
Currently, error codes have no associated line info, and thrown exceptions hold the exception-checking line, rather than the line where the error originated from.
* json * date and datetime directly with durations * views * fixed arrays of char/binary * strings with chars != char (e.g. wstring)