perl-DBD-mysql/perl-DBD-mysql-MARIADB_BASE_VERSION.patch
Dirk Stoecker 9030b8bf85 Accepting request 635352 from home:pmonrealgonzalez:branches:devel:languages:perl
- updated to 4.047
  * Add options needed for public key based security.
  * Allow several spaces after LIMIT clause.
  * Basic GTID tracking.
  * Fix GCC 8.1 warnings
  * Fix warning: unused variable ‘buffer_len’
  * Fix warning about bind->is_null assignment with incompatible pointer type
  * Get rid of warning about unused variable ssl_verify_set
  * Fix space/tab issue which leads to misleading indentation
  * Change spaces/tabs to get rid of GCC8 warning
 
- updated to 4.046_01
  * Updated documentation re. multithreading
  * Remove #IFDEFs for code detecting ancient DBI versions. The minimum
    DBI version we require is version 1.609 from 2009!
  * ChopBlanks should not trim binary fields
  * Skipped test which failed on OpenBSD because Proc::ProcessTable does not
    come with a 'size' attribute on this platform
  * Improved test suite with regards to MySQL 8.0
  * Improved macOS installation notes.
  * Use Devel::CheckLib 1.09 or newer, fixes
    https://github.com/perl5-dbi/DBD-mysql/issues/109
  * Specify bigint as test dependency
  * Add recommends and suggests tests dependencies
  * Check only for libs via Devel::CheckLib in Makefile.PL
  * Remove param --with-mysql from Makefile.PL documentation
  * Check if specified Makefile.PL settings are working
     Fixes https://rt.cpan.org/Ticket/Display.html?id=119902
  * Remember mysql_config value for Makefile.PL
  * Locate MySQL libs using Devel::CheckLib

OBS-URL: https://build.opensuse.org/request/show/635352
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-mysql?expand=0&rev=64
2018-09-13 08:38:29 +00:00

22 lines
997 B
Diff

Index: DBD-mysql-4.047/dbdimp.c
===================================================================
--- DBD-mysql-4.047.orig/dbdimp.c
+++ DBD-mysql-4.047/dbdimp.c
@@ -1907,14 +1907,14 @@ MYSQL *mysql_dr_connect(
(SvTRUE(*svp) ? "utf8" : "latin1"));
}
-#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
+#if (MYSQL_VERSION_ID >= 50723) && (MYSQL_VERSION_ID < MARIADB_VERSION_ID)
if ((svp = hv_fetch(hv, "mysql_get_server_pubkey", 23, FALSE)) && *svp && SvTRUE(*svp)) {
my_bool server_get_pubkey = 1;
mysql_options(sock, MYSQL_OPT_GET_SERVER_PUBLIC_KEY, &server_get_pubkey);
}
#endif
-#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_BASE_VERSION)
+#if (MYSQL_VERSION_ID >= 50600) && (MYSQL_VERSION_ID < MARIADB_VERSION_ID)
if ((svp = hv_fetch(hv, "mysql_server_pubkey", 19, FALSE)) && *svp) {
STRLEN plen;
char *server_pubkey = SvPV(*svp, plen);