worryg0d commented on code in PR #1782:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1782#discussion_r1756533550


##########
conn.go:
##########
@@ -1394,9 +1394,10 @@ func (c *Conn) executeQuery(ctx context.Context, qry 
*Query) *Iter {
                params.skipMeta = !(c.session.cfg.DisableSkipMetadata || 
qry.disableSkipMetadata)
 
                frame = &writeExecuteFrame{
-                       preparedID:    info.id,
-                       params:        params,
-                       customPayload: qry.customPayload,
+                       preparedID:         info.id,
+                       params:             params,
+                       customPayload:      qry.customPayload,
+                       preparedMetadataID: info.request.id,

Review Comment:
   Good catch! Thanks a lot. Also, I added the described mechanism. Now the 
driver receives the `RESULT/ROWS` response it updates the prepared stmt `meta` 
and `result_metadata_id` in the stmtsLRU cache and re-run query execution. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to