1. 01 Feb, 2013 - 1 commit
  2. 18 Jan, 2013 - 1 commit
  3. 28 Dec, 2012 - 1 commit
    • Thiago Macieira's avatar
      Fix warnings in the SQL drivers found by GCC 4.7 · 19d8a770
      Thiago Macieira authored
      
      qsql_psql.cpp:774:12: error: enumeration value 'CancelQuery' not handled in switch [-Werror=switch]
      qsql_mysql.cpp:1163:12: error: enumeration value 'CancelQuery' not handled in switch [-Werror=switch]
      qsql_sqlite.cpp:527:12: error: enumeration value 'CancelQuery' not handled in switch [-Werror=switch]
      qsql_odbc.cpp:88:97: error: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Werror=format]
      qsql_odbc.cpp:706:76: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
      
      Change-Id: I79965283057e92a44a0c8375530cfb30107c891c
      Reviewed-by: default avatarMark Brand <mabrand@mabrand.nl>
      19d8a770
  4. 18 Nov, 2012 - 1 commit
  5. 22 Sep, 2012 - 1 commit
  6. 06 Jun, 2012 - 1 commit
    • Mark Brand's avatar
      QSqlResult: replace virtual hooks with virtual functions · fc15a1d5
      Mark Brand authored
      
      Instead of virtual functions which would have broken binary
      compatibility, virtual_hook() was used to implement the virtual
      functionality. Now, since the step to Qt 5.0 allows breaking
      binary compatibility, we take the opporunity to simplify the code
      using real virtual functions.
      
      SetNumericalPrecision --> setNumericalPrecisionPolicy()
      NextResult --> nextResult()
      DetachFromResultSet --> detachFromResultSet()
      BatchOperation --> execBatch()
      
      Task-number: QTBUG-25252
      Change-Id: Idd3a870f876d8b8a7457559d5f31ec2073786a75
      Reviewed-by: default avatarBill King <bill.king@nokia.com>
      Reviewed-by: default avatarHarald Fernengel <harald.fernengel@nokia.com>
      fc15a1d5
  7. 02 Apr, 2012 - 1 commit
    • Honglei Zhang's avatar
      Convert Boolean value into integer · 50ad785b
      Honglei Zhang authored
      
      According to documentation, SQLite doesn't have a separate Boolean
      storage class. Instead, values are stored as integers 0(false) and
      1(true). In QSqlQuery::bindValue(), if a boolean value is bound
      to a placeholder, it is converted to text true and false. This fix
      converts boolean value to integer 0 and 1.
      
      Task-number: QTBUG-23895
      Change-Id: I4945971172f0b5e5819446700390033a1a4ce301
      Reviewed-by: default avatarMichael Goddard <michael.goddard@nokia.com>
      Reviewed-by: default avatarMark Brand <mabrand@mabrand.nl>
      50ad785b
  8. 13 Mar, 2012 - 1 commit
  9. 07 Mar, 2012 - 1 commit
  10. 08 Feb, 2012 - 1 commit
  11. 03 Feb, 2012 - 1 commit
  12. 30 Jan, 2012 - 1 commit
  13. 24 Jan, 2012 - 1 commit
    • Stephen Kelly's avatar
      Store the is-a QObject fact with the metatype declaration. · 4b8ceb41
      Stephen Kelly authored
      
      This is a source incompatible change for Q_DECLARE_METATYPE(T*),
      which now requires T to be fully defined.
      
      The consequences of this are:
       * Forward declared types can no longer be declared as a metatype.
           (though this is a very uncommon thing to do).
      
      There is a trivial workaround where necessary.
      
      Change-Id: Id74c40088b8c0b466fcd7c55abd616f69acc82c8
      Reviewed-by: default avatarLars Knoll <lars.knoll@nokia.com>
      4b8ceb41
  14. 23 Jan, 2012 - 1 commit
  15. 05 Jan, 2012 - 1 commit
  16. 12 Dec, 2011 - 1 commit
    • Honglei Zhang's avatar
      Check driver validity before using it · 67be01ae
      Honglei Zhang authored
      
      Even though it is stated in the documentation that the SQL driver must
      remain valid during the life time of QSqlQuery, there are users who don't
      follow the rule. It's common that the destructor of QSqlQuery is called
      after the driver is already deleted. This fix checks the validity of
      the SQLite driver before QSqliteResult uses it in destructor.
      
      Task-number: QTBUG-16967
      Change-Id: If0f52113f12e14102da1671cd6e12bdaa267114f
      Reviewed-by: default avatarYunqiao Yin <charles.yin@nokia.com>
      67be01ae
  17. 30 Nov, 2011 - 1 commit
    • Honglei Zhang's avatar
      Fix sqlite driver memory eating due to close failure · d34170af
      Honglei Zhang authored
      
      If an ongoing query is not finalized before close function is
      called, sqlite driver still tries to close the connection to
      sqlite. In this case, sqlite reports an error to sqlite driver
      which is not reported to the client. The failure in close causes
      connection to sqlite unclosed and memory is not freed. This
      fix tries to finalize all queries before close function is called.
      The close function should succeed.
      
      Task-number: QTBUG-16967
      Change-Id: I2f10a2a9017446a9d44b693b00464a89625e3602
      Reviewed-by: default avatarYunqiao Yin <charles.yin@nokia.com>
      d34170af
  18. 23 Nov, 2011 - 1 commit
    • Honglei Zhang's avatar
      SQLite support only one statement at a time · 1d3cfdbf
      Honglei Zhang authored
      
      SQLite driver support only one statement at a time. This fix makes the
      exec and prepare call failed if more than one statements are given.
      This is bug fix for QTBUG-21884. Also the behaviour is documented in
      the API specification.
      
      Task-number: QTBUG-21884
      Change-Id: If1e25a0dd9f9ee38961ef478fc7909f6b05e360a
      Reviewed-by: default avatarYunqiao Yin <charles.yin@nokia.com>
      1d3cfdbf
  19. 24 May, 2011 - 1 commit
  20. 27 Apr, 2011 - 1 commit
    • Qt by Nokia's avatar
      Initial import from the monolithic Qt. · 38be0d13
      Qt by Nokia authored
      This is the beginning of revision history for this module. If you
      want to look at revision history older than this, please refer to the
      Qt Git wiki for how to use Git history grafting. At the time of
      writing, this wiki is located here:
      
      http://qt.gitorious.org/qt/pages/GitIntroductionWithQt
      
      If you have already performed the grafting and you don't see any
      history beyond this commit, try running "git log" with the "--follow"
      argument.
      
      Branched from the monolithic repo, Qt master branch, at commit
      896db169ea224deb96c59ce8af800d019de63f12
      38be0d13