From 555430819d7a35d32691fd74d8005f666ae1907c Mon Sep 17 00:00:00 2001 From: "serg@serg.mysql.com" <> Date: Tue, 13 Mar 2001 13:30:12 +0100 Subject: [PATCH] mysql-test/r/order_by.result fixed for new test sql/field.cc ORDER BY bug fixed --- mysql-test/r/order_by.result | 3 +++ sql/field.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql-test/r/order_by.result b/mysql-test/r/order_by.result index f550e471c4b..74c8bd53af2 100644 --- a/mysql-test/r/order_by.result +++ b/mysql-test/r/order_by.result @@ -108,3 +108,6 @@ DateOfAction TransactionID 1999-07-27 832 1999-07-27 834 1999-07-27 840 +member_id nickname voornaam +1 +2 diff --git a/sql/field.cc b/sql/field.cc index 782b35c5941..f2310dd0229 100644 --- a/sql/field.cc +++ b/sql/field.cc @@ -223,7 +223,7 @@ Field::Field(char *ptr_arg,uint32 length_arg,uchar *null_ptr_arg, utype unireg_check_arg, const char *field_name_arg, struct st_table *table_arg) :ptr(ptr_arg),null_ptr(null_ptr_arg),null_bit(null_bit_arg), - table(table_arg),query_id(0),key_start(0),part_of_key(0), + table(table_arg),query_id(0),key_start(0),part_of_key(0),part_of_sortkey(0), table_name(table_arg ? table_arg->table_name : 0), field_name(field_name_arg), unireg_check(unireg_check_arg), field_length(length_arg)