@ -11490,9 +11490,9 @@ void Field::raise_note_cannot_use_key_part(THD *thd,
const LEX_CSTRING colv ( op_collation - > coll_name ) ;
push_warning_printf ( thd , Sql_condition : : WARN_LEVEL_NOTE ,
ER_UNKNOWN_ERROR ,
" Cannot use key %` .*s part[%u] for lookup: "
" %` .*s.%` .*s.%` .*s of collation %` .*s "
" %.*s \" %.*T \" of collation %` .*s " ,
" Cannot use key %.*sQ part[%u] for lookup: "
" %.*sQ .%.*sQ .%.*sQ of collation %.*sQ "
" %.*s \" %.*s T \" of collation %.*sQ " ,
( int ) keyname . length , keyname . str ,
part ,
( int ) table - > s - > db . length , table - > s - > db . str ,
@ -11514,9 +11514,9 @@ void Field::raise_note_cannot_use_key_part(THD *thd,
const LEX_CSTRING dtypev ( value - > type_handler ( ) - > name ( ) . lex_cstring ( ) ) ;
push_warning_printf ( thd , Sql_condition : : WARN_LEVEL_NOTE ,
ER_UNKNOWN_ERROR ,
" Cannot use key %` .*s part[%u] for lookup: "
" %` .*s.%` .*s.%` .*s of type %` .*s "
" %.*s \" %.*T \" of type %` .*s " ,
" Cannot use key %.*sQ part[%u] for lookup: "
" %.*sQ .%.*sQ .%.*sQ of type %.*sQ "
" %.*s \" %.*s T \" of type %.*sQ " ,
( int ) keyname . length , keyname . str ,
part ,
( 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
{
push_warning_printf ( thd ,
Sql_condition : : WARN_LEVEL_NOTE , ER_UNKNOWN_ERROR ,
" Cannot use key parts with %` .*s.%` .*s.%` .*s "
" in the rewritten condition: %` .*s " ,
" Cannot use key parts with %.*sQ .%.*sQ .%.*sQ "
" in the rewritten condition: %.*sQ " ,
( int ) table - > s - > db . length , table - > s - > db . str ,
( int ) table - > s - > table_name . length , table - > s - > table_name . str ,
( int ) field_name . length , field_name . str ,