quotatallies table - name to short

  • Maybe it is just me, but I encountered a error which was very hard to track down at the beginning. It came down to the point that in the quotatallies-table the field 'name' only took 30 chars at max (for what reason ever).


    However the domain-name was longer so every time the user tried to login the system checked for an quota entry, found non (because a shorter name was stored in the db) and tried to insert a new one. That failed because the insert was done with the longer name, shortened by mysql and resulted in a duplicate key error.


    Maybe it would be wise to alter all tables that can hold domain names to varchar 255.


    Cheers
    Finn