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

Some chars initialised with integers

    • Storage Engines
    • 1
    • Storage Engines - 2022-10-17

      This isn't strictly wrong, but it could be clearer.

      There are two cases (that I could see, at least) where we initialise a char type with a raw 0, where it should probably be '\0'. It works fine as-is, this is just a clarity improvement.

      The two places are coltype in wt_table_check and digit in flcs_modify in test_checkpoint.c.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            will.korteland@mongodb.com Will Korteland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: