Commit 469e413f authored by sergefp@mysql.com's avatar sergefp@mysql.com

Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0

into mysql.com:/home/psergey/mysql-5.0-bug12335-release2
parents 6d25f562 7ec0b37c
...@@ -5426,7 +5426,7 @@ ha_innobase::info( ...@@ -5426,7 +5426,7 @@ ha_innobase::info(
is an accurate estimate if it is zero. Of course, it is not, is an accurate estimate if it is zero. Of course, it is not,
since we do not have any locks on the rows yet at this phase. since we do not have any locks on the rows yet at this phase.
Since SHOW TABLE STATUS seems to call this function with the Since SHOW TABLE STATUS seems to call this function with the
HA_STATUS_TIME flag set, while the left join optizer does not HA_STATUS_TIME flag set, while the left join optimizer does not
set that flag, we add one to a zero value if the flag is not set that flag, we add one to a zero value if the flag is not
set. That way SHOW TABLE STATUS will show the best estimate, set. That way SHOW TABLE STATUS will show the best estimate,
while the optimizer never sees the table empty. */ while the optimizer never sees the table empty. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment