I linked a table called timesheet from a remote server by using the FEDERATED engine.
The table has these fields:
- ts_id
- ts_userid
- ts_weekend
If I execute this query, the result is correct, including a record for weekend 2022-11-27:
SELECT * FROM timesheet WHERE ts_userid=123;
But if I added one more criteria into the WHERE clause, the result was empty.
SELECT * FROM timesheet WHERE ts_userid=123 AND ts_weekend='2022-11-27';
I tried to transfer the timesheet table from the remote server to the local server, and all the queries are fine.
Is there is a way to fix the issue with the federated table?