summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2dcf744)
raw | patch | inline | side by side (parent: 2dcf744)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 12 Nov 2003 22:34:28 +0000 (22:34 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 12 Nov 2003 22:34:28 +0000 (22:34 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1981 57a73879-2fb5-44c3-a270-3262357dd7e2
doc/installation.txt | patch | blob | history | |
doc/mysql.txt | patch | blob | history | |
roundup/backends/back_mysql.py | patch | blob | history |
diff --git a/doc/installation.txt b/doc/installation.txt
index 741254b4d3dbc59b5808f1b7b95ef8b2aa947f19..c5fc0e5f70a572d1b6495956d28a846f282ada69 100644 (file)
--- a/doc/installation.txt
+++ b/doc/installation.txt
Installing Roundup
==================
-:Version: $Revision: 1.64 $
+:Version: $Revision: 1.65 $
.. contents::
**mysql**
Backend for popular RDBMS MySQL. According to benchmarks, this backend works
much faster than any of \*dbm ones, but slightly slower than metakit and
- sqlite. For more info on backend installation see doc/mysql.txt.
+ sqlite. You must read doc/mysql.txt for additional installation steps and
+ requirements.
**postgresql**
Backend for popular RDBMS PostgreSQL. According to benchmarks, this
backend works much faster than any of \*dbm ones and mysql, but slightly
- slower than metakit and sqlite.
- For more info on backend installation see doc/postgresql.txt.
+ slower than metakit and sqlite. You must read doc/postgresql.txt for
+ additional installation steps and requirements.
**metakit**
This backend is implemented over the metakit_ storage system, using Mk4Py as
the interface. It scales much better than the dbm backends.
diff --git a/doc/mysql.txt b/doc/mysql.txt
index 9e5c5ab4c4fa211346c88826d462c84a70f0bafb..f12edb47fdf47d8ed3b1bc9ed7dc24a1904e0218 100644 (file)
--- a/doc/mysql.txt
+++ b/doc/mysql.txt
MySQL Backend
=============
-:version: $Revision: 1.6 $
+:version: $Revision: 1.7 $
This notes detail the MySQL backend for the Roundup issue tracker.
To use MySQL as the backend for storing roundup data, you also need
to install:
-1. MySQL RDBMS 4.0 or higher - http://www.mysql.com. Your MySQL
+1. MySQL RDBMS 4.0.16 or higher - http://www.mysql.com. Your MySQL
installation MUST support InnoDB tables (or Berkeley DB (BDB) tables
- if you have no other choice)
+ if you have no other choice). If you're running < 4.0.16 (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.
2. Python MySQL interface - http://sourceforge.net/projects/mysql-python
:Note: the InnoDB implementation has a bug that Roundup tickles. See
index 1bf33f6a726eba1d1a4752016b775f31cbe9c14a..fa3c6d4ccb97f50d947083bd5159e05066885105 100644 (file)
arg = '%s'
# Backend for MySQL to use.
- # InnoDB is faster, but has a bug in its rollback machinery that causes
- # some selects in subsequent transactions to fail. BDB does not have
- # this bug, but is apparently much slower.
- #mysql_backend = 'InnoDB'
- mysql_backend = 'BDB'
+ # 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'
def sql_open_connection(self):
db = getattr(self.config, 'MYSQL_DATABASE')