Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-10-01 Thread Otto Kekäläinen
That build log was from upstream 10.5 "master" branch, just as an example to illustrate that we "globally" have these contents in libmariadb-dev and libmariadbd-dev if you want to review that we are shipping the right files. The patch about DEFAULT_CHARSET I tested only locally, and local build

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-10-01 Thread Georg Richter
Hi Otto, according to the build log you didn't build server with option -DCONC_DEFAULT_CHARSET=utf8mb4 or do I miss something? /Georg On Thu, Oct 1, 2020 at 8:20 AM Otto Kekäläinen wrote: > When libmariadb-dev and libmariadbd-dev are installed one gets: > > # grep -rF DEFAULT_CHARSET

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-10-01 Thread Otto Kekäläinen
When libmariadb-dev and libmariadbd-dev are installed one gets: # grep -rF DEFAULT_CHARSET /usr/include/ /usr/include/mariadb/mariadb_ctype.h:#define MADB_DEFAULT_CHARSET_NAME "latin1" /usr/include/mariadb/server/my_config.h:#define MYSQL_DEFAULT_CHARSET_NAME "latin1" Georg: at the very end of

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-09-30 Thread Georg Richter
Hi Otto, looks like you use the command line client to check this - command line client is different, it is using charset="auto" by default. To check the mariadb_default_charset you can check the generated include files: georg@beethoven:~/work/mariadb/server/bld$ grep DEFAULT_CHARSET

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-09-30 Thread Otto Kekäläinen
Tested this patch, unfortunately it didn't work: MariaDB [(none)]> status; -- mariadb Ver 15.1 Distrib 10.5.5-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 Connection id: 45 Current database: Current user: root@localhost SSL: Not in use Current pager: stdout Using

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-09-29 Thread Georg Richter
Hi Otto, you're right - looks like it was forgotten to add this option when building C/C as a sunproject inside server. I fixed that now: diff --git a/CMakeLists.txt b/CMakeLists.txt index c85baf2..4045491 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-09-29 Thread Otto Kekäläinen
I tested this but it did not at least directly work: commit b8e537d55b467eb285a82842e73bb22732ef9ad6 (HEAD -> master-next) Author: Otto Kekäläinen Date: Tue Sep 29 21:27:02 2020 +0300 Use build flag to enforce default charset as utf8mb4 (Closes: ##933063) diff --git a/debian/rules

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-09-29 Thread Georg Richter
Hi Otto, in server build you have to pass special options for C/C - I need to check it and will get back to you. /Georg On Tue, Sep 29, 2020 at 3:42 PM Otto Kekäläinen wrote: > Hi! > > ti 29. syysk. 2020 klo 7.39 Georg Richter (ge...@mariadb.com) kirjoitti: > > > > Hi, > > > > if server has

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-09-29 Thread Otto Kekäläinen
Hi! ti 29. syysk. 2020 klo 7.39 Georg Richter (ge...@mariadb.com) kirjoitti: > > Hi, > > if server has default charset utf8mb4 on Debian, why don't you build C/C with > -DDEFAULT_CHARSET=utf8mb4 ? Yes, that might be a good solution. I wasn't aware of such an option. The upstream MariaDB 10.5

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-09-28 Thread Olaf van der Spek
Op ma 28 sep. 2020 om 19:27 schreef Otto Kekäläinen : > If you Olaf want to contribute by improving this, I suggest you > research upstream docs and configs and try to figure out if we > actually need a full charset row of only utf8mb4 or if current > situation is sufficient and the 'client' and

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2020-09-28 Thread Otto Kekäläinen
Control: tags -1 moreinfo Hello! pe 26. heinäk. 2019 klo 15.06 Otto Kekäläinen (o...@debian.org) kirjoitti: > > Hello! > > Thanks for reporting. I don't know it the MariaDB Connector C client > library reads and follows any settings in /etc/mysql/, we will need to > check that with upstream

Bug#933063: [debian-mysql] Bug#933063: character_set_client: latin1?

2019-07-26 Thread Otto Kekäläinen
Hello! Thanks for reporting. I don't know it the MariaDB Connector C client library reads and follows any settings in /etc/mysql/, we will need to check that with upstream author if this is a bug or not. - Otto pe 26. heinäk. 2019 klo 7.21 Olaf van der Spek (olafvds...@gmail.com) kirjoitti: > >