Commit ecf24c66 authored by unknown's avatar unknown

Removed unnecessary chahges from previous commit(see ChangeSet 1.1761 04/12/30)

parent 525242d3
...@@ -116,7 +116,7 @@ count(distinct n) ...@@ -116,7 +116,7 @@ count(distinct n)
5000 5000
show status like 'Created_tmp_disk_tables'; show status like 'Created_tmp_disk_tables';
Variable_name Value Variable_name Value
Created_tmp_disk_tables 1 Created_tmp_disk_tables 2
drop table t1; drop table t1;
create table t1 (s text); create table t1 (s text);
flush status; flush status;
...@@ -125,5 +125,5 @@ count(distinct s) ...@@ -125,5 +125,5 @@ count(distinct s)
5000 5000
show status like 'Created_tmp_disk_tables'; show status like 'Created_tmp_disk_tables';
Variable_name Value Variable_name Value
Created_tmp_disk_tables 1 Created_tmp_disk_tables 2
drop table t1; drop table t1;
...@@ -94,6 +94,6 @@ d ...@@ -94,6 +94,6 @@ d
2002-10-24 14:50:40 2002-10-24 14:50:40
show status like "created_tmp%tables"; show status like "created_tmp%tables";
Variable_name Value Variable_name Value
Created_tmp_disk_tables 0 Created_tmp_disk_tables 1
Created_tmp_tables 2 Created_tmp_tables 2
drop table t1; drop table t1;
...@@ -2269,7 +2269,7 @@ enum_field_types Item::field_type() const ...@@ -2269,7 +2269,7 @@ enum_field_types Item::field_type() const
Field *Item::make_string_field(TABLE *table) Field *Item::make_string_field(TABLE *table)
{ {
if (max_length > MAX_FIELD_WIDTH) if (max_length > CONVERT_IF_BIGGER_TO_BLOB)
return new Field_blob(max_length, maybe_null, name, table, return new Field_blob(max_length, maybe_null, name, table,
collation.collation); collation.collation);
if (max_length > 0) if (max_length > 0)
......
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