Bug#921599: [debian-mysql] Bug#921599: mariadb-10.3: always connects to localhost ignoring host entry in option file

2019-04-29 Thread Otto Kekäläinen
MariaDB 10.3.15 will be released before Buster is out, thus this patch
should be included in Buster and issue thus fixed.



Bug#921599: [debian-mysql] Bug#921599: mariadb-10.3: always connects to localhost ignoring host entry in option file

2019-04-29 Thread Corey Hickey

On 29/04/2019 06.21, Otto Kekäläinen wrote:

Apparently the comment in your Github PR was wrong then in
https://github.com/MariaDB/mariadb-connector-c/pull/101#issuecomment-466809308

I asked also you where the commit is in the MR at
https://salsa.debian.org/mariadb-team/mariadb-10.3/merge_requests/15

Could you please research and verify here what version the commit is
shipped in? Or maybe research if it broke something and was reverted
before release?

Thanks for your help!


I'm the author of the upstream PR. The situation is a bit confusing; 
here are a couple clarifying points:


1. My PR had other commits for general fixup, but this is the one that 
really matters:


https://github.com/MariaDB/mariadb-connector-c/pull/101/commits/748422f4941687c4f4a0bb317db7fca03923b01e

2. The upstream maintainer did not actually merge my PR. Instead, he 
made similar changes separately. This is the corresponding upstream 
change that really matters:


https://github.com/MariaDB/mariadb-connector-c/commit/31ae1278aa4ba2e4832c279d71f3a06ef80ffbea


The C connector is handled as a subproject within the main server repo. 
The relevant commit was pulled in as part of this subproject update:


https://github.com/MariaDB/server/commit/5da6944ea3a592efefd1adc33b1280ad1de66688

Note the commit date of 2019-04-04. The most recent 10.3.x release is 
10.3.14 from 2019-04-02, two days earlier.


Thus, I expect that the fix will be in upstream 10.3.15, whenever that 
is released.



If you want to patch this in Debian meanwhile, I would suggest just 
taking the upstream commit:

https://github.com/MariaDB/mariadb-connector-c/commit/31ae1278aa4ba2e4832c279d71f3a06ef80ffbea

I am fairly sure this change will work without any prerequisites, since 
that is what I did initially before I tried to make a more comprehensive 
fix.


-Corey



Bug#921599: [debian-mysql] Bug#921599: mariadb-10.3: always connects to localhost ignoring host entry in option file

2019-04-29 Thread Otto Kekäläinen
Apparently the comment in your Github PR was wrong then in
https://github.com/MariaDB/mariadb-connector-c/pull/101#issuecomment-466809308

I asked also you where the commit is in the MR at
https://salsa.debian.org/mariadb-team/mariadb-10.3/merge_requests/15

Could you please research and verify here what version the commit is
shipped in? Or maybe research if it broke something and was reverted
before release?

Thanks for your help!

- Otto



Bug#921599: [debian-mysql] Bug#921599: mariadb-10.3: always connects to localhost ignoring host entry in option file

2019-04-29 Thread Florian Schlichting
Hi Otto,

On Thu, Apr 18, 2019 at 10:25:00PM +0300, Otto Kekäläinen wrote:
> This is pending since
> https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/5046bb4fc2a8ff47a1cf139eba468286a29fcf13
> 
> Should be fixed when 10.3.14-1 is uploaded.

unfortunately, this is not the case. The changes from my merge request
(same as https://github.com/MariaDB/mariadb-connector-c/pull/101) are
not included in the mariadb-10.3 1:10.3.14-1 source, and testing shows
that a hostname set through my.cnf is ignored.

Florian



Bug#921599: [debian-mysql] Bug#921599: mariadb-10.3: always connects to localhost ignoring host entry in option file

2019-04-18 Thread Otto Kekäläinen
This is pending since
https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/5046bb4fc2a8ff47a1cf139eba468286a29fcf13

Should be fixed when 10.3.14-1 is uploaded.



Bug#921599: [debian-mysql] Bug#921599: mariadb-10.3: always connects to localhost ignoring host entry in option file

2019-04-18 Thread Niels Thykier
On Tue, 2 Apr 2019 09:41:25 +0300 =?UTF-8?B?T3R0byBLZWvDpGzDpGluZW4=?=
 wrote:
> OK, so current MariaDB 10.3.13 we have in Debian contains MariaDB
> Connector C 3.0.9
> 
> mariadb-10.3$ grep -rF 'SET(CPACK_PACKAGE_VERSION_' libmariadb/CMakeLists.txt
> SET(CPACK_PACKAGE_VERSION_MAJOR 3)
> SET(CPACK_PACKAGE_VERSION_MINOR 0)
> SET(CPACK_PACKAGE_VERSION_PATCH 9)
> 
> This has been fixed upstream in MariaDB Connector C 3.0.10:
> https://github.com/MariaDB/mariadb-connector-c/pull/101
> 
> MariaDB 10.3.14 release preparations are in progress, so this can be
> fixed soon via the new upstream release:
> https://mariadb.com/kb/en/library/mariadb-10314-release-notes/
> 
> 

Hi,

Gentle ping on this. :)

Thanks,
~Niels



Bug#921599: [debian-mysql] Bug#921599: mariadb-10.3: always connects to localhost ignoring host entry in option file

2019-04-02 Thread Otto Kekäläinen
OK, so current MariaDB 10.3.13 we have in Debian contains MariaDB
Connector C 3.0.9

mariadb-10.3$ grep -rF 'SET(CPACK_PACKAGE_VERSION_' libmariadb/CMakeLists.txt
SET(CPACK_PACKAGE_VERSION_MAJOR 3)
SET(CPACK_PACKAGE_VERSION_MINOR 0)
SET(CPACK_PACKAGE_VERSION_PATCH 9)

This has been fixed upstream in MariaDB Connector C 3.0.10:
https://github.com/MariaDB/mariadb-connector-c/pull/101

MariaDB 10.3.14 release preparations are in progress, so this can be
fixed soon via the new upstream release:
https://mariadb.com/kb/en/library/mariadb-10314-release-notes/