I have a table on master and same table on slave with an extra column like
InsertTime timestamp DEFAULT CURRENT_TIMESTAMP
I want to keep record of time when there is update on slave.
Replication is working fine, but added column
InsertTime on slave DB is storing
000.000.00 00-00-00 value. It is not storing current system timestamp. When I issue separate insert statement on slave side, it is storing system time but not with replication. Can anyone suggest me how to achieve system timestamp on slave side?
Other details as follows:
- MySQL DB: MariaDB 5.5.23
- Replication Type: Row based
- Platform: Linux