This query:

```
SELECT pair_ID FROM quotes_search WHERE  pair_type="type_one"
    AND ( symbol LIKE 'лукойл%' OR  UPPER(pair_name) LIKE UPPER('лукойл%') );

```

fails with Russian characters (English characters works fine).
Any ideas? table and field are utf8\_general\_ci

> 
> #1064 - You have an error in your SQL syntax; 
>  check the manual that corresponds to your MySQL server version for the 
>  right syntax to use near ''
>    
> 
>  One more thing, This query is successful when using mysql version:5.1.61  
> 
>  But failes when mysql version: 5.1.70
> 
> 
>