diff options
| author | Jay Vora <jvo@tinyerp.com> | 2008-09-11 12:59:45 +0530 |
|---|---|---|
| committer | Jay Vora <jvo@tinyerp.com> | 2008-09-11 12:59:45 +0530 |
| commit | e26e2062b5953cf30b0351a82855efa8da7ae0a6 (patch) | |
| tree | 59fee486de923eb48fe7ca2739c7d87a82d6f9dd /bin/sql_db.py | |
| parent | 619e95b4aa9b1c31a39a482b6b6dc6eda9d824a8 (diff) | |
Accepted Uppercase DB names and displayed on terminal
bzr revid: jvo@tinyerp.com-20080911072945-jwo9wscd8ko66av9
Diffstat (limited to 'bin/sql_db.py')
| -rw-r--r-- | bin/sql_db.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sql_db.py b/bin/sql_db.py index 05a5577490c..71eb514c323 100644 --- a/bin/sql_db.py +++ b/bin/sql_db.py @@ -109,10 +109,10 @@ class fake_cursor: self.print_log('into') self.obj.close() - # This force the cursor to be freed, and thus, available again. It is - # important because otherwise we can overload the server very easily + # This force the cursor to be freed, and thus, available again. It is + # important because otherwise we can overload the server very easily # because of a cursor shortage (because cursors are not garbage - # collected as fast as they should). The problem is probably due in + # collected as fast as they should). The problem is probably due in # part because browse records keep a reference to the cursor. del self.obj @@ -123,7 +123,7 @@ class fakedb: def __init__(self, truedb, dbname): self.truedb = truedb self.dbname = dbname - + def cursor(self): return fake_cursor(self.truedb, {}, self.dbname) |
