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
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
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
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
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
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 @@
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
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
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
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
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
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:
>
>
12 matches
Mail list logo