===== sql/sql_select.cc 1.476 vs edited =====
--- 1.476/sql/sql_select.cc	2006-12-31 11:06:37 +11:00
+++ edited/sql/sql_select.cc	2007-01-16 11:38:55 +11:00
@@ -2197,7 +2197,7 @@
     s->key_dependent= 0;
     if (tables->schema_table)
       table->file->stats.records= 2;
-    table->quick_condition_rows= table->file->records();
+    table->quick_condition_rows= table->file->stats.records;
 
     s->on_expr_ref= &tables->on_expr;
     if (*s->on_expr_ref)