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

QSqlQuery::addBindValue to store real type data to sqlite database

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.8.1
    • 4.6.1
    • SQL Support
    • Qt 4.61 / Linux 2.6.20.x
    • b23631015c23a49e3b4d296ea0a6266bfce3d4f1

      Qt 4.61 / Linux 2.6.20.x

      When I Use QSqlQuery::addBindValue to store real type data to sqlite database, I got wrong data format saved. Is this a bug?

      floating point 123.4 save as "99 99 99 9a 40 5e d9 99"
      correct one should be "40 5e d9 99 99 99 99 9a"

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            andysh Andy Shaw
            chenyh henry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes