diff options
author | monty@bitch.mysql.fi <> | 2002-06-08 21:02:01 +0300 |
---|---|---|
committer | monty@bitch.mysql.fi <> | 2002-06-08 21:02:01 +0300 |
commit | 9b6df03c14757a32a6762be6af081f562dc45d47 (patch) | |
tree | dd6fcd7f2120c05a87f087ac245b6ceed6597399 /sql/opt_range.h | |
parent | 23e9db94fb304cd90c01e36fc0060ddb4de57070 (diff) | |
download | mariadb-git-9b6df03c14757a32a6762be6af081f562dc45d47.tar.gz |
Added a lot of DBUG_xxx statements to be able to find replication bug.
Fixed critical bug on 64 bit systems.
Cleanups
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index f48a3936a17..af977eb3093 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -38,10 +38,14 @@ typedef struct st_key_part { Field *field; } KEY_PART; + class QUICK_RANGE :public Sql_alloc { public: char *min_key,*max_key; uint16 min_length,max_length,flag; +#ifdef HAVE_purify + uint16 dummy; /* Avoid warnings on 'flag' */ +#endif QUICK_RANGE(); /* Full range */ QUICK_RANGE(const char *min_key_arg,uint min_length_arg, const char *max_key_arg,uint max_length_arg, @@ -51,7 +55,11 @@ class QUICK_RANGE :public Sql_alloc { min_length((uint16) min_length_arg), max_length((uint16) max_length_arg), flag((uint16) flag_arg) - {} + { +#ifdef HAVE_purify + dummy=0; +#endif + } }; |