client_admin: rowid for np-core policy for new clients not getting set
Lindy Foster <[email protected]> Fri, 16 Apr 2004 10:27:09 -0700
| Newsgroups | gmane.network.net-policy.user |
|---|---|
| Message-ID | <[email protected]> |
There is a line in client_admin.pm that says:
my $rid = $sth->{mysql_insertid};
This doesn't work. The rowid doesn't get set, and the entry into the policychange
table works, but leaves the rowid blank (which isn't really much use). The only
other instance I can find of this usage is in sql_utils, where it has an "if exists"
clause with an else that is pg-centric. What do I need to fix this? Wes?
lindy
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click