2013/10/7 Peter FELECAN <[email protected]>: > We have now: > > $ bin/pkgdb initdb > /opt/csw/lib/python2.6/site-packages/sqlobject/mysql/mysqlconnection.py:113: > Warning: Specified key was too long; max key length is 767 bytes > return cursor.execute(query) > > Which I presume is innocuous. However, it's better to remove warnings if > possible at all.
It's MySQL specific, and has to do with the 767 bytes restriction on an index key. It's probably about this line and the line below, and the fact that there are indexes on these two fields: https://github.com/opencsw/gar/blob/blob-split/lib/python/models.py#L140 I've checked that the longest filename that we currently have has 180 characters, so we might reduce the length of the field in the database to 255 characters. Maciej _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
