stopping numification

[prev] [thread] [next] [Date index for 2005/05/24]

From: Simon Wistow
Subject: stopping numification
Date: 15:46 on 24 May 2005
I have a column, version, defined as varchar(255) but, when I do a 

	MyThing->find_or_create({ name => $name, version => "$version"});

where $version is "1.0" then the value in the database is '1'.

If I do 

__PACKAGE__->add_trigger( before_set_version => 
	sub { my ($self, $value, $vals) = @_; ... } );


then both $value and $vals->{version} are '1.0';

If I manually frig the DB to set the version to '1.0' then it's all 
fine.

Is this a bug in Class::DBI::SQLite? 

Simon


(message missing)

stopping numification
Simon Wistow 15:46 on 24 May 2005

Re: stopping numification
Matt S Trout 16:01 on 24 May 2005

Re: stopping numification
Simon Wistow 16:31 on 24 May 2005

Re: stopping numification
Christopher Laco 17:13 on 24 May 2005

Re: stopping numification
Simon Wistow 10:47 on 25 May 2005

Re: stopping numification
William Ross 11:46 on 25 May 2005

Re: stopping numification
Simon Wistow 11:59 on 25 May 2005

Re: stopping numification
Dan Sully 14:09 on 25 May 2005

Re: stopping numification
Gordon Haverland 16:55 on 24 May 2005

Re: stopping numification
Simon Wistow 17:06 on 24 May 2005

Re: stopping numification
Gordon Haverland 22:43 on 24 May 2005

Re: stopping numification
Tony Bowden 11:57 on 25 May 2005

Generated at 20:11 on 05 Jun 2005 by mariachi v0.52