Changeset 846 for trunk/src/sql/drivers/sqlite
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/sql/drivers/sqlite/qsql_sqlite.cpp
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 96 96 { 97 97 return QSqlError(descr, 98 QString ::fromUtf16(static_cast<const ushort*>(sqlite3_errmsg16(access))),98 QString *>(sqlite3_errmsg16(access))), 99 99 type, errorCode); 100 100 } … … 163 163 164 164 for (int i = 0; i < nCols; ++i) { 165 QString colName = QString ::fromUtf16(166 s tatic_cast<const ushort *>(sqlite3_column_name16(stmt, i))165 QString colName = QString( 166 sqlite3_column_name16(stmt, i)) 167 167 ).remove(QLatin1Char('"')); 168 168 169 169 // must use typeName for resolving the type to match QSqliteDriver::record 170 QString typeName = QString ::fromUtf16(171 s tatic_cast<const ushort *>(sqlite3_column_decltype16(stmt, i)));170 QString typeName = QString( 171 sqlite3_column_decltype16(stmt, i))); 172 172 173 173 int dotIdx = colName.lastIndexOf(QLatin1Char('.')); -
trunk/src/sql/drivers/sqlite/qsql_sqlite.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected])
Note:
See TracChangeset
for help on using the changeset viewer.