From: Chris W. <ch...@cw...> - 2003-12-12 11:33:02
|
* Vsevolod (Simon) Ilyushchenko (si...@cs...) [031211 16:13]: > >One note on this: the 'skip_undef' feature may help, since it will not > >include ANY fields in an insert or update that are undefined. > > I tried that (assume here that field2 is undef): > > INSERT INTO table (field1, field2) VALUES (value1, ); > > So it fails too. :( > > I think this and the previous bug only happens with numeric fiels. I think the 'skip_undef' part gets triggered before they get to SPOPS::SQLInterface and thus before the datatypes are checked. So I'm not sure this is a type issue (could be wrong). In any case, I will clearly have to investigate this some more and write some tests to exercise the behavior. More soon, thanks for the report. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988 |