32 maptype (
Nomaptype), notNull (true), isunique (true),
34 nonuniqueIntIndex (NULL), unorderedIntIndex (NULL),
35 uniqueUintIndex (NULL), nonuniqueUintIndex (NULL),
36 unorderedUintIndex (NULL), uniqueBoolIndex (NULL),
37 nonuniqueBoolIndex (NULL), unorderedBoolIndex (NULL),
38 uniqueFloatIndex (NULL), nonuniqueFloatIndex (NULL),
39 unorderedFloatIndex (NULL), uniqueCharIndex (NULL),
40 nonuniqueCharIndex (NULL), unorderedCharIndex (NULL),
41 uniqueStringIndex (NULL), nonuniqueStringIndex (NULL),
42 unorderedStringIndex (NULL), intIndexShadow (NULL),
43 uintIndexShadow (NULL), boolIndexShadow (NULL),
44 floatIndexShadow (NULL), charIndexShadow (NULL),
45 stringIndexShadow (NULL), intLockQueue (NULL),
46 uintLockQueue (NULL), boolLockQueue (NULL),
47 floatLockQueue (NULL), charLockQueue (NULL),
48 stringLockQueue (NULL)
136 std::queue<lockQueueIndexEntry>>;
147 std::queue<lockQueueIndexEntry>>;
154 std::queue<lockQueueIndexEntry>>;
165 std::queue<lockQueueIndexEntry>>;
172 std::queue<lockQueueIndexEntry> >;
183 std::queue<lockQueueIndexEntry>>;
190 std::queue<lockQueueIndexEntry>>;
201 std::queue<lockQueueIndexEntry>>;
208 std::queue<lockQueueIndexEntry>>;
219 std::queue<lockQueueIndexEntry>>;
226 std::queue<lockQueueIndexEntry>>;
237 std::queue<lockQueueIndexEntry> >;
244 std::queue<lockQueueIndexEntry>>;
255 std::queue<lockQueueIndexEntry>>;
270 int64_t subtransactionid, int64_t pendingcmdid,
271 int64_t tacmdentrypoint)
350 int64_t subtransactionid, int64_t pendingcmdid,
351 int64_t tacmdentrypoint)
431 int64_t subtransactionid, int64_t pendingcmdid,
432 int64_t tacmdentrypoint)
512 int64_t engineid, int64_t subtransactionid,
513 int64_t pendingcmdid, int64_t tacmdentrypoint)
593 int64_t subtransactionid, int64_t pendingcmdid,
594 int64_t tacmdentrypoint)
674 int64_t subtransactionid, int64_t pendingcmdid,
675 int64_t tacmdentrypoint)
825 uniqueIntMap::iterator it;
830 entry.
rowid = it->second.rowid;
831 entry.
engineid = it->second.engineid;
832 returnEntries->push_back(entry);
839 nonuniqueIntMap::iterator it;
845 entry.
rowid = it->second.rowid;
846 entry.
engineid = it->second.engineid;
847 returnEntries->push_back(entry);
854 unorderedIntMap::iterator it;
860 entry.
rowid = it->second.rowid;
861 entry.
engineid = it->second.engineid;
862 returnEntries->push_back(entry);
869 uniqueUintMap::iterator it;
875 entry.
rowid = it->second.rowid;
876 entry.
engineid = it->second.engineid;
877 returnEntries->push_back(entry);
884 nonuniqueUintMap::iterator it;
890 entry.
rowid = it->second.rowid;
891 entry.
engineid = it->second.engineid;
892 returnEntries->push_back(entry);
899 unorderedUintMap::iterator it;
905 entry.
rowid = it->second.rowid;
906 entry.
engineid = it->second.engineid;
907 returnEntries->push_back(entry);
914 uniqueBoolMap::iterator it;
920 entry.
rowid = it->second.rowid;
921 entry.
engineid = it->second.engineid;
922 returnEntries->push_back(entry);
929 nonuniqueBoolMap::iterator it;
935 entry.
rowid = it->second.rowid;
936 entry.
engineid = it->second.engineid;
937 returnEntries->push_back(entry);
944 unorderedBoolMap::iterator it;
950 entry.
rowid = it->second.rowid;
951 entry.
engineid = it->second.engineid;
952 returnEntries->push_back(entry);
959 uniqueFloatMap::iterator it;
965 entry.
rowid = it->second.rowid;
966 entry.
engineid = it->second.engineid;
967 returnEntries->push_back(entry);
974 nonuniqueFloatMap::iterator it;
980 entry.
rowid = it->second.rowid;
981 entry.
engineid = it->second.engineid;
982 returnEntries->push_back(entry);
989 unorderedFloatMap::iterator it;
995 entry.
rowid = it->second.rowid;
996 entry.
engineid = it->second.engineid;
997 returnEntries->push_back(entry);
1004 uniqueCharMap::iterator it;
1009 entry.
rowid = it->second.rowid;
1010 entry.
engineid = it->second.engineid;
1011 returnEntries->push_back(entry);
1018 nonuniqueCharMap::iterator it;
1024 entry.
rowid = it->second.rowid;
1025 entry.
engineid = it->second.engineid;
1026 returnEntries->push_back(entry);
1033 unorderedCharMap::iterator it;
1039 entry.
rowid = it->second.rowid;
1040 entry.
engineid = it->second.engineid;
1041 returnEntries->push_back(entry);
1048 uniqueStringMap::iterator it;
1053 entry.
rowid = it->second.rowid;
1054 entry.
engineid = it->second.engineid;
1055 returnEntries->push_back(entry);
1062 nonuniqueStringMap::iterator it;
1068 entry.
rowid = it->second.rowid;
1069 entry.
engineid = it->second.engineid;
1070 returnEntries->push_back(entry);
1077 unorderedStringMap::iterator it;
1083 entry.
rowid = it->second.rowid;
1084 entry.
engineid = it->second.engineid;
1085 returnEntries->push_back(entry);
1092 uniqueStringMap::iterator it;
1097 entry.
rowid = it->second.rowid;
1098 entry.
engineid = it->second.engineid;
1099 returnEntries->push_back(entry);
1106 nonuniqueStringMap::iterator it;
1112 entry.
rowid = it->second.rowid;
1113 entry.
engineid = it->second.engineid;
1114 returnEntries->push_back(entry);
1121 unorderedStringMap::iterator it;
1127 entry.
rowid = it->second.rowid;
1128 entry.
engineid = it->second.engineid;
1129 returnEntries->push_back(entry);
1151 returnEntries->push_back(entry);
1158 pair<multimap<int64_t, nonLockingIndexEntry_s>::iterator,
1159 multimap<int64_t, nonLockingIndexEntry_s>::iterator> itRange;
1160 nonuniqueIntMap::iterator it;
1164 for (it=itRange.first; it != itRange.second; ++it)
1166 returnEntries->push_back(it->second);
1178 returnEntries->push_back(entry);
1198 returnEntries->push_back(entry);
1205 pair<multimap<uint64_t, nonLockingIndexEntry_s>::iterator,
1206 multimap<uint64_t, nonLockingIndexEntry_s>::iterator> itRange;
1207 nonuniqueUintMap::iterator it;
1211 for (it=itRange.first; it != itRange.second; ++it)
1213 returnEntries->push_back(it->second);
1225 returnEntries->push_back(entry);
1246 returnEntries->push_back(entry);
1253 pair<multimap<bool, nonLockingIndexEntry_s>::iterator,
1254 multimap<bool, nonLockingIndexEntry_s>::iterator> itRange;
1255 nonuniqueBoolMap::iterator it;
1259 for (it=itRange.first; it != itRange.second; ++it)
1261 returnEntries->push_back(it->second);
1273 returnEntries->push_back(entry);
1294 returnEntries->push_back(entry);
1301 pair<multimap<long double, nonLockingIndexEntry_s>::iterator,
1302 multimap<long double, nonLockingIndexEntry_s>::iterator> itRange;
1303 nonuniqueFloatMap::iterator it;
1307 for (it=itRange.first; it != itRange.second; ++it)
1309 returnEntries->push_back(it->second);
1321 returnEntries->push_back(entry);
1343 returnEntries->push_back(entry);
1350 pair<multimap<char, nonLockingIndexEntry_s>::iterator,
1351 multimap<char, nonLockingIndexEntry_s>::iterator> itRange;
1352 nonuniqueCharMap::iterator it;
1356 for (it=itRange.first; it != itRange.second; ++it)
1358 returnEntries->push_back(it->second);
1370 returnEntries->push_back(entry);
1393 returnEntries->push_back(entry);
1400 pair<multimap<string, nonLockingIndexEntry_s>::iterator,
1401 multimap<string, nonLockingIndexEntry_s>::iterator> itRange;
1402 nonuniqueStringMap::iterator it;
1406 for (it=itRange.first; it != itRange.second; ++it)
1408 returnEntries->push_back(it->second);
1420 returnEntries->push_back(entry);
1432 returnEntries->push_back(entry);
1439 pair<multimap<string, nonLockingIndexEntry_s>::iterator,
1440 multimap<string, nonLockingIndexEntry_s>::iterator> itRange;
1441 nonuniqueStringMap::iterator it;
1445 for (it=itRange.first; it != itRange.second; ++it)
1447 returnEntries->push_back(it->second);
1459 returnEntries->push_back(entry);
1475 uniqueIntMap::iterator it;
1479 if (it->first != input)
1482 entry.
rowid = it->second.rowid;
1483 entry.
engineid = it->second.engineid;
1484 returnEntries->push_back(entry);
1492 nonuniqueIntMap::iterator it;
1496 if (it->first != input)
1498 returnEntries->push_back(it->second);
1506 unorderedIntMap::iterator it;
1510 if (it->first != input)
1513 entry.
rowid = it->second.rowid;
1514 entry.
engineid = it->second.engineid;
1515 returnEntries->push_back(entry);
1532 uniqueUintMap::iterator it;
1536 if (it->first != input)
1539 entry.
rowid = it->second.rowid;
1540 entry.
engineid = it->second.engineid;
1541 returnEntries->push_back(entry);
1549 nonuniqueUintMap::iterator it;
1554 if (it->first != input)
1556 returnEntries->push_back(it->second);
1565 unorderedUintMap::iterator it;
1570 if (it->first != input)
1573 entry.
rowid = it->second.rowid;
1574 entry.
engineid = it->second.engineid;
1575 returnEntries->push_back(entry);
1592 uniqueBoolMap::iterator it;
1597 if (it->first != input)
1600 entry.
rowid = it->second.rowid;
1601 entry.
engineid = it->second.engineid;
1602 returnEntries->push_back(entry);
1610 nonuniqueBoolMap::iterator it;
1615 if (it->first != input)
1617 returnEntries->push_back(it->second);
1626 unorderedBoolMap::iterator it;
1631 if (it->first != input)
1634 entry.
rowid = it->second.rowid;
1635 entry.
engineid = it->second.engineid;
1636 returnEntries->push_back(entry);
1653 uniqueFloatMap::iterator it;
1657 if (it->first != input)
1660 entry.
rowid = it->second.rowid;
1661 entry.
engineid = it->second.engineid;
1662 returnEntries->push_back(entry);
1670 nonuniqueFloatMap::iterator it;
1675 if (it->first != input)
1677 returnEntries->push_back(it->second);
1686 unorderedFloatMap::iterator it;
1691 if (it->first != input)
1694 entry.
rowid = it->second.rowid;
1695 entry.
engineid = it->second.engineid;
1696 returnEntries->push_back(entry);
1713 uniqueCharMap::iterator it;
1717 if (it->first != input)
1720 entry.
rowid = it->second.rowid;
1721 entry.
engineid = it->second.engineid;
1722 returnEntries->push_back(entry);
1730 nonuniqueCharMap::iterator it;
1735 if (it->first != input)
1737 returnEntries->push_back(it->second);
1746 unorderedCharMap::iterator it;
1751 if (it->first != input)
1754 entry.
rowid = it->second.rowid;
1755 entry.
engineid = it->second.engineid;
1756 returnEntries->push_back(entry);
1775 uniqueStringMap::iterator it;
1779 if (it->first.compare(input))
1782 entry.
rowid = it->second.rowid;
1783 entry.
engineid = it->second.engineid;
1784 returnEntries->push_back(entry);
1792 nonuniqueStringMap::iterator it;
1797 if (it->first.compare(input))
1799 returnEntries->push_back(it->second);
1808 unorderedStringMap::iterator it;
1813 if (it->first.compare(input))
1816 entry.
rowid = it->second.rowid;
1817 entry.
engineid = it->second.engineid;
1818 returnEntries->push_back(entry);
1826 uniqueStringMap::iterator it;
1830 if (it->first.compare(input))
1833 entry.
rowid = it->second.rowid;
1834 entry.
engineid = it->second.engineid;
1835 returnEntries->push_back(entry);
1843 nonuniqueStringMap::iterator it;
1848 if (it->first.compare(input))
1850 returnEntries->push_back(it->second);
1859 unorderedStringMap::iterator it;
1864 if (it->first.compare(input))
1867 entry.
rowid = it->second.rowid;
1868 entry.
engineid = it->second.engineid;
1869 returnEntries->push_back(entry);
1882 vector<indexEntry_s> *returnEntries)
1888 uniqueIntMap::iterator itBegin, itEnd, it;
1902 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
1907 for (it=itBegin; it != itEnd; ++it)
1914 returnEntries->push_back({it->second.rowid, it->second.engineid});
1921 nonuniqueIntMap::iterator itBegin, itEnd, it;
1935 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
1940 for (it=itBegin; it != itEnd; ++it)
1948 returnEntries->push_back({it->second.rowid, it->second.engineid});
1965 vector<indexEntry_s> *returnEntries)
1971 uniqueUintMap::iterator itBegin, itEnd, it;
1985 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
1990 for (it=itBegin; it != itEnd; ++it)
1994 if (it->first == input)
2000 entry.
rowid = it->second.rowid;
2001 entry.
engineid = it->second.engineid;
2002 returnEntries->push_back(entry);
2013 returnEntries->push_back(entry);
2021 nonuniqueUintMap::iterator itBegin, itEnd, it;
2035 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2040 for (it=itBegin; it != itEnd; ++it)
2044 if (it->first == input)
2050 entry.
rowid = it->second.rowid;
2051 entry.
engineid = it->second.engineid;
2052 returnEntries->push_back(entry);
2058 pair<multimap<uint64_t, nonLockingIndexEntry_s>::iterator,
2063 for (it=iteratorRange.first; it != iteratorRange.second; ++it)
2066 entry.
rowid = it->second.rowid;
2067 entry.
engineid = it->second.engineid;
2068 returnEntries->push_back(entry);
2086 vector<indexEntry_s> *returnEntries)
2092 uniqueBoolMap::iterator itBegin, itEnd, it;
2106 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2111 for (it=itBegin; it != itEnd; ++it)
2115 if (it->first == input)
2121 entry.
rowid = it->second.rowid;
2122 entry.
engineid = it->second.engineid;
2123 returnEntries->push_back(entry);
2134 returnEntries->push_back(entry);
2142 nonuniqueBoolMap::iterator itBegin, itEnd, it;
2156 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2161 for (it=itBegin; it != itEnd; ++it)
2165 if (it->first == input)
2171 entry.
rowid = it->second.rowid;
2172 entry.
engineid = it->second.engineid;
2173 returnEntries->push_back(entry);
2179 pair<multimap<bool, nonLockingIndexEntry_s>::iterator,
2180 multimap<bool, nonLockingIndexEntry_s>::iterator> iteratorRange;
2183 for (it=iteratorRange.first; it != iteratorRange.second; ++it)
2186 entry.
rowid = it->second.rowid;
2187 entry.
engineid = it->second.engineid;
2188 returnEntries->push_back(entry);
2206 vector<indexEntry_s> *returnEntries)
2212 uniqueFloatMap::iterator itBegin, itEnd, it;
2226 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2231 for (it=itBegin; it != itEnd; ++it)
2239 returnEntries->push_back({it->second.rowid, it->second.engineid});
2246 nonuniqueFloatMap::iterator itBegin, itEnd, it;
2260 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2265 for (it=itBegin; it != itEnd; ++it)
2273 returnEntries->push_back({it->second.rowid, it->second.engineid});
2290 vector<indexEntry_s> *returnEntries)
2296 uniqueCharMap::iterator itBegin, itEnd, it;
2310 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2315 for (it=itBegin; it != itEnd; ++it)
2323 returnEntries->push_back({it->second.rowid, it->second.engineid});
2330 nonuniqueCharMap::iterator itBegin, itEnd, it;
2344 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2349 for (it=itBegin; it != itEnd; ++it)
2357 returnEntries->push_back({it->second.rowid, it->second.engineid});
2375 vector<indexEntry_s> *returnEntries)
2383 uniqueStringMap::iterator itBegin, itEnd, it;
2397 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2402 for (it=itBegin; it != itEnd; ++it)
2410 returnEntries->push_back({it->second.rowid, it->second.engineid});
2417 nonuniqueStringMap::iterator itBegin, itEnd, it;
2431 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2436 for (it=itBegin; it != itEnd; ++it)
2444 returnEntries->push_back({it->second.rowid, it->second.engineid});
2457 uniqueStringMap::iterator itBegin, itEnd, it;
2471 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2476 for (it=itBegin; it != itEnd; ++it)
2484 returnEntries->push_back({it->second.rowid, it->second.engineid});
2491 nonuniqueStringMap::iterator itBegin, itEnd, it;
2505 fprintf(
logfile,
"anomaly: %i %s %i\n", op, __FILE__, __LINE__);
2510 for (it=itBegin; it != itEnd; ++it)
2518 returnEntries->push_back({it->second.rowid, it->second.engineid});
2538 vector<indexEntry_s> *returnEntries)
2548 if (mapRef.count(lower))
2550 returnEntries->push_back({mapRef[lower].rowid,
2551 mapRef[lower].engineid});
2562 uniqueIntMap::const_iterator it;
2564 for (it = mapRef.lower_bound(lower); it != mapRef.lower_bound(upper);
2567 returnEntries->push_back({it->second.rowid, it->second.engineid});
2570 if (mapRef.count(upper))
2572 returnEntries->push_back({mapRef[upper].rowid,
2573 mapRef[upper].engineid});
2585 nonuniqueIntMap::iterator it;
2590 if (it->first <= upper)
2592 returnEntries->push_back({it->second.rowid,
2593 it->second.engineid});
2605 vector<indexEntry_s> *returnEntries)
2611 uniqueUintMap::iterator itBegin, itEnd, it;
2620 returnEntries->push_back(entry);
2623 for (it=itBegin; it != itEnd; ++it)
2626 entry.
rowid = it->second.rowid;
2627 entry.
engineid = it->second.engineid;
2628 returnEntries->push_back(entry);
2635 nonuniqueUintMap::iterator itBegin, itEnd, it;
2639 pair<multimap<uint64_t, nonLockingIndexEntry_s>::iterator,
2640 multimap<uint64_t, nonLockingIndexEntry_s>::iterator> itRange;
2643 for (it=itRange.first; it != itRange.second; ++it)
2645 returnEntries->push_back(it->second);
2648 for (it=itBegin; it != itEnd; ++it)
2651 entry.
rowid = it->second.rowid;
2652 entry.
engineid = it->second.engineid;
2653 returnEntries->push_back(entry);
2670 vector<indexEntry_s> *returnEntries)
2680 if (mapRef.count(lower))
2682 returnEntries->push_back({mapRef[lower].rowid,
2683 mapRef[lower].engineid});
2694 uniqueFloatMap::const_iterator it;
2696 for (it = mapRef.lower_bound(lower); it != mapRef.lower_bound(upper);
2699 returnEntries->push_back({it->second.rowid, it->second.engineid});
2702 if (mapRef.count(upper))
2704 returnEntries->push_back({mapRef[upper].rowid,
2705 mapRef[upper].engineid});
2717 nonuniqueFloatMap::iterator it;
2722 if (it->first <= upper)
2724 returnEntries->push_back({it->second.rowid,
2725 it->second.engineid});
2746 if (mapRef.count(lower))
2748 returnEntries->push_back({mapRef[lower].rowid,
2749 mapRef[lower].engineid});
2760 uniqueCharMap::const_iterator it;
2762 for (it = mapRef.lower_bound(lower);
2763 it != mapRef.lower_bound(upper); ++it)
2765 returnEntries->push_back({it->second.rowid, it->second.engineid});
2768 if (mapRef.count(upper))
2770 returnEntries->push_back({mapRef[upper].rowid,
2771 mapRef[upper].engineid});
2783 nonuniqueCharMap::iterator it;
2788 if (it->first <= upper)
2790 returnEntries->push_back({it->second.rowid,
2791 it->second.engineid});
2803 vector<indexEntry_s> *returnEntries)
2816 if (mapRef.count(lower))
2818 returnEntries->push_back({mapRef[lower].rowid,
2819 mapRef[lower].engineid});
2830 uniqueStringMap::const_iterator it;
2832 for (it = mapRef.lower_bound(lower); it != mapRef.lower_bound(upper);
2835 returnEntries->push_back({it->second.rowid, it->second.engineid});
2838 if (mapRef.count(upper))
2840 returnEntries->push_back({mapRef[upper].rowid,
2841 mapRef[upper].engineid});
2853 nonuniqueStringMap::iterator it;
2858 if (it->first <= upper)
2860 returnEntries->push_back({it->second.rowid,
2861 it->second.engineid});
2873 if (mapRef.count(lower))
2875 returnEntries->push_back({mapRef[lower].rowid,
2876 mapRef[lower].engineid});
2887 uniqueStringMap::const_iterator it;
2889 for (it = mapRef.lower_bound(lower); it != mapRef.lower_bound(upper);
2892 returnEntries->push_back({it->second.rowid, it->second.engineid});
2895 if (mapRef.count(upper))
2897 returnEntries->push_back({mapRef[upper].rowid,
2898 mapRef[upper].engineid});
2910 nonuniqueStringMap::iterator it;
2915 if (it->first <= upper)
2917 returnEntries->push_back({it->second.rowid,
2918 it->second.engineid});
2936 uniqueStringMap::iterator itBegin, itEnd, it;
2938 pcrecpp::RE re(*regexStr);
2940 for (it=itBegin; it != itEnd; ++it)
2943 if (re.FullMatch(it->first)==
true)
2946 entry.
rowid = it->second.rowid;
2947 entry.
engineid = it->second.engineid;
2948 returnEntries->push_back(entry);
2956 unorderedStringMap::iterator it;
2957 pcrecpp::RE re(*regexStr);
2963 if (re.FullMatch(it->first)==
true)
2965 returnEntries->push_back({it->second.rowid,
2966 it->second.engineid});
2974 nonuniqueStringMap::iterator itBegin, itEnd, it;
2976 pcrecpp::RE re(*regexStr);
2978 for (it=itBegin; it != itEnd; ++it)
2981 if (re.FullMatch(it->first)==
true)
2983 returnEntries->push_back(it->second);
2991 uniqueStringMap::iterator itBegin, itEnd, it;
2993 pcrecpp::RE re(*regexStr);
2995 for (it=itBegin; it != itEnd; ++it)
2998 if (re.FullMatch(it->first)==
true)
3001 entry.
rowid = it->second.rowid;
3002 entry.
engineid = it->second.engineid;
3003 returnEntries->push_back(entry);
3011 unorderedStringMap::iterator it;
3012 pcrecpp::RE re(*regexStr);
3018 if (re.FullMatch(it->first)==
true)
3020 returnEntries->push_back({it->second.rowid,
3021 it->second.engineid});
3029 nonuniqueStringMap::iterator itBegin, itEnd, it;
3031 pcrecpp::RE re(*regexStr);
3033 for (it=itBegin; it != itEnd; ++it)
3036 if (re.FullMatch(it->first)==
true)
3038 returnEntries->push_back(it->second);
3050 void Index::like(
string &likeStr, vector<indexEntry_s> *returnEntries)
3054 regex(&likeStr, returnEntries);
3061 likeStr.insert(0,
"^((?!");
3062 likeStr.append(
").)*$");
3063 regex(&likeStr, returnEntries);
3067 vector<indexEntry_s> *returnEntries)
3073 uniqueIntMap::iterator it;
3079 for (
size_t n=0; n < entries.size(); n++)
3081 if (entries[n] == it->first)
3090 returnEntries->push_back({it->second.rowid,
3091 it->second.engineid});
3099 unorderedIntMap::iterator it;
3106 for (
size_t n=0; n < entries.size(); n++)
3108 if (entries[n] == it->first)
3117 returnEntries->push_back({it->second.rowid,
3118 it->second.engineid});
3126 nonuniqueIntMap::iterator it;
3133 for (
size_t n=0; n < entries.size(); n++)
3135 if (entries[n] == it->first)
3144 returnEntries->push_back({it->second.rowid,
3145 it->second.engineid});
3157 vector<indexEntry_s> *returnEntries)
3163 uniqueUintMap::iterator it;
3169 for (
size_t n=0; n < entries.size(); n++)
3171 if (entries[n] == it->first)
3180 returnEntries->push_back({it->second.rowid,
3181 it->second.engineid});
3189 unorderedUintMap::iterator it;
3196 for (
size_t n=0; n < entries.size(); n++)
3198 if (entries[n] == it->first)
3207 returnEntries->push_back({it->second.rowid,
3208 it->second.engineid});
3216 nonuniqueUintMap::iterator it;
3223 for (
size_t n=0; n < entries.size(); n++)
3225 if (entries[n] == it->first)
3234 returnEntries->push_back({it->second.rowid,
3235 it->second.engineid});
3247 vector<indexEntry_s> *returnEntries)
3253 uniqueBoolMap::iterator it;
3259 for (
size_t n=0; n < entries.size(); n++)
3261 if (entries[n] == it->first)
3270 returnEntries->push_back({it->second.rowid,
3271 it->second.engineid});
3279 unorderedBoolMap::iterator it;
3286 for (
size_t n=0; n < entries.size(); n++)
3288 if (entries[n] == it->first)
3297 returnEntries->push_back({it->second.rowid,
3298 it->second.engineid});
3306 nonuniqueBoolMap::iterator it;
3313 for (
size_t n=0; n < entries.size(); n++)
3315 if (entries[n] == it->first)
3324 returnEntries->push_back({it->second.rowid,
3325 it->second.engineid});
3337 vector<indexEntry_s> *returnEntries)
3343 uniqueFloatMap::iterator it;
3349 for (
size_t n=0; n < entries.size(); n++)
3351 if (entries[n] == it->first)
3360 returnEntries->push_back({it->second.rowid,
3361 it->second.engineid});
3369 unorderedFloatMap::iterator it;
3376 for (
size_t n=0; n < entries.size(); n++)
3378 if (entries[n] == it->first)
3387 returnEntries->push_back({it->second.rowid,
3388 it->second.engineid});
3396 nonuniqueFloatMap::iterator it;
3403 for (
size_t n=0; n < entries.size(); n++)
3405 if (entries[n] == it->first)
3414 returnEntries->push_back({it->second.rowid,
3415 it->second.engineid});
3427 vector<indexEntry_s> *returnEntries)
3433 uniqueCharMap::iterator it;
3439 for (
size_t n=0; n < entries.size(); n++)
3441 if (entries[n] == it->first)
3450 returnEntries->push_back({it->second.rowid,
3451 it->second.engineid});
3459 unorderedCharMap::iterator it;
3466 for (
size_t n=0; n < entries.size(); n++)
3468 if (entries[n] == it->first)
3477 returnEntries->push_back({it->second.rowid,
3478 it->second.engineid});
3486 nonuniqueCharMap::iterator it;
3493 for (
size_t n=0; n < entries.size(); n++)
3495 if (entries[n] == it->first)
3504 returnEntries->push_back({it->second.rowid,
3505 it->second.engineid});
3517 vector<indexEntry_s> *returnEntries)
3523 uniqueStringMap::iterator it;
3530 for (
size_t n=0; n < entries.size(); n++)
3534 if (!entries[n].compare(it->first))
3543 returnEntries->push_back({it->second.rowid,
3544 it->second.engineid});
3552 unorderedStringMap::iterator it;
3559 for (
size_t n=0; n < entries.size(); n++)
3561 if (!entries[n].compare(it->first))
3570 returnEntries->push_back({it->second.rowid,
3571 it->second.engineid});
3579 nonuniqueStringMap::iterator it;
3586 for (
size_t n=0; n < entries.size(); n++)
3590 if (!entries[n].compare(it->first))
3599 returnEntries->push_back({it->second.rowid,
3600 it->second.engineid});
3608 uniqueStringMap::iterator it;
3615 for (
size_t n=0; n < entries.size(); n++)
3619 if (!entries[n].compare(it->first))
3628 returnEntries->push_back({it->second.rowid,
3629 it->second.engineid});
3637 unorderedStringMap::iterator it;
3644 for (
size_t n=0; n < entries.size(); n++)
3646 if (!entries[n].compare(it->first))
3655 returnEntries->push_back({it->second.rowid,
3656 it->second.engineid});
3664 nonuniqueStringMap::iterator it;
3671 for (
size_t n=0; n < entries.size(); n++)
3673 if (!entries[n].compare(it->first))
3682 returnEntries->push_back({it->second.rowid,
3683 it->second.engineid});
3708 if (
uniqueIntIndex->at(input).subtransactionid != subtransactionid)
3747 if (
uniqueIntIndex->at(input).subtransactionid != subtransactionid)
3778 fprintf(
logfile,
"anomaly %i %s %i\n", cmd, __FILE__, __LINE__);
3864 fprintf(
logfile,
"anomaly %i %s %i\n", cmd, __FILE__, __LINE__);
3950 fprintf(
logfile,
"anomaly %i %s %i\n", cmd, __FILE__, __LINE__);
4036 fprintf(
logfile,
"anomaly %i %s %i\n", cmd, __FILE__, __LINE__);
4122 fprintf(
logfile,
"anomaly %i %s %i\n", cmd, __FILE__, __LINE__);
4268 fprintf(
logfile,
"anomaly %i %s %i\n", cmd, __FILE__, __LINE__);
4280 entry.
rowid = newrowid;
4291 entry.
rowid = newrowid;
4311 entry.
rowid = newrowid;
4322 entry.
rowid = newrowid;
4342 entry.
rowid = newrowid;
4353 entry.
rowid = newrowid;
4374 entry.
rowid = newrowid;
4385 entry.
rowid = newrowid;
4405 entry.
rowid = newrowid;
4416 entry.
rowid = newrowid;
4438 entry.
rowid = newrowid;
4449 entry.
rowid = newrowid;
4460 entry.
rowid = newrowid;
4471 entry.
rowid = newrowid;
4485 int64_t newrowid, int64_t newengineid,
4488 pair<multimap<int64_t, nonLockingIndexEntry_s>::iterator,
4489 multimap<int64_t, nonLockingIndexEntry_s>::iterator> itRange;
4490 nonuniqueIntMap::iterator it;
4493 for (it = itRange.first; it != itRange.second; ++it)
4495 if (it->second.rowid==oldrowid && it->second.engineid==oldengineid)
4497 it->second.rowid=newrowid;
4498 it->second.engineid=newengineid;
4504 int64_t newrowid, int64_t newengineid,
4507 pair<multimap<uint64_t, nonLockingIndexEntry_s>::iterator,
4508 multimap<uint64_t, nonLockingIndexEntry_s>::iterator> itRange;
4509 nonuniqueUintMap::iterator it;
4512 for (it = itRange.first; it != itRange.second; ++it)
4514 if (it->second.rowid==oldrowid && it->second.engineid==oldengineid)
4516 it->second.rowid=newrowid;
4517 it->second.engineid=newengineid;
4523 int64_t newrowid, int64_t newengineid,
bool input)
4525 pair<multimap<bool, nonLockingIndexEntry_s>::iterator,
4526 multimap<bool, nonLockingIndexEntry_s>::iterator> itRange;
4527 nonuniqueBoolMap::iterator it;
4530 for (it = itRange.first; it != itRange.second; ++it)
4532 if (it->second.rowid==oldrowid && it->second.engineid==oldengineid)
4534 it->second.rowid=newrowid;
4535 it->second.engineid=newengineid;
4541 int64_t newrowid, int64_t newengineid,
4544 pair<multimap<long double, nonLockingIndexEntry_s>::iterator,
4545 multimap<long double, nonLockingIndexEntry_s>::iterator> itRange;
4546 nonuniqueFloatMap::iterator it;
4549 for (it = itRange.first; it != itRange.second; ++it)
4551 if (it->second.rowid==oldrowid && it->second.engineid==oldengineid)
4553 it->second.rowid=newrowid;
4554 it->second.engineid=newengineid;
4560 int64_t newrowid, int64_t newengineid,
char input)
4562 pair<multimap<char, nonLockingIndexEntry_s>::iterator,
4563 multimap<char, nonLockingIndexEntry_s>::iterator> itRange;
4564 nonuniqueCharMap::iterator it;
4567 for (it = itRange.first; it != itRange.second; ++it)
4569 if (it->second.rowid==oldrowid && it->second.engineid==oldengineid)
4571 it->second.rowid=newrowid;
4572 it->second.engineid=newengineid;
4578 int64_t newrowid, int64_t newengineid,
4583 pair<multimap<string, nonLockingIndexEntry_s>::iterator,
4584 multimap<string, nonLockingIndexEntry_s>::iterator> itRange;
4585 nonuniqueStringMap::iterator it;
4588 for (it = itRange.first; it != itRange.second; ++it)
4590 if (it->second.rowid==oldrowid && it->second.engineid==oldengineid)
4592 it->second.rowid=newrowid;
4593 it->second.engineid=newengineid;
4599 int64_t newrowid, int64_t newengineid)
4601 vector<int64_t> v(2);
4666 pair<multimap<int64_t, nonLockingIndexEntry_s>::iterator,
4667 multimap<int64_t, nonLockingIndexEntry_s>::iterator> iteratorRange;
4668 nonuniqueIntMap::iterator it;
4672 for (it=iteratorRange.first; it != iteratorRange.second; )
4674 if (it->second.rowid==rowid && it->second.engineid==engineid)
4688 pair<multimap<uint64_t, nonLockingIndexEntry_s>::iterator,
4689 multimap<uint64_t, nonLockingIndexEntry_s>::iterator> iteratorRange;
4690 nonuniqueUintMap::iterator it;
4694 for (it=iteratorRange.first; it != iteratorRange.second; )
4696 if (it->second.rowid==rowid && it->second.engineid==engineid)
4709 pair<multimap<bool, nonLockingIndexEntry_s>::iterator,
4710 multimap<bool, nonLockingIndexEntry_s>::iterator> iteratorRange;
4711 nonuniqueBoolMap::iterator it;
4715 for (it=iteratorRange.first; it != iteratorRange.second; )
4717 if (it->second.rowid==rowid && it->second.engineid==engineid)
4731 pair<multimap<long double, nonLockingIndexEntry_s>::iterator,
4732 multimap<long double, nonLockingIndexEntry_s>::iterator> iteratorRange;
4733 nonuniqueFloatMap::iterator it;
4737 for (it=iteratorRange.first; it != iteratorRange.second; )
4739 if (it->second.rowid==rowid && it->second.engineid==engineid)
4752 pair<multimap<char, nonLockingIndexEntry_s>::iterator,
4753 multimap<char, nonLockingIndexEntry_s>::iterator> iteratorRange;
4754 nonuniqueCharMap::iterator it;
4758 for (it=iteratorRange.first; it != iteratorRange.second; )
4760 if (it->second.rowid==rowid && it->second.engineid==engineid)
4775 pair<multimap<string, nonLockingIndexEntry_s>::iterator,
4776 multimap<string, nonLockingIndexEntry_s>::iterator> iteratorRange;
4777 nonuniqueStringMap::iterator it;
4781 for (it=iteratorRange.first; it != iteratorRange.second; )
4783 if (it->second.rowid==rowid && it->second.engineid==engineid)
4796 vector<int64_t> v(2);
4804 vector<int64_t> v(2);
4935 boost::unordered_set< vector<int64_t> >::iterator nullsIterator;
4938 for (nullsIterator =
nulls.begin(); nullsIterator !=
nulls.end();
4941 entry.
rowid = nullsIterator->at(0);
4942 entry.
engineid = nullsIterator->at(1);
4943 returnEntries->push_back(entry);
4955 int64_t subtransactionid)
5016 printf(
"%s %i anomaly fieldtype %i\n", __FILE__, __LINE__,
fieldtype);
5080 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5120 printf(
"%s %i anomaly fieldtype %i\n", __FILE__, __LINE__,
5150 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5180 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5210 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5240 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5270 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5318 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5358 printf(
"%s %i anomaly fieldtype %i\n", __FILE__, __LINE__,
5380 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5408 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5436 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5464 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5492 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5528 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5574 printf(
"%s %i anomaly fieldtype %i\n", __FILE__, __LINE__,
5592 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5610 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5628 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5646 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5664 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5690 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5728 printf(
"%s %i anomaly fieldtype %i\n", __FILE__, __LINE__,
5749 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5769 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5789 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5809 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5829 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,
5857 printf(
"%s %i anomaly indexmaptype %i\n", __FILE__, __LINE__,