Store session commands also as SessionCommand
The session commands are now duplicated as SessionCommand objects This allows for an easier migration from the old session command implementation to the new one.
This commit is contained in:
@ -80,7 +80,7 @@ mysql_sescmd_t *mysql_sescmd_init(rses_property_t *rses_prop,
|
||||
/** Set session command buffer */
|
||||
sescmd->my_sescmd_buf = sescmd_buf;
|
||||
sescmd->my_sescmd_packet_type = packet_type;
|
||||
sescmd->position = atomic_add(&rses->pos_generator, 1);
|
||||
sescmd->position = atomic_add_uint64(&rses->pos_generator, 1);
|
||||
sescmd->my_sescmd_is_replied = false;
|
||||
sescmd->reply_cmd = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user