Changeset 647 for trunk/server/lib/tdb/common/tdb.c
- Timestamp:
- Nov 2, 2011, 7:24:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/tdb/common/tdb.c
r414 r647 923 923 924 924 tdb_trace(tdb, "tdb_repack"); 925 TDB_LOG((tdb, TDB_DEBUG_TRACE, "@remove me: repack enter\n")); 925 926 926 927 if (tdb_transaction_start(tdb) != 0) { … … 928 929 return -1; 929 930 } 931 TDB_LOG((tdb, TDB_DEBUG_TRACE, "@remove me: nach start\n")); 930 932 931 933 tmp_db = tdb_open("tmpdb", tdb_hash_size(tdb), TDB_INTERNAL, O_RDWR|O_CREAT, 0); … … 935 937 return -1; 936 938 } 939 TDB_LOG((tdb, TDB_DEBUG_TRACE, "@remove me: nach tmp open\n")); 937 940 938 941 state.error = false; … … 945 948 return -1; 946 949 } 950 TDB_LOG((tdb, TDB_DEBUG_TRACE, "@remove me: nach travers\n")); 947 951 948 952 if (state.error) { … … 959 963 return -1; 960 964 } 965 TDB_LOG((tdb, TDB_DEBUG_TRACE, "@remove me: nach wipe\n")); 961 966 962 967 state.error = false; … … 969 974 return -1; 970 975 } 976 TDB_LOG((tdb, TDB_DEBUG_TRACE, "@remove me: nach read\n")); 971 977 972 978 if (state.error) { … … 978 984 979 985 tdb_close(tmp_db); 986 TDB_LOG((tdb, TDB_DEBUG_TRACE, "@remove me: nach close\n")); 980 987 981 988 if (tdb_transaction_commit(tdb) != 0) {
Note:
See TracChangeset
for help on using the changeset viewer.