Uploaded image for project: 'MariaDB Connector/C++'
  1. MariaDB Connector/C++
  2. CONCPP-56

Empty stream should result in empty DB value, not a NULL

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 0.9.4
    • None
    • General
    • None

    Description

      Currently there is a testcase ensuring it is NULL. I guess the idea was to make possible to insert NULL value with a stream. But at the same time that makes impossible to insert empty value with a stream. While NULL value can be set with either setNull or nullptr passed to setBlob.
      Perhaps the stream also should yield in NULL DB value if it's failing(i.e. istream::fail returns true)

      Attachments

        Activity

          People

            Lawrin Lawrin Novitsky
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.