summaryrefslogtreecommitdiff
path: root/bin/sql_db.py
AgeCommit message (Collapse)Author
2010-01-12MergedHDA (OpenERP)
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2009-12-22[FIX] multi company, speed improvementFabien Pinckaers
bzr revid: fp@tinyerp.com-20091222212036-oeekt3f06k5j0ize
2009-12-08[FIX] better locking when accessing to template1 databaseChristophe Simonis
bzr revid: chs@tinyerp.com-20091208172759-wncaqjguglwgf634
2009-12-02[merge] fix-shebang from 5.0 to trunkXavier Morel
bzr revid: hmo@tinyerp.com-20091202091102-r509b0bgogyul6yx bzr revid: xmo@tinyerp.com-20091202101458-6a1mo240grkld6do
2009-12-01[FIX] db_exist method works as expectedChristophe Simonis
bzr revid: chs@tinyerp.com-20091201133214-8c6i1ohk5t5u79dz
2009-11-28[MERGE] backport from stableChristophe Simonis
lp bug: https://launchpad.net/bugs/488234 fixed bzr revid: chs@tinyerp.com-20091128001554-9ka8o40104a81bj7
2009-11-28[IMP] sql_logChristophe Simonis
bzr revid: chs@tinyerp.com-20091127234726-1k4g37h036x0hy7a
2009-11-28[FIX] connection pool when database password is provided (thanks to Syleam Crew)Christophe Simonis
lp bug: https://launchpad.net/bugs/488234 fixed bzr revid: chs@tinyerp.com-20091127231126-lbdmz9i9tm50k8f7
2009-11-25[MERGE] merge with master branchHarry (Open ERP)
bzr revid: hmo@tinyerp.com-20091125070844-1mt6908hm40t03hq
2009-11-24[FIX] replaced <TAB> with four white space.Harry (Open ERP)
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
2009-11-23[IMP] better connection poolChristophe Simonis
bzr revid: chs@tinyerp.com-20091123170734-usmmwc5uzoik73hs
2009-11-23[IMP] better connection pool (global)Christophe Simonis
bzr revid: chs@tinyerp.com-20091123170509-qe5keihqjoa71ppd
2009-11-20[merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some ↵xrg
confilts bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-10-20Changed encoding to coding ref: PEP: 0263pap(openerp)
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-14Changed licencingPSO(OpenERP)
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-08-28Merge branch 'xrg' into optimizeP. Christeas
Conflicts: bin/osv/orm.py bzr revid: p_christ@hol.gr-20090828143403-c48ylvbkzgnimvhr
2009-08-14Introduce 'debug2' loglevel, use it for SQLP. Christeas
Sometimes we want to debug SQL, not always though. bzr revid: p_christ@hol.gr-20090814160111-fhw1j4jmx94t2hjv
2009-07-26Mark some points where SQL calls need optimize.P. Christeas
In particular, calls to ir.translate are done in Python loops. This is slow. bzr revid: p_christ@hol.gr-20090726075504-v6qgdyyg9vyaazfr
2009-05-22Merge commit 'origin/master' into mdv-gpl3-py26P. Christeas
Conflicts: bin/addons/base/res/__init__.py setup.py bzr revid: p_christ@hol.gr-20090521212526-1p9xohdfw2p7v9o6
2009-05-20[FIX] bug 375361: ensure the db transaction is closed when closing the cursorChristophe Simonis
lp bug: https://launchpad.net/bugs/375361 fixed bzr revid: christophe@tinyerp.com-20090520150238-w18k3aitqzpmw5nm
2009-05-06Merge commit 'origin/master' into mdv-gpl3-py26P. Christeas
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-01[FIX] Corrected arguement passed to cursor's execute method(when params=[]Jay (Open ERP)
bzr revid: jvo@tinyerp.com-20090501120909-4nyzibm3fapkv1rq
2009-04-28[FIX] do not relay on _obj to know if the cursor has been closedChristophe Simonis
lp bug: https://launchpad.net/bugs/330999 fixed bzr revid: christophe@tinyerp.com-20090428141007-td39oa95wk5h5dt7
2009-04-20Rewrite previous patch, sane cursor close checks.P. Christeas
bzr revid: p_christ@hol.gr-20090420183755-epdfdf6pgd6vc88m
2009-04-20Major fix for Python 2.6: fix db cursor speed like 2.5P. Christeas
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-02-08Merge commit 'origin/master' into mdv-gpl3-py26P. Christeas
Conflicts: bin/netsvc.py bin/sql_db.py bin/tools/translate.py bzr revid: p_christ@hol.gr-20090208175840-xmy5c53ijl3rs1l5
2009-02-04[IMP] bad queries are logged in debug mode (log also the exception)Christophe Simonis
bzr revid: christophe@tinyerp.com-20090204110144-jjbt9a4itmt2vwi5
2009-02-01Merge commit 'origin/master' into mdv-gpl3-py26P. Christeas
Conflicts: bin/addons/__init__.py bzr revid: p_christ@hol.gr-20090201163859-3b46agdb2wcoe37g
2009-01-31[FIX] database connections aren't serialized by defaultChristophe Simonis
lp bug: https://launchpad.net/bugs/314449 fixed bzr revid: christophe@taupe-20090131183618-pglu86hzq3ewsfxi
2009-01-29[REV] Revert code for the hostname and the dumpStephane Wirtel
bzr revid: stephane@tinyerp.com-20090129133946-l05fi1j8rou9tqyn
2009-01-29[FIX] Don't use the hostname if it is in ('127.0.0.1', 'localhost')Stephane Wirtel
lp bug: https://launchpad.net/bugs/319190 fixed bzr revid: stephane@tinyerp.com-20090129002310-75wuum4qpx5s8ac4
2009-01-22Merge branch 'master' of openobject-server into mdv-gpl3-py26P. Christeas
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[IMP] log queries that failChristophe Simonis
bzr revid: christophe@tinyerp.com-20090122161549-oo1boehunmtdiw7k
2009-01-19[IMP] Improve the speed - Use the inspect module only if we specify the ↵Stephane Wirtel
debug log level bzr revid: stephane@tinyerp.com-20090119224840-j0yqyaw30tzfrc78
2009-01-14Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into ↵P. Christeas
mdv-gpl3-py26 Conflicts: bin/tools/translate.py bzr revid: p_christ@hol.gr-20090114075916-feh0125soh9euu1h
2009-01-13[IMP] Remove print statementStephane Wirtel
bzr revid: stephane@tinyerp.com-20090113010107-wdev3dd4qftoafj3
2009-01-12[FIX] delete the connection pool to template1 when finishedChristophe Simonis
[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-06Always print SQL counters.P. Christeas
bzr revid: p_christ@hol.gr-20090106131746-mwdgfx2l1z9hd02b
2009-01-06Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into ↵P. Christeas
mdv-gpl3 bzr revid: p_christ@hol.gr-20090106094017-i26aufnjth5am64m
2009-01-05[IMP] improve cache systemChristophe Simonis
[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-04[IMP] Update the copyright to 2009Stephane Wirtel
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2008-12-28Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into ↵P. Christeas
mdv-gpl3 Conflicts: bin/addons/base/ir/ir_actions.py bin/report/interface.py bin/tools/config.py bzr revid: p_christ@hol.gr-20081228102522-po9ix8j0l6f5akxp
2008-12-26[IMP] PoolManager: use class methods instead of static methodsChristophe Simonis
bzr revid: christophe@taupe-20081226101741-noqnp5agvi0nxsu1
2008-12-24[FIX] restarting a non started pool does not crash anymoreChristophe Simonis
[FIX] when creating a database, the pool is restarted [FIX] when dropping a database, the caches are cleaned [IMP] add an option to specify the default cache timeout lp bug: https://launchpad.net/bugs/310986 fixed bzr revid: christophe@taupe-20081224002418-7pf9ctdzcl8ygvs7
2008-12-23Merge branch 'master' of openobject-server into mdv-gpl3-fwdP. Christeas
Conflicts: bin/netsvc.py bin/sql_db.py bin/ssl/SecureXMLRPCServer.py (note: fixes are lost now) bzr revid: p_christ@hol.gr-20081223154608-fs0830k7vyo81m5u
2008-12-22[REF] Move the drop_view_if_existsStephane Wirtel
bzr revid: stephane@tinyerp.com-20081222084150-b0xeatlbnmpyhwkr
2008-12-19[MERGE]Christophe Simonis
bzr revid: christophe@cobalt-20081219194725-43cy82scvaiwbnbo
2008-12-19improvementFabien Pinckaers
bzr revid: fp@tinyerp.com-20081219192528-qwx4qwgfu1fab10c
2008-12-19[IMP] Track where a cursor is created when this cursor is not closed explicitlyChristophe Simonis
[IMP] do not reformat the parameters, allowing to pass dict as parameters bzr revid: christophe@cobalt-20081219192149-pzg3xaygvbhc111x
2008-12-18Merge commit 'origin/master' into mdv-gpl3-fwdP. Christeas
Conflicts: bin/addons/base/ir/ir_actions.py bin/netsvc.py bin/report/report_sxw.py bin/tools/translate.py bzr revid: p_christ@hol.gr-20081218164925-uarehzvo3ocu0x2w