summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-03-07 23:50:44 +0200
committerunknown <monty@donna.mysql.fi>2001-03-07 23:50:44 +0200
commit5151b5520edafd3374093a73635ef52d4044f10e (patch)
tree5185e82a23f37f9c337833e5c194164d9eaf8804 /sql/field.h
parente3dc55a839a23d6f1b63f05238d0b33454b7a5ab (diff)
downloadmariadb-git-5151b5520edafd3374093a73635ef52d4044f10e.tar.gz
Fixed test cases for innobase
Fixed bug introduced with last ORDER BY optimization Changed log position to longlong to avoid warnings. Docs/manual.texi: Update for innobase mysql-test/r/innobase.result: Fixed test cases mysql-test/t/bdb.test: Removed not used tables mysql-test/t/innobase.test: Fixed test cases sql/field.h: Fixed bug introduced with last ORDER BY optimization sql/ha_berkeley.cc: Fixed bug when index_init() was called twice. sql/mysql_priv.h: Added option to not get stack trace (when using gdb) sql/mysqld.cc: Added option to not get stack trace (when using gdb) sql/slave.cc: Changed log position to longlong to avoid warnings. sql/slave.h: Changed log position to longlong to avoid warnings. sql/sql_parse.cc: Removed warnings sql/sql_select.cc: Cleanups
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();