qt5base-lts/tests/auto/sql/kernel
Mark Brand f869a12c10 QTBUG-18435 fix stored procedure output parameters on ODBC
Follow-up to c55a99965d8c08d5f924d49db4fe4aa49df8096.

3 problems prevented stored procedure output parameters from working.
- SQLBindParameter needs access to buffer provided by QByteArray.
- The length of the buffer is measured in bytes.
- A typo corrupted conversion back to QString.

Also, data() makes more sense than constData() to expose the buffer.

Task-Id: QTBUG-18435
Change-Id: I66444b13c0f584ed79bcf026e5a23caff83c22cb
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2012-04-17 23:16:51 +02:00
..
qsql Make tst_qsql.cpp independent of QtWidgets 2012-03-11 00:08:33 +01:00
qsqldatabase Add payload to QSqlDriver notification with PSQL implementation. 2012-03-31 08:40:55 +02:00
qsqldriver QTBUG-1363: fix QSqlField.length() for ODBC 2012-04-13 21:26:07 +02:00
qsqlerror Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlfield Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlquery QTBUG-18435 fix stored procedure output parameters on ODBC 2012-04-17 23:16:51 +02:00
qsqlrecord Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsqlthread Fix compilation of tst_QSqlThread: no need to use QBasicAtomicInt here 2012-03-24 17:07:52 +01:00
kernel.pro Fix tst_qsql crashes on Mac OS X 2011-12-02 17:35:11 +01:00