Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9536

Fix alphabetical ordering of flags in flags.py

    • 3
    • Storage Engines - 2022-12-12

      Summary
      For some reason there are some flags that are not in alphabetical order. Most flags are generated by flags.py, the developer who takes this ticket will investigate why this is happening and apply the fix.

      Error:

      /* AUTOMATIC FLAG VALUE GENERATION START 0 */
      #define	WT_CURSTD_APPEND		0x000000001ull
      #define	WT_CURSTD_BULK			0x000000002ull
      #define	WT_CURSTD_CACHEABLE		0x000000004ull
      #define	WT_CURSTD_CACHED		0x000000008ull
      #define	WT_CURSTD_DEAD			0x000000010ull
      #define	WT_CURSTD_DEBUG_COPY_KEY	0x000000020ull
      #define	WT_CURSTD_DEBUG_COPY_VALUE	0x000000040ull
      #define	WT_CURSTD_DEBUG_RESET_EVICT	0x000000080ull
      #define	WT_CURSTD_DUMP_HEX		0x000000100ull
      #define	WT_CURSTD_DUMP_JSON		0x000000200ull
      #define	WT_CURSTD_DUMP_PRETTY		0x000000400ull
      #define	WT_CURSTD_DUMP_PRINT		0x000000800ull
      #define	WT_CURSTD_DUP_NO_VALUE          0x000001000ull
      #define	WT_CURSTD_EVICT_REPOSITION     0x000002000ull
      #define	WT_CURSTD_HS_READ_ALL		0x000004000ull
      #define	WT_CURSTD_HS_READ_COMMITTED	0x000008000ull
      #define	WT_CURSTD_IGNORE_TOMBSTONE	0x000010000ull
      #define	WT_CURSTD_JOINED		0x000020000ull
      #define	WT_CURSTD_KEY_EXT		0x000040000ull /* Key points out of tree. */
      #define	WT_CURSTD_KEY_INT		0x000080000ull /* Key points into tree. */
      #define	WT_CURSTD_KEY_ONLY		0x000100000ull
      #define	WT_CURSTD_META_INUSE		0x000200000ull
      #define	WT_CURSTD_OPEN			0x000400000ull
      #define	WT_CURSTD_OVERWRITE		0x000800000ull
      #define	WT_CURSTD_PREFIX_SEARCH		0x001000000ull
      #define	WT_CURSTD_RAW			0x002000000ull
      #define	WT_CURSTD_RAW_SEARCH		0x004000000ull
      #define	WT_CURSTD_VALUE_EXT		0x008000000ull /* Value points out of tree. */
      #define	WT_CURSTD_VALUE_INT		0x010000000ull /* Value points into tree. */
      #define WT_CURSTD_BOUND_LOWER    0x020000000ull       /* Lower bound. */
      #define WT_CURSTD_BOUND_LOWER_INCLUSIVE 0x040000000ull /* Inclusive lower bound. */
      #define WT_CURSTD_BOUND_UPPER           0x080000000ull /* Upper bound. */
      #define WT_CURSTD_BOUND_UPPER_INCLUSIVE 0x100000000ull /* Inclusive upper bound. */
      #define WT_CURSTD_VERSION_CURSOR	0x200000000ull /* Version cursor. */
      /* AUTOMATIC FLAG VALUE GENERATION STOP 64 */
      

            Assignee:
            lachlan.ting@mongodb.com Lachlan Ting (Inactive)
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: