Hi All following is the problem scenario:
I am using MYSQL (Innodb engine), one of my application(C++/MYSQLCAPI) is doing following operation :
START TRANSACTION
truncate my_table
load Data infile into table my_table.
if both the above command [truncate and load ] are successful then COMMIT
else ROLLBACK
now another application(C++/MYSQLCAPI) which is reading this table in every second by following command.
select * from my_table
ERROR: in this read attempt sometime it gets 0 data , what could be the reason for this ?