summaryrefslogtreecommitdiffstats
path: root/src/sql
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixes one of the fields of mysql bound params not initialised.Bill King2009-05-211-2/+1
| | | | | | | | | | | | Found by valgrind, value isn't set but is used, fixes this. Reviewed-by: Justin McPherson
| * Fixes conditional jump on uninitialised valueBill King2009-05-211-1/+11
| | | | | | | | | | | | As found by valgrind. Also add error reporting that was missing. Reviewed-by: Justin McPherson
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-05-203-5/+12
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: tests/auto/network-settings.h tests/auto/qhttpsocketengine/tst_qhttpsocketengine.cpp tests/auto/qiodevice/tst_qiodevice.cpp tests/auto/qnativesocketengine/tst_qnativesocketengine.cpp tests/auto/qsocks5socketengine/tst_qsocks5socketengine.cpp tests/auto/qsslsocket/tst_qsslsocket.cpp
| * Fixes a memory leak in the interbase sql driver.Bill King2009-05-201-4/+3
| | | | | | | | | | | | As suggested in gitorius merge request 421, solution supplied by Harald. Reviewed-by: Harald Fernengel
| * Adds thread initialisation/cleanup code to mysql.Bill King2009-05-201-0/+8
| | | | | | | | | | | | Allows for cleaner multi-thread working for mysql clients. Task-number: 253407
| * Fix some typos in the documentation.Frederik Schwarzer2009-05-181-1/+1
| | | | | | | | | | | | Usually, "the the" is not proper English Reviewed-By: Thiago Macieira
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-05-183-53/+83
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: configure.exe src/corelib/kernel/qcoreapplication.cpp Configure.exe not rebuilt because the changes are irrelevant for the S60 port. We'll rebuild it before merging back.
| * Use newer safer error function if available.Bill King2009-05-141-2/+9
| | | | | | | | | | | | Uses fb_interpret instead of isc_interprete if using firebird. Closes a potential security hole/buffer overrun. Reviewed-by: Justin McPherson
| * Fixes a segfault from out of order cleanup of mysql resources.Bill King2009-05-131-50/+73
| | | | | | | | | | | | | | If a QSqlQuery survived the lifetime of removal of a mysql db connection (that failed), the cleanup code would cause a segfault because it was using an out of date pointer that was pointing at memory that'd been freed by the removeDatabase() call. Revby: Justin McPherson Task-number: 205701
| * The description cited MySQL and the code is for PostgreSQL.Benjamin Poulain2009-05-121-1/+1
| | | | | | | | | | Task-number: 253427 Reviewed-by: TrustMe
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-05-112-4/+3
|\ \ | |/ | | | | | | Conflicts: tests/auto/qtemporaryfile/qtemporaryfile.pro
| * Fixes QIBASE driver crashes on multiple execution of a prepared queryBill King2009-05-071-3/+3
| | | | | | | | Task-number: 246808
| * Compiler warnings (Mac/Carbon)Bjoern Erik Nilsen2009-05-071-1/+0
| | | | | | | | Reviewed-by: nrc
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-05-063-29/+26
|\ \ | |/
| * Fixes crash when mysql_init() returns 0Bill King2009-05-051-1/+1
| | | | | | | | Task-number: 250632
| * Apparently this is the best way to determine which to useBill King2009-05-011-5/+4
| | | | | | | | Best as I can determine via trial and error. It should make vc6 compile again though.
| * Try and clean up ODBC 64/32 bit type disparityBill King2009-04-291-6/+4
| | | | | | | | It seems that after approx version 2.7.0, microsoft changed the ODBC types of certain functions, to cater for 64bit architectures. This tries to be a little bit smarter about which types are used in which places.
| * Fixes performance degradation from precision fix in 4.5.1Bill King2009-04-291-20/+20
| | | | | | | | | | | | | | Alleviates the performance hit of querying the database except when necessary, try and use XSQLVAR as much as possible, except for floating point fields. Task-number: 252426
* | Workaround for problems with paging Core and Sql libsMiikka Heikkinen2009-04-271-1/+7
| |
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtaxis2009-04-2715-97/+580
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure.exe recompiled with MSVC6. Conflicts: configure.exe examples/network/network.pro src/gui/dialogs/qfiledialog_p.h src/gui/dialogs/qfilesystemmodel_p.h src/gui/kernel/qapplication.cpp tests/auto/_Categories/qmake.txt tests/auto/qfile/test/test.pro tests/auto/qfile/tst_qfile.cpp tests/auto/qlibrary/tst_qlibrary.cpp tests/auto/qline/tst_qline.cpp tests/auto/qstyle/tst_qstyle.cpp tests/auto/qtextstream/tst_qtextstream.cpp tests/auto/qtranslator/qtranslator.pro tests/auto/qwaitcondition/tst_qwaitcondition.cpp translations/qt_ja_JP.ts
| * Fixes over-verboseness in OCI tables function.Bill King2009-04-191-2/+2
| | | | | | | | | | Differring case of username shouldn't mean adding the username on front. Also fixes autotest failures.
| * Fixes long strings getting truncated by the ODBC Driver.Bill King2009-04-161-1/+1
| | | | | | | | | | | | | | This test has always been wrong/confusing. Fix it to work, and make sense. Task-number: 250026 Revby: Lincoln Ramsay
| * Fixes an issue with FreeTDS and quoting.Bill King2009-04-151-0/+5
| | | | | | | | | | | | | | Microsofts SQL Server odbc driver calls SET QUOTED_IDENTIFIER_ON, but freetds doesn't, so any quoting fails. This fixes that issue. Reviewed-by: abcd
| * Fix the behaviour of sql classes regarding quoted identifiersabcd2009-04-1515-81/+537
| | | | | | | | | | | | | | | | | | | | | | If no quotes around identifiers are provided by the programmer, identifiers are treated identically to how the underlying engine would behave. i.e. some engines uppercase the identifiers others lowercase them. If the programmer wants case sensitivty and/or use whitespaces they will need to quote their identifiers. The previous (incorrect) behaviour always quoted the identifiers. Reviewed-by: Bill King
| * DB2 driver returning double field as emptyBill King2009-04-081-1/+1
| | | | | | | | | | | | | | | | | | The high precision code path was getting an empty string on the second call to getstringdata, which was causing it to return empty for the field. Really only needed to call it once anyway, so use the original call. Reviewed-by: Justin McPherson
| * Missed these changes from the last commit.Bill King2009-04-081-3/+7
| | | | | | | | Last of the changes to include behaviour from QPtrVector
| * Fixes: Memory leak in DB2 driverBill King2009-04-071-12/+23
| | | | | | | | | | | | | | Looks like they were using the old QPtrVector in qt3, and didn't quite handle the porting correctly. Reviewed-by: Lincoln Ramsay
| * Fixes: QSqlTableModel does not handle updates when one of the fields hasBill King2009-04-061-3/+8
| | | | | | | | | | | | a NULL value Task-number: 189093
| * Fixes: QPSQL: datetime or time fields with negative time zoneBill King2009-03-311-2/+4
| | | | | | | | | | | | | | | | | | offsets not handled correctly Now also removes negative timestamps. Task-number: 249059 Reviewed-by: Justin McPherson
| * Long live Qt 4.5!Lars Knoll2009-03-2355-0/+25816
|
* Long live Qt for S60!axis2009-04-2455-0/+25829