summaryrefslogtreecommitdiff
path: root/tests/dbshell
diff options
context:
space:
mode:
authorBen Cail <bcail@crossway.org>2024-10-17 16:32:36 -0400
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-11-18 15:00:33 +0100
commit9609b48b9149aa0b96208588b99ce6161be6a287 (patch)
treefa1e78c632c00a063a751bed8b4b52d29d6df004 /tests/dbshell
parent2debd018dbc7aba0b98b4c082bbb1fa1d195a47e (diff)
Fixed #18392 -- Changed default mysql encoding to "utf8mb4".
Diffstat (limited to 'tests/dbshell')
-rw-r--r--tests/dbshell/test_mysql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dbshell/test_mysql.py b/tests/dbshell/test_mysql.py
index 13007ec037..6088a8b61a 100644
--- a/tests/dbshell/test_mysql.py
+++ b/tests/dbshell/test_mysql.py
@@ -112,7 +112,7 @@ class MySqlDbshellCommandTestCase(SimpleTestCase):
"--user=someuser",
"--host=somehost",
"--port=444",
- "--default-character-set=utf8",
+ "--default-character-set=utf8mb4",
"somedbname",
]
expected_env = {"MYSQL_PWD": "somepassword"}
@@ -124,7 +124,7 @@ class MySqlDbshellCommandTestCase(SimpleTestCase):
"PASSWORD": "somepassword",
"HOST": "somehost",
"PORT": 444,
- "OPTIONS": {"charset": "utf8"},
+ "OPTIONS": {"charset": "utf8mb4"},
}
),
(expected_args, expected_env),