Commit ID 215194040d89d27f8e747fe8d24eefd4d41f778b
|
|
Contributor: | Mikhail «dottedmag» Gusarov as Mikhail Gusarov |
Files Modified: | 19 |
| Date: | 14-March-2012 at 12:13 | Lines Added: | 1098 | |
| Repository: | git://github.com/cfengine/core.git master | Lines Removed: | 854 | |
| Commit Comment: | Redesign DB API to take into account multi-threading * Introduce "database id" in order to share open database handles between threads. - Mediate open/close DB procedures through properly locked table of open databases. - Avoid construction of database filenames all over the code. * Strictly split generic DB code and implementation. - Introduce fine-grained locks where needed. Largely based on work by Eystein. |
|||
| Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| C | 821 | 505 | 121 | 96 | 142 | 76 | |
| Automake | 7 | 6 | 0 | 0 | 1 | 0 | |
| shell script | 4 | 0 | 1 | 0 | 1 | 0 | |
| C++ | 0 | 130 | 0 | 10 | 0 | 31 | |
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|---|
| .gitignore | No source code was detected in this file. | |||||||
| src/cf3.extern.h | C | 0 | 2 | 0 | 0 | 0 | 0 | |
| src/cf3globals.c | C | 0 | 2 | 0 | 0 | 0 | 1 | |
| src/cf.defs.h | C++ | 0 | 78 | 0 | 6 | 0 | 23 | |
| src/dbm_api.c | C | 128 | 213 | 14 | 34 | 0 | 19 | |
| src/dbm_api.h | C | 48 | 0 | 26 | 0 | 13 | 0 | |
| src/dbm_priv.h | C | 21 | 0 | 23 | 0 | 17 | 0 | |
| src/dbm_quick.c | C | 174 | 101 | 16 | 15 | 0 | 15 | |
| src/dbm_sqlite3.h | C | 0 | 17 | 0 | 18 | 0 | 9 | |
| src/dbm_tokyocab.c | C | 134 | 109 | 28 | 28 | 0 | 14 | |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.