Commit b30cbbe1 authored by msvensson@shellback.(none)'s avatar msvensson@shellback.(none)

Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint_from_5.1

into  shellback.(none):/home/msvensson/mysql/mysql-5.0
parents 126bce1d 4693d06a
...@@ -46,6 +46,7 @@ Field_name Min_value Max_value Min_length Max_length Empties_or_zeros Nulls Avg_ ...@@ -46,6 +46,7 @@ Field_name Min_value Max_value Min_length Max_length Empties_or_zeros Nulls Avg_
execute stmt1; execute stmt1;
Field_name Min_value Max_value Min_length Max_length Empties_or_zeros Nulls Avg_value_or_avg_length Std Optimal_fieldtype Field_name Min_value Max_value Min_length Max_length Empties_or_zeros Nulls Avg_value_or_avg_length Std Optimal_fieldtype
deallocate prepare stmt1; deallocate prepare stmt1;
drop table t1;
create temporary table t1(a int, index(a)); create temporary table t1(a int, index(a));
insert into t1 values('1'),('2'),('3'),('4'),('5'); insert into t1 values('1'),('2'),('3'),('4'),('5');
analyze table t1; analyze table t1;
......
...@@ -1157,3 +1157,4 @@ test.t1 analyze status Table is already up to date ...@@ -1157,3 +1157,4 @@ test.t1 analyze status Table is already up to date
Warnings: Warnings:
Error 1146 Table 'test.t4' doesn't exist Error 1146 Table 'test.t4' doesn't exist
deallocate prepare stmt; deallocate prepare stmt;
drop table t1, t2, t3;
...@@ -61,6 +61,7 @@ prepare stmt1 from "SELECT * FROM t1 PROCEDURE ANALYSE()"; ...@@ -61,6 +61,7 @@ prepare stmt1 from "SELECT * FROM t1 PROCEDURE ANALYSE()";
execute stmt1; execute stmt1;
execute stmt1; execute stmt1;
deallocate prepare stmt1; deallocate prepare stmt1;
drop table t1;
# #
# bug#15225 (ANALYZE temporary has no effect) # bug#15225 (ANALYZE temporary has no effect)
......
...@@ -1145,5 +1145,5 @@ prepare stmt from "analyze table t4, t1"; ...@@ -1145,5 +1145,5 @@ prepare stmt from "analyze table t4, t1";
execute stmt; execute stmt;
execute stmt; execute stmt;
deallocate prepare stmt; deallocate prepare stmt;
drop table t1, t2, t3;
# End of 5.0 tests # End of 5.0 tests
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