Find problem in eXtremeDB
来源:互联网 发布:管家婆普及版数据恢复 编辑:程序博客网 时间:2024/05/19 05:40
class table1
{
char<8> f1;
char<80> f2;
uint4 f3;
uint4 f4;
double f5;
uint4 f6;
uniquetree<f1,f2> Idx1;
tree<f6>Idx2;
};
Steps:
step1:find(Idx1=(a,b)),find the records;
step2:put(f6,c);
step3:find(Idx1=(a,b)),did not find the record instep 1.
The record should be there, what happened when the putmethod is used, the index is changed after _put method?
If a class has one or more indexes, thenthe field(s) on which the index is defined
will have an index component (hash tableentry or tree node) in addition to the
actual field value. The index component isnot updated when the field’s _put()
function is called, but rather when theREAD_WRITE transaction containing this
update is committed. Or, alternatively, a_checkpoint() function can be called
to explicitly update the index componentsfor this object. The _checkpoint()
function completes the object’s update before the transaction is committed,
however if the application decides to rollback the current transaction, all the
updates for the object including indexcomponents are discarded. (Committing a
transaction implicitly checkpoints all theobjects created, updated or deleted in the
transaction.)
Updating f6causes the object to be removed from all indexes. Using _checkpoint()after _put() is the correct approach.
- Find problem in eXtremeDB
- eXtremeDB Compile --cannot find lpthread
- errror 3715 in eXtremeDB 3.5
- eXtremeDB trial running in Java
- "select ... for update" in eXtremeDB
- access eXtremedb in JNI Through SQL
- use limit to replace top in eXtremeDB
- problem of samba in FC4! (could find path)
- eXtremeDB shared memory using in Unix-based OS or Windows
- HOW TO: Find the Problem Exception Stack When You Receive an UnhandledExceptionFilter Call in the St
- HOW TO: Find the Problem Exception Stack When You Receive an UnhandledExceptionFilter Call in the St
- CF Find the problem
- Problem G: Find The Difference
- Problem 389. Find the Difference
- 关于extremedb
- eXtremeDB-64
- eXtremeDB XML
- eXtremeDB locking
- C - Sudoku+dfs
- 多级代理下Nginx获取真实用户IP地址的总结
- D - Lake Counting-dfs
- SharedPreferences 保存字符串数组
- 规则 3.1:对象命名汇总表(3)
- Find problem in eXtremeDB
- E - Children of the Candy Corn`特别DFS+BFS+DFS陷阱
- F - Catch That Cow-BFS-只计次不求路径
- G - Dungeon MasterBFS+填路
- java IO详解看完你就懂了耐心点。
- Node入门之一
- UITableableview上拉下拉刷新
- 迷宫BFS+递归回溯找爹打印路径
- hihoCoder 二分·二分查找之k小数