head 1.3; access; symbols pkgsrc-2021Q2:1.2.0.36 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.34 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.32 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.30 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.26 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.6 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.28 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.24 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.22 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.20 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.18 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.16 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.14 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.12 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.10 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.8 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.4 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.2 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.1.0.8 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.6 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.4 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @// @; 1.3 date 2021.06.29.06.43.30; author wiz; state dead; branches; next 1.2; commitid ZItJfvM8TXpUHZYC; 1.2 date 2017.01.12.12.24.09; author adam; state Exp; branches; next 1.1; commitid IlWX8eUUT4QbXFBz; 1.1 date 2016.03.08.15.40.02; author wiz; state Exp; branches; next ; commitid kZJTHA70hVFc0RXy; desc @@ 1.3 log @mysql-connector-c++: update to 8.0.25. MySQL Connectors and other MySQL client tools and applications now synchronize the first digit of their version number with the (highest) MySQL server version they support. For example, MySQL Connector/C++ 8.0.12 would be designed to support all features of MySQL server version 8 (or lower). This change makes it easy and intuitive to decide which client version to use for which server version. @ text @$NetBSD: patch-driver_mysql__resultbind.cpp,v 1.2 2017/01/12 12:24:09 adam Exp $ https://bugs.mysql.com/bug.php?id=80539 --- driver/mysql_resultbind.cpp.orig 2016-12-14 09:58:54.000000000 +0000 +++ driver/mysql_resultbind.cpp @@@@ -88,8 +88,8 @@@@ static struct st_buffer_size_type case MYSQL_TYPE_VAR_STRING: #if LIBMYSQL_VERSION_ID > 50700 case MYSQL_TYPE_JSON: - return st_buffer_size_type(new char[field->max_length + 1], field->max_length + 1, field->type); #endif //LIBMYSQL_VERSION_ID > 50700 + return st_buffer_size_type(new char[field->max_length + 1], field->max_length + 1, field->type); case MYSQL_TYPE_DECIMAL: case MYSQL_TYPE_NEWDECIMAL: @ 1.2 log @GA 1.1.8: - Add connect options MYSQL_OPT_MAX_ALLOWED_PACKET, MYSQL_OPT_NET_BUFFER_LENGTH, MYSQL_OPT_TLS_VERSION and MYSQL_OPT_SSL_MODE - Fix Visual Studio 2015 build. - Fix segmentation fault when inserting a large string - Fix Compilation Failure with PRE-5.7 C API @ text @d1 1 a1 1 $NetBSD: patch-driver_mysql__resultbind.cpp,v 1.1 2016/03/08 15:40:02 wiz Exp $ @ 1.1 log @Update mysql-connector-c++ to 1.1.7: GA 1.1.7 - - Add JSON support - Allow building without server flags (Bug#21391025) - Correct relative() not seeking after changing position.(Bug#21152054) @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- driver/mysql_resultbind.cpp.orig 2016-01-12 18:42:38.000000000 +0000 d7 1 a7 3 @@@@ -86,7 +86,9 @@@@ static struct st_buffer_size_type case MYSQL_TYPE_BLOB: case MYSQL_TYPE_STRING: d9 1 a9 1 +#ifdef MYSQL_TYPE_JSON d11 3 a13 2 +#endif return st_buffer_size_type(new char[field->max_length + 1], field->max_length + 1, field->type); d16 1 @