We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c653078 commit 13e2dfeCopy full SHA for 13e2dfe
src/dsql/DsqlStatements.h
@@ -59,8 +59,8 @@ class DsqlStatement : public Firebird::PermanentStorage
59
};
60
61
// Statement flags.
62
- static const unsigned FLAG_NO_BATCH = 0x01;
63
- static const unsigned FLAG_SELECTABLE = 0x02;
+ static inline constexpr unsigned FLAG_NO_BATCH = 0x01;
+ static inline constexpr unsigned FLAG_SELECTABLE = 0x02;
64
65
static void rethrowDdlException(Firebird::status_exception& ex, bool metadataUpdate, DdlNode* node);
66
@@ -87,9 +87,9 @@ class DsqlStatement : public Firebird::PermanentStorage
87
case TYPE_SELECT_UPD:
88
case TYPE_RETURNING_CURSOR:
89
return true;
90
+ default:
91
+ return false;
92
}
-
- return false;
93
94
95
Type getType() const { return type; }
0 commit comments