BEGIN
SET NEW.value_result = NEW.value_a + NEW.value_b;
END
I'm trying to understand why if I manually modify the value_result column is showing the following error:
MariaDB: Error 0 rows updated when that should have been 1.
If I modify value_a or value_b columns manually there's no issue and value_result column is updated perfectly. But if by "accident" I modify the value_result column the error is shown.
Can this be prevented? By manually i mean using HeidiSQL interface and not query code.
All columns are INT(11)