1. 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
  2. 19 Jul, 2017 1 commit
    • Vadim Zeitlin's avatar
      Add get_dummy_from_{table,clause}() methods · d91c2228
      Vadim Zeitlin authored
      These functions are helpful to allow writing queries not using any
      tables portably, i.e. they basically abstract the difference between
      "select ... from dual" in Oracle and just "select ..." in almost all the
      other backends.
      d91c2228
  3. 14 Oct, 2016 1 commit
  4. 07 Nov, 2015 1 commit
    • Mateusz Łoskot's avatar
      DB2: Switch session from SQLConnect ot SQLDriverConnect · 5d1ab2c7
      Mateusz Łoskot authored
      SQLConnect is very basic, relies on DSN and is not convenient
      if user wants to provide all connection parameters as command line
      argument, without editing db2cli.ini, configuring DSN.
      
      SQLDriverConnect alternative enables remote database connection
      in quick and easy fashion, via complete connection string.
      5d1ab2c7
  5. 15 Jul, 2015 1 commit
    • Miha Ravselj's avatar
      More and better MSVC warnings fixes. · 7623f76f
      Miha Ravselj authored
      Fix warnings by changing the code whenever possible, in particular remove
      firebird_rowid_backend class and src/backends/firebird/row-id.cpp file in
      which it was defined entirely as it only resulted in "unreachable code"
      warnings but was otherwise unused.
      
      Also avoid implicit conversions by either using the correct types or by making
      the casts explicit using static_cast<> in places where the casts are really
      needed.
      
      Add helpful SOCI_NOT_COPYABLE, SOCI_NOT_ASSIGNABLE and SOCI_UNUSED macros and
      use them to suppress the corresponding warnings.
      
      Finally, combine soci-config.h and soci-platform.h in a single file, always
      include the latter as the first header and keep the former as a wrapper for
      the latter just for compatibility.
      
      Remove the MSVC "#pragma warning(disable: *)" as they are not needed any more.
      
      Closes #355.
      7623f76f
  6. 16 Apr, 2015 3 commits
  7. 01 Apr, 2015 1 commit
  8. 17 Mar, 2015 1 commit
  9. 25 Mar, 2014 1 commit
  10. 29 May, 2013 1 commit
    • Mateusz Loskot's avatar
      Implement new source tree layout #125 · b6d97ffa
      Mateusz Loskot authored
      First set of changes incorporating new structure of source tree.
      It also applies some of changes planned as part of buried headers feature #25
      
      Work in progress, requires testing before merging into develop branch
      b6d97ffa