| 25 | { |
| 26 | public: |
| 27 | Meta(Firebird::IStatement* stmt, bool out) |
| 28 | { |
| 29 | Firebird::LocalStatus ls; |
| 30 | Firebird::CheckStatusWrapper st(&ls); |
| 31 | Firebird::IMessageMetadata* m = out ? stmt->getOutputMetadata(&st) : stmt->getInputMetadata(&st); |
| 32 | if (st.getState() & Firebird::IStatus::STATE_ERRORS) |
| 33 | { |
| 34 | Firebird::status_exception::raise(&st); |
| 35 | } |
| 36 | assignRefNoIncr(m); |
| 37 | } |
| 38 | }; |
| 39 | #endif // INTERNAL_FIREBIRD |
| 40 |
nothing calls this directly
no test coverage detected