Christophe Simonis
028ee0f221
[IMP] sql_db.py: improve logging
...
bzr revid: chs@openerp.com-20100514133341-y093gp9yqfckcm80
2010-05-14 15:33:41 +02:00
Christophe Simonis
b3f8f4313b
[IMP] sql_db.py: backport changes from stable branch
...
bzr revid: chs@openerp.com-20100514131506-yx7qsu2nuylk1v5e
2010-05-14 15:15:06 +02:00
Olivier Dony
01578fff22
[ADD] utility methods to split large lists of ids for use in IN clauses
...
bzr revid: odo@openerp.com-20100330172603-ty878ds2i9oa33zq
2010-03-30 19:26:03 +02:00
Stephane Wirtel
2733dea0c8
[IMP] remove crappy log() function from db_sql, migrate to logging's Logger
...
bzr revid: stephane@openerp.com-20100303092841-vd278m62602ziyhl
2010-03-03 10:28:41 +01:00
Xavier Morel
f8ef7598b6
[imp] remove crappy log() function from db_sql, migrate to logging's Logger
...
bzr revid: xmo@tinyerp.com-20100302095840-bavk87douskr01af
2010-03-02 10:58:40 +01:00
Xavier Morel
a7d00eb5f3
[imp] remove mostly unused DEBUG2 logging level
...
bzr revid: xmo@tinyerp.com-20100302094648-gztszaux31oyfptv
2010-03-02 10:46:48 +01:00
HDA (OpenERP)
a0ba43d800
Merged with stable
...
bzr revid: hda@tinyerp.com-20100216063114-d2crv3zayarq2vk6
2010-02-16 12:01:14 +05:30
Christophe Simonis
1c2210064c
[IMP] sql_db: better logging
...
bzr revid: chs@tinyerp.com-20100204172800-oy6uavhn13osk9x1
2010-02-04 18:28:00 +01:00
Christophe Simonis
fecc3a360d
[FIX] remove the lock on database connections
...
[ADD] exported method check_connectivity
[REF] better logging of the Connection and ConnectionPool objects
[REF] use template0 as template when create new database
bzr revid: chs@tinyerp.com-20100120163913-5ftbs7e85lwqb1et
2010-01-20 17:39:13 +01:00
HDA (OpenERP)
8a887ad4e0
Merged
...
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2010-01-12 16:18:30 +05:30
Fabien Pinckaers
89be98debf
[FIX] multi company, speed improvement
...
bzr revid: fp@tinyerp.com-20091222212036-oeekt3f06k5j0ize
2009-12-22 22:20:36 +01:00
Christophe Simonis
32f239fa6b
[FIX] better locking when accessing to template1 database
...
bzr revid: chs@tinyerp.com-20091208172759-wncaqjguglwgf634
2009-12-08 18:27:59 +01:00
Xavier Morel
cf13b6c36e
[merge] fix-shebang from 5.0 to trunk
...
bzr revid: hmo@tinyerp.com-20091202091102-r509b0bgogyul6yx
bzr revid: xmo@tinyerp.com-20091202101458-6a1mo240grkld6do
2009-12-02 11:14:58 +01:00
Christophe Simonis
e345e91365
[FIX] db_exist method works as expected
...
bzr revid: chs@tinyerp.com-20091201133214-8c6i1ohk5t5u79dz
2009-12-01 14:32:14 +01:00
Christophe Simonis
97413f1eeb
[MERGE] backport from stable
...
lp bug: https://launchpad.net/bugs/488234 fixed
bzr revid: chs@tinyerp.com-20091128001554-9ka8o40104a81bj7
2009-11-28 01:15:54 +01:00
Christophe Simonis
f515209860
[IMP] sql_log
...
bzr revid: chs@tinyerp.com-20091127234726-1k4g37h036x0hy7a
2009-11-28 00:47:26 +01:00
Christophe Simonis
2081fa0959
[FIX] connection pool when database password is provided (thanks to Syleam Crew)
...
lp bug: https://launchpad.net/bugs/488234 fixed
bzr revid: chs@tinyerp.com-20091127231126-lbdmz9i9tm50k8f7
2009-11-28 00:11:26 +01:00
Harry (Open ERP)
dd1d607f3a
[MERGE] merge with master branch
...
bzr revid: hmo@tinyerp.com-20091125070844-1mt6908hm40t03hq
2009-11-25 12:38:44 +05:30
Harry (Open ERP)
d8ce3f1e2a
[FIX] replaced <TAB> with four white space.
...
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
2009-11-24 20:14:05 +05:30
Christophe Simonis
86beb91507
[IMP] better connection pool
...
bzr revid: chs@tinyerp.com-20091123170734-usmmwc5uzoik73hs
2009-11-23 18:07:34 +01:00
Christophe Simonis
3dbbb61c0d
[IMP] better connection pool (global)
...
bzr revid: chs@tinyerp.com-20091123170509-qe5keihqjoa71ppd
2009-11-23 18:05:09 +01:00
xrg
dad1ff955b
[merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts
...
bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-11-20 20:01:04 +05:30
pap(openerp)
251b6720ca
Changed encoding to coding ref: PEP: 0263
...
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP)
4d7134cd99
Changed licencing
...
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
P. Christeas
8558374c2b
Merge branch 'xrg' into optimize
...
Conflicts:
bin/osv/orm.py
bzr revid: p_christ@hol.gr-20090828143403-c48ylvbkzgnimvhr
2009-08-28 17:34:03 +03:00
P. Christeas
e571324ab3
Introduce 'debug2' loglevel, use it for SQL
...
Sometimes we want to debug SQL, not always though.
bzr revid: p_christ@hol.gr-20090814160111-fhw1j4jmx94t2hjv
2009-08-14 19:01:11 +03:00
P. Christeas
400ee151f8
Mark some points where SQL calls need optimize.
...
In particular, calls to ir.translate are done in Python loops. This is
slow.
bzr revid: p_christ@hol.gr-20090726075504-v6qgdyyg9vyaazfr
2009-07-26 10:55:04 +03:00
P. Christeas
0da6edfdf1
Merge commit 'origin/master' into mdv-gpl3-py26
...
Conflicts:
bin/addons/base/res/__init__.py
setup.py
bzr revid: p_christ@hol.gr-20090521212526-1p9xohdfw2p7v9o6
2009-05-22 00:25:26 +03:00
Christophe Simonis
82d17ed77b
[FIX] bug 375361: ensure the db transaction is closed when closing the cursor
...
lp bug: https://launchpad.net/bugs/375361 fixed
bzr revid: christophe@tinyerp.com-20090520150238-w18k3aitqzpmw5nm
2009-05-20 17:02:38 +02:00
P. Christeas
3814e4dc73
Merge commit 'origin/master' into mdv-gpl3-py26
...
Conflicts:
bin/report/interface.py
bin/report/printscreen/ps_list.py
bin/report/render/__init__.py
bin/report/render/rml.py
bin/report/render/rml2pdf/trml2pdf.py
bin/sql_db.py
bzr revid: p_christ@hol.gr-20090506201813-qb71ec85xr08obb1
2009-05-06 23:18:13 +03:00
Jay (Open ERP)
b313d793bc
[FIX] Corrected arguement passed to cursor's execute method(when params=[]
...
bzr revid: jvo@tinyerp.com-20090501120909-4nyzibm3fapkv1rq
2009-05-01 17:39:09 +05:30
Christophe Simonis
82b0474328
[FIX] do not relay on _obj to know if the cursor has been closed
...
lp bug: https://launchpad.net/bugs/330999 fixed
bzr revid: christophe@tinyerp.com-20090428141007-td39oa95wk5h5dt7
2009-04-28 16:10:07 +02:00
P. Christeas
e0da6e16d1
Rewrite previous patch, sane cursor close checks.
...
bzr revid: p_christ@hol.gr-20090420183755-epdfdf6pgd6vc88m
2009-04-20 21:37:55 +03:00
P. Christeas
79d6288671
Major fix for Python 2.6: fix db cursor speed like 2.5
...
In python 2.6, the hasattr() will undergo subclass checks. So, it is
unwise to call it for the "object". That subclass check would overflow
the recursion limit, on each cursor delete operation, which ends up in
wasted CPU (and slow OpenObject responsiveness).
Now, hopefully, OpenObject will run in 2.6 as fast as it ran in 2.5 .
bzr revid: p_christ@hol.gr-20090420172016-1dgiys0cj90efh34
2009-04-20 20:20:16 +03:00
P. Christeas
bba009f639
Merge commit 'origin/master' into mdv-gpl3-py26
...
Conflicts:
bin/netsvc.py
bin/sql_db.py
bin/tools/translate.py
bzr revid: p_christ@hol.gr-20090208175840-xmy5c53ijl3rs1l5
2009-02-08 19:58:40 +02:00
Christophe Simonis
a55983a936
[IMP] bad queries are logged in debug mode (log also the exception)
...
bzr revid: christophe@tinyerp.com-20090204110144-jjbt9a4itmt2vwi5
2009-02-04 12:01:44 +01:00
P. Christeas
1d4bc47020
Merge commit 'origin/master' into mdv-gpl3-py26
...
Conflicts:
bin/addons/__init__.py
bzr revid: p_christ@hol.gr-20090201163859-3b46agdb2wcoe37g
2009-02-01 18:38:59 +02:00
Christophe Simonis
9c721d3090
[FIX] database connections aren't serialized by default
...
lp bug: https://launchpad.net/bugs/314449 fixed
bzr revid: christophe@taupe-20090131183618-pglu86hzq3ewsfxi
2009-01-31 19:36:18 +01:00
Stephane Wirtel
90dea28166
[REV] Revert code for the hostname and the dump
...
bzr revid: stephane@tinyerp.com-20090129133946-l05fi1j8rou9tqyn
2009-01-29 14:39:46 +01:00
Stephane Wirtel
e76c454794
[FIX] Don't use the hostname if it is in ('127.0.0.1', 'localhost')
...
lp bug: https://launchpad.net/bugs/319190 fixed
bzr revid: stephane@tinyerp.com-20090129002310-75wuum4qpx5s8ac4
2009-01-29 01:23:10 +01:00
P. Christeas
1f6278b32c
Merge branch 'master' of openobject-server into mdv-gpl3-py26
...
Conflicts:
bin/addons/base/ir/ir.xml
bin/osv/orm.py
bin/sql_db.py
bin/tools/config.py
bzr revid: p_christ@hol.gr-20090122175910-4apjfo1p7iokatm6
2009-01-22 19:59:10 +02:00
Christophe Simonis
2b6c38d36f
[IMP] log queries that fail
...
bzr revid: christophe@tinyerp.com-20090122161549-oo1boehunmtdiw7k
2009-01-22 17:15:49 +01:00
Stephane Wirtel
a875a71408
[IMP] Improve the speed - Use the inspect module only if we specify the debug log level
...
bzr revid: stephane@tinyerp.com-20090119224840-j0yqyaw30tzfrc78
2009-01-19 23:48:40 +01:00
P. Christeas
b8d5eac277
Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3-py26
...
Conflicts:
bin/tools/translate.py
bzr revid: p_christ@hol.gr-20090114075916-feh0125soh9euu1h
2009-01-14 09:59:16 +02:00
Stephane Wirtel
976adfa665
[IMP] Remove print statement
...
bzr revid: stephane@tinyerp.com-20090113010107-wdev3dd4qftoafj3
2009-01-13 02:01:07 +01:00
Christophe Simonis
9aa2c5fb5c
[FIX] delete the connection pool to template1 when finished
...
[IMP] sql_db.db_connect does not take the 'serialize' parameter anymore
lp bug: https://launchpad.net/bugs/314973 fixed
bzr revid: christophe@tinyerp.com-20090112094020-6l1hdgp5oflengl6
2009-01-12 10:40:20 +01:00
P. Christeas
3487f659ec
Always print SQL counters.
...
bzr revid: p_christ@hol.gr-20090106131746-mwdgfx2l1z9hd02b
2009-01-06 15:17:46 +02:00
P. Christeas
1435d6d064
Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3
...
bzr revid: p_christ@hol.gr-20090106094017-i26aufnjth5am64m
2009-01-06 11:40:17 +02:00
Christophe Simonis
5a20219f9b
[IMP] improve cache system
...
[FIX] cache now take in account default parameters
[IMP] new way to clear the cache
[FIX] clearing the cache is now made by database
bzr revid: christophe@tinyerp.com-20090105211746-o1fapuu319ozi7nv
2009-01-05 22:17:46 +01:00
Stephane Wirtel
9d293d1f00
[IMP] Update the copyright to 2009
...
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2009-01-04 23:13:29 +01:00