Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(454)

Issue 201067: Add MySQL backend to Tryton (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years ago by ced
Modified:
15 years, 12 months ago
Reviewers:
bch, mbayer, udono, yangoon1
Visibility:
Public.

Description

- lock doesn't work due because http://forums.mysql.com/read.php?21,106838,106838 - test0030float doesn't work because http://dev.mysql.com/doc/refman/5.0/en/problems-with-float.html - backup/restore not yet implemented

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fix typo, coding guidelines #

Patch Set 3 : Remove trick to change "SET NULL" into "RESTRICT" #

Total comments: 1

Patch Set 4 : Use int for db_port #

Patch Set 5 : pylint check #

Patch Set 6 : Add dump/restore and improve error message from mysql #

Patch Set 7 : Add support of lock tables #

Patch Set 8 : Update patch to tip #

Patch Set 9 : Add readme section for backends #

Total comments: 5

Patch Set 10 : Fix typo #

Patch Set 11 : Add some more readme remarks on mysql #

Total comments: 1

Patch Set 12 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1112 lines, -13 lines) Patch
M CHANGELOG View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M INSTALL View 1 chunk +1 line, -0 lines 0 comments Download
M README View 9 10 11 2 chunks +20 lines, -1 line 0 comments Download
M etc/trytond.conf View 1 chunk +1 line, -1 line 0 comments Download
M setup.py View 1 chunk +1 line, -0 lines 0 comments Download
M trytond/backend/__init__.py View 1 chunk +2 lines, -0 lines 0 comments Download
M trytond/backend/database.py View 1 2 3 4 5 6 7 2 chunks +12 lines, -3 lines 0 comments Download
A trytond/backend/mysql/__init__.py View 1 chunk +6 lines, -0 lines 0 comments Download
A trytond/backend/mysql/database.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +305 lines, -0 lines 0 comments Download
A trytond/backend/mysql/fields.py View 1 chunk +148 lines, -0 lines 0 comments Download
A trytond/backend/mysql/init.sql View 1 chunk +193 lines, -0 lines 0 comments Download
A trytond/backend/mysql/table.py View 1 2 3 4 1 chunk +412 lines, -0 lines 0 comments Download
M trytond/backend/postgresql/database.py View 1 chunk +2 lines, -2 lines 0 comments Download
M trytond/backend/sqlite/database.py View 1 chunk +2 lines, -2 lines 0 comments Download
M trytond/ir/action.py View 4 chunks +4 lines, -0 lines 0 comments Download
M trytond/ir/cron.py View 1 chunk +1 line, -2 lines 0 comments Download
M trytond/ir/sequence.py View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 25
ced
16 years ago (2010-02-05 18:44:14 UTC) #1
yangoon1
16 years ago (2010-02-05 21:55:20 UTC) #2
yangoon1
http://codereview.appspot.com/201067/diff/1/7 File trytond/backend/mysql/database.py (right): http://codereview.appspot.com/201067/diff/1/7#newcode6 trytond/backend/mysql/database.py:6: import MySQLdb MySQLdb should also be in extras_require in ...
16 years ago (2010-02-07 22:53:25 UTC) #3
ced
http://codereview.appspot.com/201067/diff/1/10 File trytond/backend/mysql/table.py (right): http://codereview.appspot.com/201067/diff/1/10#newcode23 trytond/backend/mysql/table.py:23: if not self.history: On 2010/02/07 22:53:25, yangoon wrote: > ...
16 years ago (2010-02-08 08:42:58 UTC) #4
ced
16 years ago (2010-02-08 08:43:50 UTC) #5
ced
16 years ago (2010-02-09 09:27:33 UTC) #6
yangoon1
Don't have mysql running, so cannot test, but loks ok for me. http://codereview.appspot.com/201067/diff/3001/4008 File trytond/backend/mysql/database.py ...
16 years ago (2010-02-09 11:05:32 UTC) #7
mbayer
I've just tested the patch (applied to current trunk) against a mysql5 server. -> Database ...
16 years ago (2010-02-18 11:36:01 UTC) #8
ced
16 years ago (2010-02-18 12:49:18 UTC) #9
ced
On 2010/02/18 11:36:01, mbayer wrote: > I've just tested the patch (applied to current trunk) ...
16 years ago (2010-02-18 12:50:12 UTC) #10
mbayer
Hi ! > Any hints on how to retrieve error message from MySQL? I think ...
16 years ago (2010-02-18 16:41:26 UTC) #11
ced
16 years ago (2010-02-18 18:11:59 UTC) #12
ced
16 years ago (2010-02-19 19:53:33 UTC) #13
ced
16 years ago (2010-02-22 10:03:57 UTC) #14
ced
Somebody tested the last version?
15 years, 12 months ago (2010-02-23 14:49:24 UTC) #15
ced
15 years, 12 months ago (2010-02-25 13:26:30 UTC) #16
bch
http://codereview.appspot.com/201067/diff/10001/10004 File README (right): http://codereview.appspot.com/201067/diff/10001/10004#newcode43 README:43: * There is problems with floating-point comparisons. "There are ...
15 years, 12 months ago (2010-02-25 13:33:05 UTC) #17
ced
http://codereview.appspot.com/201067/diff/10001/10004 File README (right): http://codereview.appspot.com/201067/diff/10001/10004#newcode45 README:45: On 2010/02/25 13:33:05, bch wrote: > Maybe add sqlite ...
15 years, 12 months ago (2010-02-25 13:35:16 UTC) #18
ced
15 years, 12 months ago (2010-02-25 13:35:36 UTC) #19
udono
ok for me. http://codereview.appspot.com/201067/diff/10001/10004 File README (right): http://codereview.appspot.com/201067/diff/10001/10004#newcode45 README:45: slightly better then restricting to "light ...
15 years, 12 months ago (2010-02-25 14:16:44 UTC) #20
ced
http://codereview.appspot.com/201067/diff/10001/10004 File README (right): http://codereview.appspot.com/201067/diff/10001/10004#newcode45 README:45: On 2010/02/25 14:16:44, udono wrote: > slightly better then ...
15 years, 12 months ago (2010-02-25 14:20:41 UTC) #21
ced
15 years, 12 months ago (2010-02-25 14:35:15 UTC) #22
bch
http://codereview.appspot.com/201067/diff/11005/11008 File README (right): http://codereview.appspot.com/201067/diff/11005/11008#newcode41 README:41: * The lock implementation of MySQL requires that Tryton ...
15 years, 12 months ago (2010-02-25 14:36:54 UTC) #23
ced
15 years, 12 months ago (2010-02-25 14:38:50 UTC) #24
bch
15 years, 12 months ago (2010-02-25 14:40:00 UTC) #25
On 2010/02/25 14:38:50, ced wrote:
> 

OK
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b