dirty-flag on inflated columns

24 messages Options
Embed this post
Permalink
1 2
Peter Rabbitson-2

Re: dirty-flag on inflated columns

Reply Threaded More More options
Print post
Permalink
In reply to this post by Matt S Trout
Matt S Trout wrote:
>
> Thoughts on whether make_column_dirty should clear the deflated value if an
> inflated one is present, guys?
>

So now that ::FS is fixed can we do this?


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
Marc Mims

Re: dirty-flag on inflated columns

Reply Threaded More More options
Print post
Permalink
* Peter Rabbitson <[hidden email]> [090522 02:15]:
> Matt S Trout wrote:
> >
> > Thoughts on whether make_column_dirty should clear the deflated value if an
> > inflated one is present, guys?
> >
>
> So now that ::FS is fixed can we do this?

Yes.  I can push what I have to CPAN.  Matt points out that it is
"inelegant" so there's more work to be done---another release to follow.

        -Marc

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
Matt S Trout

Re: dirty-flag on inflated columns

Reply Threaded More More options
Print post
Permalink
On Fri, May 22, 2009 at 06:43:40AM -0700, Marc Mims wrote:

> * Peter Rabbitson <[hidden email]> [090522 02:15]:
> > Matt S Trout wrote:
> > >
> > > Thoughts on whether make_column_dirty should clear the deflated value if an
> > > inflated one is present, guys?
> > >
> >
> > So now that ::FS is fixed can we do this?
>
> Yes.  I can push what I have to CPAN.  Matt points out that it is
> "inelegant" so there's more work to be done---another release to follow.

Working and inelegant > not working.

I'm just a perfectionist :)

--
        Matt S Trout         Catalyst and DBIx::Class consultancy with a clue
     Technical Director      and a commit bit: http://shadowcat.co.uk/catalyst/
 Shadowcat Systems Limited
  mst (@) shadowcat.co.uk        http://shadowcat.co.uk/blog/matt-s-trout/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
Peter Rabbitson-2

Re: dirty-flag on inflated columns

Reply Threaded More More options
Print post
Permalink
In reply to this post by Matt S Trout
Matt S Trout wrote:

>
> Oh FFS, that's not triggering the deflate of course.
>
> I suspect what you actually want for the moment is:
>
> $s->xml($s->xml);
>
> Thoughts on whether make_column_dirty should clear the deflated value if an
> inflated one is present, guys?
>

Committed at [1]. Hopefully the sky won't fall.

[1] http://dev.catalyst.perl.org/svnweb/bast/revision?rev=6753

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
1 2