I have a query that inserts or replaces data in table and it works fine on localhost, but on real host it behaves strange.
The query:
REPLACE INTO sessio