diff options
author | unknown <monty@bitch.mysql.fi> | 2002-06-08 21:02:01 +0300 |
---|---|---|
committer | unknown <monty@bitch.mysql.fi> | 2002-06-08 21:02:01 +0300 |
commit | 770aa9f2d10ac3b10d5e80c88cc154c3fa3cf81b (patch) | |
tree | dd6fcd7f2120c05a87f087ac245b6ceed6597399 /sql/opt_range.h | |
parent | 330addff25cc339b83d366c27d3cb02e0581abca (diff) | |
download | mariadb-git-770aa9f2d10ac3b10d5e80c88cc154c3fa3cf81b.tar.gz |
Added a lot of DBUG_xxx statements to be able to find replication bug.
Fixed critical bug on 64 bit systems.
Cleanups
BUILD/compile-solaris-sparc-purify:
Added --debug option.
sql/log_event.cc:
Added DBUG_xxx statements.
Cleanup
sql/opt_range.h:
Dummy fix to remove warnings in purify
sql/repl_failsafe.cc:
Cleanup
sql/slave.cc:
Added DBUG statements to be able to find bugs.
Optimized code.
Fixed critical bug on 64 bit systems.
sql/sql_repl.cc:
Added DBUG_xx statements.
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 + } }; |