#58 Add support for TINYINT, BIGINT, etc.

closed-accepted
nobody
None
5
2007-03-02
2006-03-15
Anonymous
No

Storage size should be considered when assigning column
types. If an int value is never going to be larger than
one byte, it should not be assigned to an INT column
type, instead TINYINT should be used.

The patch adds support for TINYINT, SMALLINT,
MEDIUMINT, and BIGINT columns (these are all supported
under MySQL, other support is unknown) by adding
TinyIntCol, SmallIntCol, MediumIntCol, and BigIntCol
classes.

Discussion

  • Adds TINYINT, SMALLINT, MEDIUMINT, and BIGINT columns

     
    Attachments
  • Oleg Broytman
    Oleg Broytman
    2006-03-21

    • status: open --> open-invalid
     
  • Oleg Broytman
    Oleg Broytman
    2006-03-21

    Logged In: YES
    user_id=4799

    Please add documentation and tests.

     
  • Oleg Broytman
    Oleg Broytman
    2007-03-02

    • status: open-invalid --> closed-accepted
     
  • Oleg Broytman
    Oleg Broytman
    2007-03-02

    Logged In: YES
    user_id=4799
    Originator: NO

    Applied in the revision 2371.