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
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
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
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
Christophe Simonis
3dbbb61c0d
[IMP] better connection pool (global)
...
bzr revid: chs@tinyerp.com-20091123170509-qe5keihqjoa71ppd
2009-11-23 18:05:09 +01: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
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
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
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
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
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
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
Christophe Simonis
3c16899b99
[IMP] PoolManager: use class methods instead of static methods
...
bzr revid: christophe@taupe-20081226101741-noqnp5agvi0nxsu1
2008-12-26 11:17:41 +01:00
Christophe Simonis
ca93318a77
[FIX] restarting a non started pool does not crash anymore
...
[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-24 01:24:18 +01:00
Stephane Wirtel
d6ee7843dc
[REF] Move the drop_view_if_exists
...
bzr revid: stephane@tinyerp.com-20081222084150-b0xeatlbnmpyhwkr
2008-12-22 09:41:50 +01:00
Christophe Simonis
f16bd3f97e
[MERGE]
...
bzr revid: christophe@cobalt-20081219194725-43cy82scvaiwbnbo
2008-12-19 20:47:25 +01:00
Fabien Pinckaers
395071a27e
improvement
...
bzr revid: fp@tinyerp.com-20081219192528-qwx4qwgfu1fab10c
2008-12-19 20:25:28 +01:00
Christophe Simonis
654f03f72a
[IMP] Track where a cursor is created when this cursor is not closed explicitly
...
[IMP] do not reformat the parameters, allowing to pass dict as parameters
bzr revid: christophe@cobalt-20081219192149-pzg3xaygvbhc111x
2008-12-19 20:21:49 +01:00
Stephane Wirtel
d8727111a6
[IMP] Use the Cursor from sql_db
...
bzr revid: stephane@tinyerp.com-20081218161319-bo4jn6ouum0qy32y
2008-12-18 17:13:19 +01:00
Stephane Wirtel
f510071f6b
[IMP] Add the drop_view_if_exists method
...
lp bug: https://launchpad.net/bugs/309331 fixed
bzr revid: stephane@tinyerp.com-20081218140232-828mryrisecwxs3v
2008-12-18 15:02:32 +01:00
Stephane Wirtel
3fb0723abd
[FIX]
...
bzr revid: stephane@tinyerp.com-20081218091342-ye0b53mnykogrzz9
2008-12-18 10:13:42 +01:00
Christophe Simonis
b53c23bce0
[FIX] fix python2.4 compatibility
...
bzr revid: christophe@cobalt-20081218090701-n7acd0nmsilygkjy
2008-12-18 10:07:01 +01:00
Jay Vora
985b7f8c1d
Bugfix:Drop DB
...
bzr revid: jvo@tinyerp.com-20081217062007-ic0cbclkn602ewtt
2008-12-17 11:50:07 +05:30
Christophe Simonis
63f6d4e24e
[IMP] downgrade the logging level to ERROR when the server cannot connect to the database
...
bzr revid: christophe@cobalt-20081216111636-ahigto4u7l2kueeo
2008-12-16 12:16:36 +01:00
Christophe Simonis
be2a0a76bb
[FIX] the database connectin pool generate at least one connection to ensure earliest that the database is reachable
...
bzr revid: christophe@cobalt-20081215153616-dyb7xj771tzj5de1
2008-12-15 16:36:16 +01:00
Christophe Simonis
85c8b304bf
[FIX] fix a stupid bug in database closing method
...
lp bug: https://launchpad.net/bugs/308084 fixed
bzr revid: christophe@cobalt-20081215150835-d4rkvaf35m1gbyj6
2008-12-15 16:08:35 +01:00
Mantavya Gajjar
c0e1fc3452
merginf from the trunk
...
bzr revid: mga@tinyerp.com-20081215123034-1gnqhxeteza8e183
2008-12-15 18:00:34 +05:30
Fabien Pinckaers
8cb88b6054
improvements_bugfixes
...
bzr revid: fp@tinyerp.com-20081214164647-hku6dlqkd65fe8ry
2008-12-14 17:46:47 +01:00
Christophe Simonis
43f0fffd07
[FIX] free the database connecion in all cases
...
lp bug: https://launchpad.net/bugs/307069 fixed
bzr revid: christophe@tinyerp.com-20081212132416-4kt1xh9nmka7r6a1
2008-12-12 14:24:16 +01:00
Christophe Simonis
a9e7204533
[FIX] fix bug with functools on python 2.4
...
bzr revid: christophe@tinyerp.com-20081212114945-jh7djsx6dv8sr1kh
2008-12-12 12:49:45 +01:00
Christophe Simonis
6706f6b07b
[IMP] check that the cursor has not been closed before execute a query
...
[REF] refactor the debug logging of the queries
bzr revid: christophe@tinyerp.com-20081212105927-k9zet8xd2ubj5a4j
2008-12-12 11:59:27 +01:00
Stephane Wirtel
cbf2dee7c7
[FIX] The second parameter of the map function must support iteration
...
lp bug: https://launchpad.net/bugs/307284 fixed
bzr revid: stephane@tinyerp.com-20081211222801-343rhnfmr21fw7le
2008-12-11 23:28:01 +01:00
Christophe Simonis
c0152f5fcf
[FIX] If an error occurs when dropping the database, raise a normal exception (that can be pickle)
...
lp bug: https://launchpad.net/bugs/307069 fixed
bzr revid: christophe@tinyerp.com-20081211112248-ljibz77ey2jkjtjd
2008-12-11 12:22:48 +01:00
Christophe Simonis
822da77ee6
[FIX] psycopg2: convert types & update web_services
...
bzr revid: christophe@tinyerp.com-20081209133132-wn7v8d2qyo3cv6x5
2008-12-09 14:31:32 +01:00
Christophe Simonis
299627a144
[IMP] use psycopg2 instead of psycopg1
...
bzr revid: christophe@tinyerp.com-20081208140342-qstsqxm0xr5rppzz
2008-12-08 15:03:42 +01:00
Christophe Simonis
e404e54e38
passing in GPL-3
...
bzr revid: christophe@tinyerp.com-20081103182716-6c6xyeewubx4uas0
2008-11-03 19:27:16 +01:00
Jay Vora
e26e2062b5
Accepted Uppercase DB names and displayed on terminal
...
bzr revid: jvo@tinyerp.com-20080911072945-jwo9wscd8ko66av9
2008-09-11 12:59:45 +05:30
Fabien Pinckaers
840e3c1082
Remove print statement
...
bzr revid: fp@tinyerp.com-20080819225329-15vnv8wvxa4qekml
2008-08-20 00:53:29 +02:00
Fabien Pinckaers
a7b0cfd6f5
Fix From C2C:
...
~c2c/openobject-server/openobject-server-log-bug
Bugfixes in Expression
bzr revid: fp@tinyerp.com-20080819225254-6gg6j2dalz666oti
2008-08-20 00:52:54 +02:00
Fabien Pinckaers
d88fb99fe4
Speed Improvement:
...
Nested Trees
New Domains Bugfixes
Compute multiple function fields at once (multi)
bzr revid: fp@tinyerp.com-20080817182829-dc60s4srja6ck0bw
2008-08-17 20:28:29 +02:00
Fabien Pinckaers
61d07d0771
Bugfixes
...
bzr revid: fp@tinyerp.com-20080816163006-aspcc7f5dmv0g4ri
2008-08-16 18:30:06 +02:00
Christophe Simonis
b36e23d0a3
move, rename and refactor use of ID_MAX
...
bzr revid: christophe@tinyerp.com-20080805083945-cd3y7gki5v6gnu6p
2008-08-05 10:39:45 +02:00