[ 
https://issues.apache.org/jira/browse/OAK-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264561#comment-14264561
 ] 

Julian Reschke edited comment on OAK-1913 at 1/5/15 1:25 PM:
-------------------------------------------------------------

OK, I redid my tests with a fresh mariaDB install, and I now see the problems 
you mentioned. I probably had changed some defaults.

Anyway: restricting the ID to 191 will not work in practice (we may not have 
proper test coverage for that)

Also: the CHAR2OCTETRATIO is indeed a constant. It is "3", as those Unicode 
code points that do not fit into 3 UTF-8 octets will be represented by *2* Java 
characters anyway.

Finally: there's currently a test that attempts to insert U+1D11E as a property 
value, and which is marked as expected failure for MySQL. It still fails when 
the DB uses a utf8mb4 default, so more research is needed here.




was (Author: reschke):
OK, I redid my tests with a fresh mariaDB install, and I now see the problems 
you mentioned. I probably had changed some defaults.

Anyway: restricting the ID to 191 will not work in practice (we may not have 
proper test coverage for that)

Also: the CHAR2OCTECTRATIO is indeed a constant. It is "3", as those Unicode 
code points that do not fit into 3 UTF-8 octets will be represented by *2* Java 
characters anyway.

Finally: there's currently a test that attempts to insert U+1D11E as a property 
value, and which is marked as expected failure for MySQL. It still fails when 
the DB uses a utf8mb4 default, so more research is needed here.



> RDB: MariaDB (MySQL) support
> ----------------------------
>
>                 Key: OAK-1913
>                 URL: https://issues.apache.org/jira/browse/OAK-1913
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: rdbmk
>            Reporter: Julian Reschke
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: OAK-1913-v2.patch, OAK-1913.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to