diff options
author | Sergey Petrunia <sergefp@mysql.com> | 2008-08-25 21:02:54 +0400 |
---|---|---|
committer | Sergey Petrunia <sergefp@mysql.com> | 2008-08-25 21:02:54 +0400 |
commit | 6677947a953f6955253a6e17cca1f428180b818f (patch) | |
tree | e25cee1e97bdbe6890e77a93ed7372f4a2dc9659 /sql/opt_range.h | |
parent | 73bce72c0acb036388bb01ef69edc79769a47d89 (diff) | |
download | mariadb-git-6677947a953f6955253a6e17cca1f428180b818f.tar.gz |
BUG#36639: subselect.test crashes on 64 bit pentium4 when compiled for valgrind, commit into 5.0
- Use the compiler's default copy constructor for QUICK_RANGE_SELECT.
bcopy(this, copy, ...) call caused some odd action on gcc-4.1.2 on x86_64
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index 8856223b371..d43f920be93 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -329,14 +329,7 @@ public: void dbug_dump(int indent, bool verbose); #endif private: - /* Used only by QUICK_SELECT_DESC */ - QUICK_RANGE_SELECT(const QUICK_RANGE_SELECT& org) : QUICK_SELECT_I() - { - bcopy(&org, this, sizeof(*this)); - multi_range_length= 0; - multi_range= NULL; - multi_range_buff= NULL; - } + /* Default copy ctor used by QUICK_SELECT_DESC */ }; |