Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2001

mongoc_gridfs_file_writev(): parameter "iov" should have a 'const' qualifier

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.8.0
    • None
    • GridFS
    • None

    Description

      Parameter iov in mongoc_gridfs_file_writev() should be of type "const mongoc_iovec_t *" to make it possible to write from a constant data location. Pretty much like for writev(2).

      At this time, there is no way around it except to discard const-ness forcefully.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            neoxic Arseny Vakhrushev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: