Fix a comment.
This commit is contained in:
parent
2636f3cc6f
commit
0d4dbfd1b7
@ -561,12 +561,13 @@ int Materialized_cursor::open(JOIN *join __attribute__((unused)))
|
|||||||
if (rc == 0)
|
if (rc == 0)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
Now send the result set metadata to the client. We need to do it
|
Now send the result set metadata to the client. We need to
|
||||||
here, as in Select_materialize::send_fields the exact column types
|
do it here, as in Select_materialize::send_fields the items
|
||||||
are not yet known. The new types may differ from the original ones
|
for column types are not yet created (send_fields requires
|
||||||
sent at prepare if some of them were altered by MySQL HEAP tables
|
a list of items). The new types may differ from the original
|
||||||
mechanism -- used when create_tmp_field_from_item may alter the
|
ones sent at prepare if some of them were altered by MySQL
|
||||||
original column type.
|
HEAP tables mechanism -- used when create_tmp_field_from_item
|
||||||
|
may alter the original column type.
|
||||||
|
|
||||||
We can't simply supply SEND_EOF flag to send_fields, because
|
We can't simply supply SEND_EOF flag to send_fields, because
|
||||||
send_fields doesn't flush the network buffer.
|
send_fields doesn't flush the network buffer.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user