>From: "Robert Dobbs" <[EMAIL PROTECTED]>
>
>           * For some drivers the value may only be available if 
>placeholders
>           have not been used (e.g., Sybase, MS SQL). In this case the 
>value
>           returned would be from the last non-placeholder insert 
>statement.
>
>Bleah.  I guess I have to use SQL and be very careful about de-sqlifying 
>input.

Hey guess what.  This doesn't seem to matter.  As a test, I changed line 941 
of DBIC:Storage::DBI to do "return $self->dbh->selectrow_array('SELECT 
@@IDENTITY')" and it works great.  I think the subclassed PK::Auto for 
MS-SQL needs to be brought back to life.

Mark

_________________________________________________________________
Check the weather nationwide with MSN Search: Try it now!  
http://search.msn.com/results.aspx?q=weather&FORM=WLMTAG


_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to