Skip to content

Commit

Permalink
Add MYSQL_ENABLE_UTF8MB4 database option
Browse files Browse the repository at this point in the history
This sets the DBD::mysql dbh option mysql_enable_utf8mb4.
  • Loading branch information
jonjensen committed Nov 26, 2018
1 parent 0141a09 commit edebf9a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Vend/Table/DBI.pm
Expand Up @@ -79,7 +79,8 @@ my %Cattr = ( qw(
RAISEERROR RaiseError
PRINTERROR PrintError
AUTOCOMMIT AutoCommit
MYSQL_ENABLE_UTF8 mysql_enable_utf8
MYSQL_ENABLE_UTF8 mysql_enable_utf8
MYSQL_ENABLE_UTF8MB4 mysql_enable_utf8mb4
) );
my @Cattr = keys %Cattr;

Expand All @@ -94,7 +95,8 @@ my %Dattr = ( qw(
LONGTRUNCOK LongTruncOk
LONGREADLEN LongReadLen
PG_ENABLE_UTF8 pg_enable_utf8
MYSQL_ENABLE_UTF8 mysql_enable_utf8
MYSQL_ENABLE_UTF8 mysql_enable_utf8
MYSQL_ENABLE_UTF8MB4 mysql_enable_utf8mb4
) );
my @Dattr = keys %Dattr;

Expand Down

0 comments on commit edebf9a

Please sign in to comment.