Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Request #11204 Allow "unsigned" for MySQL float and decimal types
Submitted: 2007-06-01 12:05 UTC
From: thesaint Assigned: afz
Status: Closed Package: MDB2 (version 2.4.1)
PHP Version: 5.2.1 OS: all
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 30 + 15 = ?

 
 [2007-06-01 12:05 UTC] thesaint (Gabriel Birke)
Description: ------------ MySQL allows the "unsigned" attribute for decimal and float fields. It would be great if the Manager module would support this attribute for the createTable and alterTable methods.

Comments

 [2007-07-13 02:24 UTC] davidc (David Coallier)
$definition = array ( 'someFloat' => array ( 'type' => 'float', 'unsigned' => 1, 'notnull' => 1, 'default' => 0, ) ); have you tried setting something like this ?
 [2008-01-31 02:08 UTC] afz (Ali Fazelzadeh)
Fixed in CVS.