![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qsql_firebird_result_p.h"#include "qsql_firebird_array_p.h"#include "qsql_firebird_helpers_p.h"#include <QtCore/qvarlengtharray.h>#include <QtSql/qsqlfield.h>#include <algorithm>#include <cstring>#include <limits>Go to the source code of this file.
Functions | |
| static QList< ColumnInfo > | buildColumns (IMessageMetadata *meta, ThrowStatusWrapper &st) |
| static QByteArray | readBlob (IAttachment *att, ITransaction *tra, IStatus *st, const ISC_QUAD &blobId) |
| static TxnOp | classifyTxnControl (const QString &query) |
Variables | |
| static constexpr int | kMaxRowSentinel = 0x7FFFFFFE |
|
static |
Definition at line 27 of file qsql_firebird_result.cpp.
References ColumnInfo::fbSubType, ColumnInfo::fbType, ColumnInfo::length, ColumnInfo::nullOffset, ColumnInfo::offset, and ColumnInfo::scale.
Classify a bare transaction-control statement (COMMIT/ROLLBACK [WORK]). These appear in SQL scripts but cannot be executed as DSQL against the driver's managed transaction (Firebird rejects it with "invalid transaction handle"); they are applied via the ITransaction API instead. COMMIT/ROLLBACK RETAIN are not treated specially.
Definition at line 246 of file qsql_firebird_result.cpp.
|
static |
Read a BLOB into QByteArray. Uses ThrowStatusWrapper so a read error throws FbException (caught by QFirebirdResult::data) instead of being swallowed and returning a silently truncated buffer.
Definition at line 57 of file qsql_firebird_result.cpp.
|
staticconstexpr |
Largest non-negative row-position sentinel. Two uses, same value:
Definition at line 937 of file qsql_firebird_result.cpp.
Referenced by QFirebirdResult::fetchLast().