mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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.
This commit is contained in:
@ -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
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user