8387b02821
The change introduced in MDL-46739, which modified the 'value' column in the 'user_preferences' database table from CHAR to TEXT, caused the upgrade query to fail due to the '=' comparison operator being used on this column in the WHERE clause. This fix updates the query to use $DB->sql_compare_text() instead.