@@ -11490,9 +11490,9 @@ void Field::raise_note_cannot_use_key_part(THD *thd,
1149011490 const LEX_CSTRING colv (op_collation->coll_name );
1149111491 push_warning_printf (thd, Sql_condition::WARN_LEVEL_NOTE,
1149211492 ER_UNKNOWN_ERROR,
11493- " Cannot use key %`.*s part[%u] for lookup: "
11494- " %`.*s.%`.*s.%`.*s of collation %`.*s "
11495- " %.*s \" %.*T \" of collation %`.*s " ,
11493+ " Cannot use key %.*sQ part[%u] for lookup: "
11494+ " %.*sQ.%.*sQ.%.*sQ of collation %.*sQ "
11495+ " %.*s \" %.*sT \" of collation %.*sQ " ,
1149611496 (int ) keyname.length , keyname.str ,
1149711497 part,
1149811498 (int ) table->s ->db .length , table->s ->db .str ,
@@ -11514,9 +11514,9 @@ void Field::raise_note_cannot_use_key_part(THD *thd,
1151411514 const LEX_CSTRING dtypev (value->type_handler ()->name ().lex_cstring ());
1151511515 push_warning_printf (thd, Sql_condition::WARN_LEVEL_NOTE,
1151611516 ER_UNKNOWN_ERROR,
11517- " Cannot use key %`.*s part[%u] for lookup: "
11518- " %`.*s.%`.*s.%`.*s of type %`.*s "
11519- " %.*s \" %.*T \" of type %`.*s " ,
11517+ " Cannot use key %.*sQ part[%u] for lookup: "
11518+ " %.*sQ.%.*sQ.%.*sQ of type %.*sQ "
11519+ " %.*s \" %.*sT \" of type %.*sQ " ,
1152011520 (int ) keyname.length , keyname.str ,
1152111521 part,
1152211522 (int ) table->s ->db .length , table->s ->db .str ,
@@ -11544,8 +11544,8 @@ void Field::raise_note_key_become_unused(THD *thd, const String &expr) const
1154411544{
1154511545 push_warning_printf (thd,
1154611546 Sql_condition::WARN_LEVEL_NOTE, ER_UNKNOWN_ERROR,
11547- " Cannot use key parts with %`.*s.%`.*s.%`.*s "
11548- " in the rewritten condition: %`.*s " ,
11547+ " Cannot use key parts with %.*sQ.%.*sQ.%.*sQ "
11548+ " in the rewritten condition: %.*sQ " ,
1154911549 (int ) table->s ->db .length , table->s ->db .str ,
1155011550 (int ) table->s ->table_name .length , table->s ->table_name .str ,
1155111551 (int ) field_name.length , field_name.str ,
0 commit comments