33 myIdentity(*myIdentityArg)
42 int64_t builtincmd = 0;
104 fprintf(
logfile,
"Engine bad schema builtin %li %s %i\n",
105 builtincmd, __FILE__, __LINE__);
119 msgrcvRef.transactionStruct.transactionid,
120 msgrcvRef.transactionStruct.domainid,
155 printf(
"%s %i Engine bad topic %i\n", __FILE__, __LINE__,
260 printf(
"%s %i anomaly should not be an existing rowid %li\n",
261 __FILE__, __LINE__, record.
rowid);
276 printf(
"%s %i anomaly should be an existing rowid %li\n", __FILE__,
277 __LINE__, record.
rowid);
281 if (tableRef.
rows[record.
rowid]->previoussubtransactionid !=
301 if (tableRef.
rows[record.
rowid]->previoussubtransactionid !=
313 printf(
"%s %i anomaly primitive %i\n", __FILE__, __LINE__,
338 vector<int64_t> v(2);
341 indexRef.
nulls.insert(v);
346 vector<int64_t> v(2);
350 if (!indexRef.
nulls.count(v))
355 indexRef.
nulls.erase(v);
367 subtransactionid)==
false)
412 vector<int64_t> v(2);
415 indexRef.
nulls.insert(v);
420 vector<int64_t> v(2);
424 if (!indexRef.
nulls.count(v))
429 indexRef.
nulls.erase(v);
501 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
512 pair<multimap<int64_t, nonLockingIndexEntry_s>::iterator,
513 multimap<int64_t, nonLockingIndexEntry_s>::iterator>
515 nonuniqueIntMap::iterator it;
520 for (it=iteratorRange.first; it != iteratorRange.second; it++)
522 if (it->second.rowid==indexinfo.
entry.
rowid &&
536 pair<multimap<uint64_t, nonLockingIndexEntry_s>::iterator,
537 multimap<uint64_t, nonLockingIndexEntry_s>::iterator>
539 nonuniqueUintMap::iterator it;
544 for (it=iteratorRange.first; it != iteratorRange.second; it++)
546 if (it->second.rowid==indexinfo.
entry.
rowid &&
560 pair<multimap<bool, nonLockingIndexEntry_s>::iterator,
561 multimap<bool, nonLockingIndexEntry_s>::iterator>
563 nonuniqueBoolMap::iterator it;
568 for (it=iteratorRange.first; it != iteratorRange.second; it++)
570 if (it->second.rowid==indexinfo.
entry.
rowid &&
584 pair<multimap<long double, nonLockingIndexEntry_s>::iterator,
585 multimap<long double, nonLockingIndexEntry_s>::iterator>
587 nonuniqueFloatMap::iterator it;
592 for (it=iteratorRange.first; it != iteratorRange.second; it++)
594 if (it->second.rowid==indexinfo.
entry.
rowid &&
608 pair<multimap<char, nonLockingIndexEntry_s>::iterator,
609 multimap<char, nonLockingIndexEntry_s>::iterator>
611 nonuniqueCharMap::iterator it;
616 for (it=iteratorRange.first; it != iteratorRange.second; it++)
618 if (it->second.rowid==indexinfo.
entry.
rowid &&
632 pair<multimap<string, nonLockingIndexEntry_s>::iterator,
633 multimap<string, nonLockingIndexEntry_s>::iterator>
635 nonuniqueStringMap::iterator it;
640 for (it=iteratorRange.first; it != iteratorRange.second; it++)
642 if (it->second.rowid==indexinfo.
entry.
rowid &&
656 pair<multimap<string, nonLockingIndexEntry_s>::iterator,
657 multimap<string, nonLockingIndexEntry_s>::iterator>
659 nonuniqueStringMap::iterator it;
664 for (it=iteratorRange.first; it != iteratorRange.second; it++)
666 if (it->second.rowid==indexinfo.
entry.
rowid &&
679 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
694 for (
size_t n=0; n < inmsg.
rows.size(); n++)
697 inmsg.
rows[n])==
false)
703 for (
size_t n=0; n < inmsg.
indices.size(); n++)
716 inmsg.applyStruct.applierid, -1, STATUS_OK);
722 map<int64_t, background_s>::iterator itb;
728 vector<MessageDispatch::record_s>::iterator itr;
730 for (itr = bref.
rows.begin(); itr != bref.
rows.end(); itr++)
732 if (
applyItem(itb->first, schemaRef, *itr)==
true)
734 bref.
rows.erase(itr);
738 vector<MessageApply::applyindex_s>::iterator iti;
740 for (iti = bref.
indices.begin(); iti != bref.
indices.end(); iti++)
742 if (
applyItem(itb->first, schemaRef, *iti)==
true)