TYPE=TRIGGERS
triggers='CREATE DEFINER=`root`@`localhost` TRIGGER tbl_employee_before_upd_tr BEFORE UPDATE ON tbl_employee FOR EACH ROW
\nBEGIN
\nIF (@DISABLE_TRIGGERS IS NULL) then
\nSET NEW.`emp_perm_remain`=NEW.`emp_perm_day`-(NEW.`emp_perm_current`+NEW.`emp_perm_init`);
\nEND IF;
\nEND'
sql_modes=1344274434
definers='root@localhost'
client_cs_names='cp1256'
connection_cl_names='cp1256_general_ci'
db_cl_names='cp1256_general_ci'
