Skip to content

Commit

Permalink
Fix logging for three-byte UTF-8 character with MariaDB
Browse files Browse the repository at this point in the history
jdv79++
  • Loading branch information
moritz committed Sep 6, 2017
1 parent 8d4be6f commit 65e00b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/schema.mysql
Expand Up @@ -38,7 +38,7 @@ CREATE TABLE `ilbot_lines` (

DELIMITER //
-- no empty lines, would confuse the installer
CREATE PROCEDURE `ilbot_log_line`(IN p_channel VARCHAR(30), IN p_nick VARCHAR(40), IN p_line mediumtext)
CREATE PROCEDURE `ilbot_log_line`(IN p_channel VARCHAR(30), IN p_nick VARCHAR(40), IN p_line mediumtext CHARSET utf8)
LANGUAGE SQL
NOT DETERMINISTIC
SQL SECURITY INVOKER
Expand Down

0 comments on commit 65e00b6

Please sign in to comment.