1. 03 Sep, 2017 2 commits
  2. 01 Sep, 2017 1 commit
  3. 22 Aug, 2017 2 commits
  4. 25 Jul, 2017 2 commits
  5. 20 Jul, 2017 1 commit
    • Vadim Zeitlin's avatar
      Avoid duplicate code for parsing dates in different backends · a1e07e38
      Vadim Zeitlin authored
      SQLite, MySQL and PostgreSQL backends used the same but slightly
      different code for parsing the contents of a buffer into std::tm struct.
      
      Replace all these different versions with a single version, copied from
      the PostgreSQL variant, which seems like the most complete, in the
      common code.
      
      Update MySQL-specific test to not expect parsing a string containing
      time without date to yield year 2000, this didn't make any sense at all
      and PostgreSQL default of year 1900 makes at least slightly more sense.
      a1e07e38
  6. 19 Jul, 2017 2 commits
  7. 18 Jul, 2017 1 commit
  8. 07 Jul, 2017 1 commit
  9. 17 Apr, 2017 1 commit
  10. 06 Apr, 2017 1 commit
  11. 17 Oct, 2016 1 commit
  12. 14 Oct, 2016 2 commits
  13. 10 Oct, 2016 3 commits
  14. 01 Oct, 2016 1 commit
  15. 15 Jul, 2016 1 commit
  16. 14 Jul, 2016 1 commit
  17. 06 Jul, 2016 1 commit
  18. 29 Jun, 2016 1 commit
  19. 21 Jun, 2016 1 commit
  20. 20 Jun, 2016 1 commit
  21. 14 Jun, 2016 1 commit
  22. 13 Jun, 2016 1 commit
  23. 09 Jun, 2016 1 commit
  24. 08 Jun, 2016 1 commit
  25. 07 Jun, 2016 1 commit
  26. 03 Jun, 2016 1 commit
  27. 26 Apr, 2016 1 commit
  28. 17 Mar, 2016 1 commit
  29. 12 Feb, 2016 1 commit
  30. 05 Feb, 2016 3 commits
    • Vadim Zeitlin's avatar
      Define cxx_details::auto_ptr<> to get rid of preprocessor checks · ec7d2dfc
      Vadim Zeitlin authored
      Defining cxx_details::auto_ptr<> as either std::auto_ptr<> or
      std::unique_ptr<> once instead of checking for SOCI_HAVE_CXX_C11 simplifies
      the code and also allows to use unique_ptr<> for MSVS 2010+ which has it even
      when SOCI_HAVE_CXX_C11 is not defined.
      
      Also use cxx_details::auto_ptr<> instead of std::auto_ptr<> in the tests to
      fix the build in C++11 mode with clang 3.8 due to -Wdeprecated-declarations
      warnings given by it for std::auto_ptr<> (and -Werror used by CMake and which
      apparently can't be overridden from command line...).
      ec7d2dfc
    • Vadim Zeitlin's avatar
      Include soci/soci-platform.h instead of soci-config.h · e06bfe96
      Vadim Zeitlin authored
      This is less confusing and ensures that common macros such as
      SOCI_NOT_COPYABLE() are always defined.
      
      Also remove an unneeded inclusion from session.cpp as the header is already
      included from session.h anyhow.
      e06bfe96
    • Vadim Zeitlin's avatar
      Avoid recursive inclusion between soci-{config,platform}.h · 6fbd8481
      Vadim Zeitlin authored
      This resulted in SOCI_HAVE_CXX_C11 not being defined in soci-platform.h if
      soci-config.h was the first header to be included, as soci-platform.h is
      included from it before defining this symbol, but uses it.
      6fbd8481
  31. 04 Feb, 2016 1 commit
    • Vadim Zeitlin's avatar
      Use noexcept(false) for once_temp_type dtor with MSVS 2015 too · ffc564b7
      Vadim Zeitlin authored
      Ensure that noexcept(false) is used for the dtor that can throw exceptions
      when using MSVS 2015, otherwise the program would simply abort when it
      happened.
      
      Also rename SOCI_ONCE_TEMP_TYPE_NOEXCEPT macro to a more generic
      SOCI_NOEXCEPT_FALSE in case we need to reuse it elsewhere and define it in
      soci-platform.h.
      ffc564b7