Details
Description
SET collation_connection=utf16le_general_ci; |
SET GLOBAL debug_dbug='d,any_random_string'; |
Will add about 8000-11000 lines of debug information to the error log. However,
SET GLOBAL debug_dbug='d,any_random_string'; |
Does not. Happens on all 10.2-10.9 debug versions. Tested via CLI only.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
{code:sql}
SET NAMES utf8,collation_connection=utf16le_general_ci; SET GLOBAL debug_dbug='d,any_random_string'; {code} Will add about 8000-11000 lines of debug information to the error log. However, {code:sql} SET GLOBAL debug_dbug='d,any_random_string'; {code} Does not. Happens on all 10.2-10.9 debug versions. Discussed with [~bar] and [~marko]. |
{code:sql}
SET NAMES utf8,collation_connection=utf16le_general_ci; SET GLOBAL debug_dbug='d,any_random_string'; {code} Will add about 8000-11000 lines of debug information to the error log. However, {code:sql} SET GLOBAL debug_dbug='d,any_random_string'; {code} Does not. Happens on all 10.2-10.9 debug versions. Tested via CLI only. Discussed with [~bar] and [~marko]. |
Description |
{code:sql}
SET NAMES utf8,collation_connection=utf16le_general_ci; SET GLOBAL debug_dbug='d,any_random_string'; {code} Will add about 8000-11000 lines of debug information to the error log. However, {code:sql} SET GLOBAL debug_dbug='d,any_random_string'; {code} Does not. Happens on all 10.2-10.9 debug versions. Tested via CLI only. Discussed with [~bar] and [~marko]. |
{code:sql}
SET collation_connection=utf16le_general_ci; SET GLOBAL debug_dbug='d,any_random_string'; {code} Will add about 8000-11000 lines of debug information to the error log. However, {code:sql} SET GLOBAL debug_dbug='d,any_random_string'; {code} Does not. Happens on all 10.2-10.9 debug versions. Tested via CLI only. Discussed with [~bar] and [~marko]. |
Summary | GLOBAL debug_dbug setting affected by NAMES setting | GLOBAL debug_dbug setting affected by collation_connection=utf16… |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Fix Version/s | 10.2 [ 14601 ] |
Fix Version/s | 10.7 [ 24805 ] |
Fix Version/s | 10.3 [ 22126 ] |
issue.field.resolutiondate | 2024-04-10 02:39:49.0 | 2024-04-10 02:39:49.332 |
Fix Version/s | 10.5.25 [ 29626 ] | |
Fix Version/s | 10.6.18 [ 29627 ] | |
Fix Version/s | 10.11.8 [ 29630 ] | |
Fix Version/s | 11.0.6 [ 29628 ] | |
Fix Version/s | 11.1.5 [ 29629 ] | |
Fix Version/s | 11.2.4 [ 29631 ] | |
Fix Version/s | 11.4.2 [ 29633 ] | |
Fix Version/s | 11.5.1 [ 29634 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Fixed [ 1 ] | |
Status | Confirmed [ 10101 ] | Closed [ 6 ] |
The problem happens because Sys_var_dbug::do_check() does not convert the value to utf8.
The problem is also repeatable with this script:
+--------------+
| @@debug_dbug |
+--------------+
| d |
+--------------+
This method should fix fixed to convert the value, like Sys_var_charptr_base::do_check_string() does.