1. 27 Feb, 2018 1 commit
    • Vadim Zeitlin's avatar
      Add logger class to allow customizing SOCI logging operations. · 37f36147
      Vadim Zeitlin authored
      No big changes yet, but it is now possible to use a custom logger object which
      may do something else than just write the query string passed to it to a
      stream.
      
      The old behaviour is preserved by using the standard SOCI logger by default
      which does write the query to the stream.
      37f36147
  2. 12 Feb, 2018 4 commits
  3. 24 Sep, 2017 1 commit
    • Mateusz Loskot's avatar
      Add SOCI_OVERRIDE macro as conditional C++11 override specifier · 05ab0bcf
      Mateusz Loskot authored
      MSVC++ 1900+ always compile with C++11 mode enabled, so it should be
      safe to selectively enable 'override'specifier for internal use.
      
      It does not enable all C++11 features for SOCI and we still compile
      with C++11 compilation mode SOCI_CXX_C11=OFF by default.
      
      Refactoring performed with clang-tidy-4.0:
      
       cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSOCI_CXX_C11=ON ..
       run-clang-tidy.py -clang-tidy-binary -header-filter='.*' \
                         -checks='-*,modernize-use-modernize' -fix
      05ab0bcf
  4. 23 Sep, 2017 1 commit
    • Heiko Rabe's avatar
      Repair VC8 compile of test applications (#593) · 51d058f0
      Heiko Rabe authored
      Fix compilation issues for Visual C++ 8.0 (VS2005)
      
      * Add _WIN32_WINNT minimal required version to soci-platform.h to fix windows.h issue related to use of Add/RemoveVectoredExceptionHandler.
      * Override SECTION macro since default macro parameter (3 required / 2 given or 2 required / 1 given) do not expand and lead to syntax error.
      51d058f0
  5. 14 Sep, 2017 3 commits
  6. 13 Sep, 2017 2 commits
    • Vadim Zeitlin's avatar
      Add support for XML type to Firebird backend too · 9943459f
      Vadim Zeitlin authored
      There is no real XML support in Firebird, so handle it in the same way
      as CLOB -- this is the best that can be done with this database anyhow
      and is much better than not supporting it at all.
      9943459f
    • Vadim Zeitlin's avatar
      Add CLOB support to Firebird backend · 059faf5d
      Vadim Zeitlin authored
      Reuse the existing BLOB support, however we now need to allocate a BLOB
      inside firebird_standard_use_type_backend objects as, unlike when using
      soci::blob objects, we don't have any way to associate backend-specific
      data with the parameter otherwise.
      
      This difference between CLOB and BLOB support is not ideal, but there
      doesn't seem to be any way to avoid it.
      059faf5d
  7. 03 Sep, 2017 2 commits
  8. 01 Sep, 2017 1 commit
  9. 22 Aug, 2017 2 commits
  10. 25 Jul, 2017 2 commits
  11. 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
  12. 19 Jul, 2017 2 commits
  13. 18 Jul, 2017 1 commit
  14. 07 Jul, 2017 1 commit
  15. 17 Apr, 2017 1 commit
  16. 06 Apr, 2017 1 commit
  17. 17 Oct, 2016 1 commit
  18. 14 Oct, 2016 2 commits
  19. 10 Oct, 2016 3 commits
  20. 01 Oct, 2016 1 commit
  21. 15 Jul, 2016 1 commit
  22. 14 Jul, 2016 1 commit
  23. 06 Jul, 2016 1 commit
  24. 29 Jun, 2016 1 commit
  25. 21 Jun, 2016 1 commit
  26. 20 Jun, 2016 1 commit
  27. 14 Jun, 2016 1 commit