Fixed insert error when table has triggers on it.

Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
Merge branch 'my_fix'