In MySQL log, there is one error 'InnoDB: insufficient history for index 0'
I don't know why it occurs. I have googled and found this:
InnoDB: If a transaction was started with a consistent snapshot, then new indexes were added to the table while the transaction was in progress, a subsequent UPDATE statement could incorrectly encounter the error:
ER_TABLE_DEF_CHANGED: insufficient history for index
This issue could cause an assertion error in debug builds. (Bug #14036214)
In my case, I started the transaction and inserted data into table, in between I did not insert or update data in that table. Why did this error occur?