Mercurial > p > roundup > code
changeset 8221:3d7292d222d1
doc: update version in doc/mysql.txt; remove bdb support for mysql.
Remove obsolete info from doc and code.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 18 Dec 2024 16:24:22 -0500 |
| parents | 818751637b77 |
| children | 54dfda1c4fe5 |
| files | doc/mysql.txt roundup/backends/back_mysql.py |
| diffstat | 2 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/mysql.txt Tue Dec 17 21:42:45 2024 -0500 +++ b/doc/mysql.txt Wed Dec 18 16:24:22 2024 -0500 @@ -13,11 +13,8 @@ To use MySQL as the backend for storing roundup data, you also need to install: -1. MySQL RDBMS 4.0.18 or higher - https://www.mysql.com/. Your MySQL - installation MUST support InnoDB tables (or Berkeley DB (BDB) tables - if you have no other choice). If you're running < 4.0.18 (but not <4.0) - then you'll need to use BDB to pass all unit tests. Edit the - ``roundup/backends/back_mysql.py`` file to enable DBD instead of InnoDB. +1. MySQL RDBMS 8.0.11 or higher - https://www.mysql.com/. Your MySQL + installation MUST support InnoDB tables. 2. Python MySQL interface - https://pypi.org/project/mysqlclient/
--- a/roundup/backends/back_mysql.py Tue Dec 17 21:42:45 2024 -0500 +++ b/roundup/backends/back_mysql.py Wed Dec 18 16:24:22 2024 -0500 @@ -145,10 +145,7 @@ implements_intersect = 0 # Backend for MySQL to use. - # InnoDB is faster, but if you're running <4.0.16 then you'll need to - # use BDB to pass all unit tests. mysql_backend = 'InnoDB' - # mysql_backend = 'BDB' hyperdb_to_sql_datatypes = { hyperdb.String: 'TEXT',
