angelblue05
|
6d0b2b96bc
|
Change DatabaseConn to return the cursor instead
|
2016-11-07 17:32:40 -06:00 |
|
angelblue05
|
fed57ef56b
|
remove unused import
|
2016-11-07 08:36:32 -06:00 |
|
angelblue05
|
aab9750b40
|
Move method to embydb
to avoid opening a new db conn
|
2016-11-06 14:49:37 -06:00 |
|
shaun
|
904860031d
|
add conn id to log
use import database and full name space to access DatabaseCon class
|
2016-11-06 20:34:27 +11:00 |
|
angelblue05
|
5b6a53f58b
|
Update views.py
|
2016-11-05 16:39:01 -05:00 |
|
shaun
|
881b3f8e70
|
use new DatabaseCon context class
|
2016-11-05 13:19:57 +11:00 |
|
shaun
|
b3214a9250
|
use new DatabaseCon context object for play websocket play actions
|
2016-11-05 11:31:40 +11:00 |
|
shaun
|
d3ce04ab10
|
move DB reset function to the databse file
use the new DB connection context for all DB reset actions
|
2016-11-05 11:15:28 +11:00 |
|
shaun
|
a763cd37c9
|
use with to close cursor
use settings for isolation in connect
dont re raise the exception in the __exit__
|
2016-11-05 09:19:28 +11:00 |
|
angelblue05
|
9783b5aec2
|
Update database.py
|
2016-11-04 12:13:07 -05:00 |
|
angelblue05
|
e9fb760fa3
|
Only rollback for database locked
raise error for everything else, we should put in place a file that will
keep itemids we had to rollback on. To review later.
|
2016-11-04 06:45:39 -05:00 |
|
angelblue05
|
ee80e2c763
|
Only commit db when changes
|
2016-11-04 06:39:49 -05:00 |
|
angelblue05
|
4f7c63d5df
|
Raise errors other than database is locked
Remove old code
|
2016-11-04 05:03:44 -05:00 |
|
angelblue05
|
e06f138d5d
|
Update database.py
|
2016-11-04 01:28:02 -05:00 |
|
angelblue05
|
11af93ccc2
|
Update database commit
|
2016-11-03 23:45:37 -05:00 |
|
angelblue05
|
d0ea742904
|
Update database prep
|
2016-11-03 20:38:01 -05:00 |
|
angelblue05
|
df5d309dc5
|
Database prep
|
2016-11-03 20:36:05 -05:00 |
|