[Bug 665188] Re: QVariant and ODBC for iSeries segmentation fault in text field.

Mondin Marco 665188 at bugs.launchpad.net
Sat Feb 4 08:05:27 UTC 2012


I made a mistake, the working code is as follows:

if(unicode) {
QVarLengthArray<SQLTCHAR> buftmp(colSize);
memset(buftmp.data(), 0, colSize*sizeof(SQLTCHAR));
r = SQLGetData(hStmt,
column+1,
SQL_C_TCHAR,
(SQLPOINTER)buftmp.data(),
0,
&lengthIndicator);

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/665188

Title:
  QVariant and ODBC for iSeries segmentation fault in text field.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/665188/+subscriptions



More information about the kubuntu-bugs mailing list