Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108992

Qt Sql BLOB data converting problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.2.4, 6.3.2
    • SQL Support, sqlite
    • None
    • macOS, Windows

    Description

      Invalid data parsing form db

      Original value: 34 bytes

      Original size in Test.db = 34
      toByteArray size = 52
      toString size = 30
      Using datastream size = 69

       

      Attached simple example with db

      Note: python sqlite3 returns correct value 34 bytes

      Attachments

        1. blobDataTest.zip
          507 kB
          Evgen Pervenenko
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            evgenpervenenko Evgen Pervenenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes