------------------------------------------------------------
revno: 7
committer: Andres Salomon <dilinger@athenacr.com>
branch nick: trac-wikicap
timestamp: Wed 2006-03-01 02:37:59 -0500
message:
Fix a minor bug with a sql statement; the table name is 'wiki', not 'WIKI'.
=== modified file 'trac/wiki/model.py'
|
|
|
|
| 111 | 111 | |
| 112 | 112 | if self.text != self.old_text: |
| 113 | 113 | cursor = db.cursor() |
| 114 | | cursor.execute("INSERT INTO WIKI (name,version,time,author,ipnr," |
| | 114 | cursor.execute("INSERT INTO wiki (name,version,time,author,ipnr," |
| 115 | 115 | "text,comment,readonly) VALUES (%s,%s,%s,%s,%s,%s," |
| 116 | 116 | "%s,%s)", (self.name, self.version + 1, t, author, |
| 117 | 117 | remote_addr, self.text, comment, self.readonly)) |