Skip to content

Mariadb, diferent decimal lenght if collation is utf8 or latin_bin #21

Open
@pcordonet

Description

@pcordonet

Hello,
I have a problem with a database with MariaDb.

When I create a table with numeric fields for example 4 digits with collation "latin_bin", when I do dbstruct() it tells me that the size is 5 digits.

On the other hand if I have the collation "utf8_general_ci" it returns the correct value.

How can I fix this issue?

Thank you
Petter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions