Menu

Commit [r9406]  Maximize  Restore  History

db: Allow specifying a key size for a column in the database schema to be used ''if necessary'' by the backend when creating tables. This is typically used by the MySQL backend to avoid compound keys larger than 1000 bytes, and replaces the special cases for columns named `rev`, `path` and `change_type`.

Closes #9138.

rblank 2010-03-30

changed /trunk/trac/db/mysql_backend.py
changed /trunk/trac/db/schema.py
changed /trunk/trac/db_default.py
changed /trunk/trac/upgrades/db23.py
changed /trunk/trac/upgrades/db24.py
/trunk/trac/db/mysql_backend.py Diff Switch to side-by-side view
Loading...
/trunk/trac/db/schema.py Diff Switch to side-by-side view
Loading...
/trunk/trac/db_default.py Diff Switch to side-by-side view
Loading...
/trunk/trac/upgrades/db23.py Diff Switch to side-by-side view
Loading...
/trunk/trac/upgrades/db24.py Diff Switch to side-by-side view
Loading...