Fix apiConnectptr after execute direct

This commit is contained in:
joreland@mysql.com 2004-08-13 17:10:08 +02:00
parent f75dcd9409
commit 8b7bd89bef

View file

@ -5009,6 +5009,8 @@ void Dbtc::execLQHKEYREF(Signal* signal)
regApiPtr->lqhkeyreqrec--; // Compensate for extra during read
tcKeyRef->connectPtr = indexOp;
EXECUTE_DIRECT(DBTC, GSN_TCKEYREF, signal, TcKeyRef::SignalLength);
apiConnectptr.i = regTcPtr->apiConnect;
apiConnectptr.p = regApiPtr;
} else {
jam();
tcKeyRef->connectPtr = clientData;