You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Note "_utf8 X'CC88'" is combining umlaut. Doing it this way as non-ASCII stuff gets stripped due to (eventually) been put thru `escapeshellarg()` with a default C locale.
977
+
# Also restricted by default MySQL values for the version-dependent size of the innodb redo log file (max 10% one transaction) and `max_allowed_packet` size (16MB).
978
+
And I run `wp db query "INSERT INTO wp_options (option_name, option_value) VALUES ('opt_large', CONCAT(REPEAT('a', 1024 * 1024 * 8 - 9), 'o', _utf8 X'CC88', 'XYXYX'));"`
979
+
980
+
When I run `wp db search XYXYX --before_context=1 --stats`
981
+
Then STDOUT should contain:
982
+
"""
983
+
Success: Found 1 match
984
+
"""
985
+
And STDOUT should contain:
986
+
"""
987
+
:öXYXYX
988
+
"""
989
+
And STDOUT should not contain:
990
+
"""
991
+
:aöXYXYX
992
+
"""
993
+
And STDERR should be empty
994
+
995
+
When I run `wp db search XYXYX --regex --before_context=1 --stats`
0 commit comments