summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authormonty@donna.mysql.fi <>2001-03-07 23:50:44 +0200
committermonty@donna.mysql.fi <>2001-03-07 23:50:44 +0200
commit98c70da35764c314b81e4684cf905ee717386472 (patch)
tree5185e82a23f37f9c337833e5c194164d9eaf8804 /sql/field.h
parent28433a129efe8a44cd3194f3652faf1e992ae6fb (diff)
downloadmariadb-git-98c70da35764c314b81e4684cf905ee717386472.tar.gz
Fixed test cases for innobase
Fixed bug introduced with last ORDER BY optimization Changed log position to longlong to avoid warnings.
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h
index 30b2945d006..2f03d849c9b 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -114,7 +114,7 @@ public:
if (tmp)
{
tmp->table=new_table;
- tmp->key_start=tmp->part_of_key=0;
+ tmp->key_start=tmp->part_of_key=tmp->part_of_sortkey=0;
tmp->unireg_check=Field::NONE;
tmp->flags&= (NOT_NULL_FLAG | BLOB_FLAG | UNSIGNED_FLAG | ZEROFILL_FLAG | BINARY_FLAG | ENUM_FLAG | SET_FLAG);
tmp->reset_fields();