On Jan 17, 2007, at 12:56 PM, John Siracusa wrote:
> But now that I look further, it appears that it's the "describe
> mytable" output that's incorrect (or at least misleading).  When I
> insert a row without specifying a value for that VARCHAR(10) NOT NULL
> column, it ends up with an empty string as its value, which matches
> what DBD::mysql said.

as perrin said-- are you using strict mode / traditional sql mode?

you can turn it on / off at will (unless its configured in the daemon  
startup file to only allow strict )

mysql behaves DRASTICALLY different depending on that flag.  it might  
actually do what you expect it to when turned on.

// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - -



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to