Why does this incorrect pre_get_posts meta_query work for sort order?

Why does this incorrect pre_get_posts meta_query work for sort order?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)