Select returns: Query OK, -1 rows affected
Posted: 25.02.2007, 13:00
I have a select statement with a function call in MySQL 5.0.
It doesn't return any data with Query OK, -1 rows affected as a result, but I remove the function it returns the data I asked for. The result without using the function get 65000 records.
What could be the problem?
The function is listed in Integer field treated as Largeint
I tried doing a search on google but -1 is seen as 1!! and I don't find an answer.
This is not related to the zeos bug, but it uses the same function.
It doesn't return any data with Query OK, -1 rows affected as a result, but I remove the function it returns the data I asked for. The result without using the function get 65000 records.
What could be the problem?
The function is listed in Integer field treated as Largeint
I tried doing a search on google but -1 is seen as 1!! and I don't find an answer.
This is not related to the zeos bug, but it uses the same function.