Up to [cvs.NetBSD.org] / pkgsrc / databases / soci
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 16 07:50:16 2023 UTC (8 months, 2 weeks ago) by adam
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, HEAD
Changes since 1.10: +4 -7 lines
Diff to previous 1.10 (colored)
soci: updated to 4.0.3 Version 4.0.3 (99e2d567) differs from 4.0.2 in the following ways: Changes affecting all or multiple backends: - Fix opening sessions from pool - Fix default backend search path - Fix build with latest glibc versions where SIGSTKSZ is not constant - Document using SOCI as a CMake subdirectory - Document using SOCI with Conan Backend-specific changes: - MySQL - Implement get_table_names() for MySQL - Fix MySQL backend build with MySQL >= 8 - Fix mysql_library_end() in multithreaded environment - Make mysql_soci_error::get_error_category() more useful - ODBC - Fix several bugs in vector into code - Fix memory leaks in case of SQLNumResultCols() failure. - Export odbc_session_backend::get_database_product() from DLL. - Oracle - Add support for detecting Oracle 20 and 21 to CMake - PostgreSQL - Fix compilation when "free" is redefined somewhere else. - SQLite3 - Fix bulk operations with vectors of size 1 in SQLite3 backend - Firebird - Suppress FB memory leaks --- Version 4.0.2 differs from 4.0.1 in the following ways: Changes affecting all or multiple backends: - Fix using SOCI from CMake projects using find_package() - Always set indicator to i_null when no data is read from the database - Add support for building SOCI with LTO - Enable ELF visibility support - Fix building tests under macOS on ARM 64 - Fix using custom types with an explicitly null indicator - Fix using vectors of custom types for DB/2, ODBC and Oracle - Fix vectors of XML and CLOB values for DB/2, Firebird, ODBC and Oracle - Don't return i_truncated for empty strings in a vector for DB/2, ODBC. - Make unloading dynamic backends safer by delaying it if necessary - Migrate most Linux CI builds to GitHub Actions from Travis CI - Fix rare deadlock in session::reconnect() - Fix all warnings in MSVS build Backend-specific changes: - MySQL - Add "reconnect" option - ODBC - Don't show interactive ODBC dialogs when reconnecting. - Fix session::get_last_insert_id() for empty tables with SQL Server. - Oracle - Implement session::get_next_sequence_value(). - Fix using default NUMBER type with rowset API - Handle reading from CLOBs that can't be read all at once. - Fix another memory leak in CLOB handling code. - PostgreSQL - Fix use of quoted identifiers with colons - Fix tests compilation under macOS - Fix tests with PostgreSQL 12 or later. - SQLite3 - Fix getting doubles from non-numeric columns. - Fix using uninitialized sqlite3_column member --- Version 4.0.1 differs from 4.0.0 in the following ways: - Add session::is_connected() - Fix DST adjustment when reading dates from the database - Make dynamic_backends::search_paths() actually available - Fix using std::vector<boost::optional<>> in query arguments - Allow using dt_blob and dt_xml with rowset API too - Fix or work around many compilation warnings with newer compilers. - DB2 - Fix memory leak. - ODBC - Fix bug with handling of strings of exactly ODBC_MAX_COL_SIZE length - Fix opening connections when using connection pooling. - Oracle - Improve detection for newer Oracle versions - Use bigger buffer for Oracle connection string length - Fix memory leak in Oracle backend when using CLOBs (XML or long strings). - PostgreSQL - Fix reconnect() to use the correct connection parameters - Improve error message returned on connection loss - Fix use of uninitialized connection variable on connection failure - Fix inadvertently broken use of single row mode - Fix handling of identifiers with colons - SQLite - Add support for "vfs" and "readonly" connection options - Fix std::tm handling - Fix "big int" detection --- Version 4.0.0 differs from 3.2.3 in the following ways: NOTICE: This is probably the last release compatible with C++98. - Added support for C++11 and C++17 compilation modes. - Added RELEASING.md how-to and scripts/release.sh helper for release managers. - Added context of the failure in soci_error::what() which now returns a longer and more useful message. Use the new get_error_message() method to get just the brief error message which used to be returned by what(). - Added logger class to allow customizing SOCI logging operations - Added helper for generating portable DDL and DML statements - Added portable column info and other metadata queries - Added helper exchange_type_cast<>() template function as better static_cast - Added values::get_number_of_columns() as convenient accessor. - Added public macro SOCI_NORETURN and use it in declaration. - Added handling of dt_unsigned_long_long to the simple interface. - Added new data type dt_blob with accompanying simple-interface support - Added basic support for error categories. - Added failover_callback interface - Added bulk iterators interface - Added basic package exporting to CMake configuration - Added bigstring (XML and CLOB) support - Added CMake option SOCI_POSTGRESQL_NOSINLGEROWMODE with default value OFF - Adopted new layout of the source tree - Although the build configuration is based on CMake 2.8, numerous improvements have been applied to the CMake scripts. - Converted all tests to use the Catch framework. - Fixed issues with throwing from soci_error copy constructor and assignment operator - Fixed backends loading in case SOCI is built with CMAKE_DEBUG_POSTFIX set - Fixed deadlock in soci::connection_pool::try_lease function. - Fixed numerous compilation warnings using various compilers. - Fixed non-copyability of connection_pool - Fixed uniform offset for BLOB read/write operations - Fixed memory leak when reusing into and use elements. - Fixed deduction of reference in boost::fusion::for_each - Added empty_blob() and nvl() to portable utilities. - Improved handling and conversions of time and timezone information values - Improved diagnostics with included query parameter names in error messages - Improve CMake configuration for integrating SOCI as subproject - Improved locale-independent conversions of floating-point numbers to string. - Include all public headers using soci/ prefix inside SOCI itself - Migrated documentation content from HTML to Markdown - Provided error context in exceptions and richer diagnostics - Replaced assertion with raising exception in case of connection_pool::lease() failure. - Remove use of std::unary_function and std::ptr_fun deprecated in C++11/17 - Split statement::clean_up into two operations bind_clean_up and clean_up - Updated the backend documentation. - Use 64-bit integer for next sequence and last insert ID values - DB2 -- Fixed ambiguous error handling during statement execution -- Fixed handling of NULL for strings during bulk querying -- Replaced SQLConnect with SQLDriverConnect to establish database session - Firebird -- Added SOCI_FIREBIRD_EMBEDDED option to allow building with embedded library. -- Added possibility to build the backend using embedded library (libfbembed). -- Added CLOB and XML support -- Fixed too eager start of implicit transaction -- Fixed bug with writing BLOB values -- Replaced truncation of too long VARCHAR columns values with throwing exception. - MySQL -- Added MySQL 8 to tested versions. -- Added get_last_insert_id function -- Added timeout support -- Fixed bug whe nusing get_affected_rows() and user defined types -- Replace throwing generic soci_error with mysql_soci_error - ODBC -- Added support for ODBC driver for DB2 which is not compliant to ODBC spec -- Fixed inserting strings of length greater than 8000 bytes into database -- Fixed get_affected_rows() when using FreeTDS driver. -- Fixed reading from unallocated memory (driver bug?) in ODBC with MySQL -- Fixed handling of NULL for strings during bulk querying -- Fixed memory leak of internal odbc_standard_use_type_backend buffer - Oracle -- Added oraocci12 name to Oracle client look-up by CMake. -- Added NLS support for connection parameters. -- Added Oracle wallet authentication. -- Added (partial) handling of OCI_SUCCESS_WITH_INFO. -- Added handling of more error codes for error categories. -- Added failover_callback interface implementation -- Added bulk iterators interface implementation -- Added bigstring (XML and CLOB) support -- Added lazy initialization of the temporary LOB objects for Oracle. -- Fixed uniform offset for BLOB read/write operations -- Fixed connection parameters parsing to allow spaces in values -- Fixed handling of BINARY_DOUBLE in dynamic row. -- Use SQLT_BDOUBLE for floating point values instead of SQLT_FLT. - PostgreSQL -- Added singlerows mode for PostgreSQL -- Added failover_callback interface implementation -- Added bulk iterators interface implementation -- Added test for the uuid data type -- Added bigstring (XML and CLOB) support -- Dropped support for PostgreSQL 7.x -- Fixed defining SOCI_POSTGRESQL_NOSINLGEROWMODE for PostgreSQL < 9 -- Fixed string to floating-point number conversions assuming "C" locale -- Fixed support for bytea across PostgreSQL versions older than 9 -- Fixed timestamp handling in UTC -- Fixed uniform offset for BLOB read/write operations -- Explicitly set extra_float_digits to 3 when using PostgreSQL >=9 in ODBC for consistency. -- Improve string to floating-point number conversion to be exact. - SQLite3 -- Added get_last_insert_id function -- Fixed clean up on error to enable getting detailed diagnostics -- Fixed issue numerous calls to fetch by better control when backend calls sqlite3_step -- Fixed memory leak in sqlite3_session_backend -- Fixed closing connection after obtaining error diagnostics -- Fixed affected rows count when reusing prepared statements
Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 26 10:10:05 2021 UTC (2 years, 1 month ago) by nia
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
databases: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (some may be only fetched conditionally): ./databases/cstore/distinfo D6.data.ros.gz ./databases/cstore/distinfo cstore0.2.tar.gz ./databases/cstore/distinfo data4.tar.gz
Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 7 13:35:50 2021 UTC (2 years, 1 month ago) by nia
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)
databases: Remove SHA1 distfile hashes
Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 3 01:56:35 2015 UTC (8 years ago) by agc
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)
Add SHA512 digests for distfiles for databases category Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 7 22:42:49 2015 UTC (8 years, 5 months ago) by joerg
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.6: +0 -1 lines
Diff to previous 1.6 (colored)
Revert unintentional change.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 7 22:42:15 2015 UTC (8 years, 5 months ago) by joerg
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)
Update PostgreSQL 9.3 to 9.3.8: - Avoid failures while fsync'ing data directory during crash restart - Fix pg_get_functiondef() to show functions' LEAKPROOF property, if set - Remove configure's check prohibiting linking to a threaded libpython on OpenBSD - Allow libpq to use TLS protocol versions beyond v1
Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 4 18:32:07 2013 UTC (10 years, 1 month ago) by joerg
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)
Allow building on Cygwin.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 11 12:22:33 2013 UTC (10 years, 2 months ago) by joerg
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.3: +5 -10 lines
Diff to previous 1.3 (colored)
Update to soci 3.2.2: - Fix uninitialized indicators in conversion_into_type and conversion_use_type specialisations - Fixed placeholder matching for PostgreSQL-style casts with ORM - Fixed memory leaking in use binding in case of bind/unbind sequence - Fixed sscanf formatter for MinGW/MSVC in backends - Fixed partial placeholder name matching for ORM cases - Added test for use of indicators with rowset<row> - Added test for get_affected_rows after bulk operations Add options for selecting MySQL/PostgreSQL/SQLite backends, defaulting to PostgreSQL.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 30 10:19:37 2013 UTC (10 years, 3 months ago) by joerg
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)
Support C++11. Bump revision.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 27 22:28:05 2013 UTC (10 years, 3 months ago) by joerg
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)
Merge get_next_sequence_value support for PostgreSQL from upstream. Bump revision.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 5 21:04:45 2013 UTC (10 years, 4 months ago) by joerg
Add soci-3.2.1: SOCI is a database access libary for C++. It provides a natural interface with extensive STL integration. A number of major database servers are accessable.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.