Fixed crash

v2.x_pg_PrepStmtBase_240714
Rahim Kanji 2 years ago
parent 3e90cccb7d
commit 7e66bfa580

@ -65,6 +65,11 @@ void Base_Session<S,DS,B,T>::init() {
if constexpr (std::is_same_v<S, MySQL_Session>) {
sess_STMTs_meta = new MySQL_STMTs_meta();
SLDH = new StmtLongDataHandler();
} else if constexpr (std::is_same_v<S, PgSQL_Session>) {
sess_STMTs_meta = NULL;
SLDH = NULL;
} else {
assert(0);
}
};

Loading…
Cancel
Save