Re: client_admin: rowid for np-core policy for new clients not getting set

Lindy Foster <[email protected]> Fri, 16 Apr 2004 13:28:51 -0700
Newsgroups gmane.network.net-policy.user
Message-ID <[email protected]>
I think I've got this fixed, and have checked in the changes. I'm not 100% sure that
the value I'm getting for the rowid is what's wanted, though, so if someone who understands
it better than I do would have a look, that would be great.

lindy

At 10:27 AM 4/16/2004, you wrote:
>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
>_______________________________________________
>Net-policy-users mailing list
>Net-policy-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/net-policy-users




-------------------------------------------------------
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