Richard Purdie
|
d0f904d407
bitbake: Convert to python 3
|
8 years ago |
Klauer, Daniel
|
09623a0811
persist_data: Return str instead of unicode for sqlite3 text queries
|
8 years ago |
Richard Purdie
|
ec28256ac2
persist_data: Avoid fsync() calls
|
10 years ago |
Constantin Musca
|
6ee1f58698
persist_data: add get_by_pattern method to API
|
11 years ago |
Christopher Larson
|
e870fd57bb
persist_data: survive if sqlite3 couldn't enable the shared cache
|
12 years ago |
Lianhao Lu
|
b310382764
bitbake/persist_data: Reconnect when DB is locked
|
12 years ago |
Richard Purdie
|
9f7978ca4d
Update users of getVar/setVar to use the data store functions directly
|
12 years ago |
Richard Purdie
|
cd80d7f201
persist_data: Add back code to retry in the case of locked database errors
|
13 years ago |
Chris Larson
|
1190406c52
persist_data: implement comparison, same as dict
|
13 years ago |
Chris Larson
|
d6fba8bad6
persist_data: make SQLTable a context manager
|
13 years ago |
Chris Larson
|
28958cd55e
persist_data: don't allow non-string keys/values
|
13 years ago |
Chris Larson
|
7942833ca0
persist_data: add has_key
|
13 years ago |
Chris Larson
|
a4f6243384
persist_data: raise KeyError on missing elements
|
13 years ago |
Chris Larson
|
f229824dc9
Initial work on getting bitbake working under pypy
|
13 years ago |
Chris Larson
|
67a55a6b45
Enable some DeprecationWarnings
|
13 years ago |
Chris Larson
|
01d12f4f96
persist_data: handle lock in sqlite and use the shared cache
|
13 years ago |
Chris Larson
|
34c7ff67d7
persist_data: drop SQLData indirection
|
13 years ago |
Chris Larson
|
c197043717
persist_data: use better items/values methods for SQLTable
|
13 years ago |
Chris Larson
|
7486b38603
persist_data: kill unreachable break line
|
13 years ago |
Chris Larson
|
d93fcbd64a
persist_data: loop on database lock for table creation
|
13 years ago |
Richard Purdie
|
e2a39605e3
persist_data: Don't loop forever waiting on database locks
|
13 years ago |
Chris Larson
|
c58ffedd14
persist_data: unbork the resurrect of select lock wait
|
13 years ago |
Chris Larson
|
628c5159d1
persist_data: resurrect the lock wait for selects
|
13 years ago |
Chris Larson
|
d9e8b8af30
Rework the persist_data API
|
13 years ago |
Chris Larson
|
60b9b18eaf
Revert "persist_data: cache connection and use cursor"
|
13 years ago |
Chris Larson
|
b3d5432cff
persist_data: handle locked db for SELECT
|
13 years ago |
Chris Larson
|
3b2c1fe5ca
Switch bitbake internals to use logging directly rather than bb.msg
|
14 years ago |
Bernhard Reutner-Fischer
|
8a6876752b
persist_data: cache connection and use cursor
|
14 years ago |
Chris Larson
|
d39ab776e7
Apply some 2to3 transforms that don't cause issues in 2.6
|
14 years ago |
Chris Larson
|
ddea2978cb
Switch some references to moved functions
|
14 years ago |