greetings,
i have been working on an insert statement that inserts data into an sql 2000 table, coming from a linux 7.3 running some perl scripts that are net telnet to serial devices.
the inserts run great until somebody put a trigger on one of the tables. once that happened the first insert happens, then it appears that the transaction does not close. i have even updated the trigger to do nothing but print the date with the same result.
is there something that i need to do in perl to end a transaction with a trigger on the table? (trigger waits for an insert then updates 2 other tables with the data inserted). or is perl expecting something back?? with other languages i have utilized i have never had this happen!!
i am just utilizing a basice do->
$sth = $dbh->do($sql);
unless ($sth) {
mysyslog('err',$sql);
mysyslog('err',"Unable to INSERT: $DBI::errstr");
return undef;
}
return 1;
any information is appreciated!
sean
i have been working on an insert statement that inserts data into an sql 2000 table, coming from a linux 7.3 running some perl scripts that are net telnet to serial devices.
the inserts run great until somebody put a trigger on one of the tables. once that happened the first insert happens, then it appears that the transaction does not close. i have even updated the trigger to do nothing but print the date with the same result.
is there something that i need to do in perl to end a transaction with a trigger on the table? (trigger waits for an insert then updates 2 other tables with the data inserted). or is perl expecting something back?? with other languages i have utilized i have never had this happen!!
i am just utilizing a basice do->
$sth = $dbh->do($sql);
unless ($sth) {
mysyslog('err',$sql);
mysyslog('err',"Unable to INSERT: $DBI::errstr");
return undef;
}
return 1;
any information is appreciated!
sean