index edge under all schema indices
| 556 | |
| 557 | // index edge under all schema indices |
| 558 | void Schema_AddEdgeToIndices |
| 559 | ( |
| 560 | const Schema *s, |
| 561 | const Edge *e |
| 562 | ) { |
| 563 | ASSERT(s != NULL); |
| 564 | ASSERT(e != NULL); |
| 565 | |
| 566 | Index idx = NULL; |
| 567 | |
| 568 | idx = ACTIVE_EXACTMATCH_IDX(s); |
| 569 | if(idx != NULL) Index_IndexEdge(idx, e); |
| 570 | |
| 571 | idx = PENDING_EXACTMATCH_IDX(s); |
| 572 | if(idx != NULL) Index_IndexEdge(idx, e); |
| 573 | } |
| 574 | |
| 575 | // remove node from schema indicies |
| 576 | void Schema_RemoveNodeFromIndices |
no test coverage detected