summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorunknown <monty@work.mysql.com>2001-05-31 12:56:05 +0200
committerunknown <monty@work.mysql.com>2001-05-31 12:56:05 +0200
commite6ecbfd629bf92c84f270119405f4796464e7f4e (patch)
tree7fc3c8f38fbab4a3cef1388c3bc2e53b0455c75c /sql/sql_select.h
parenta14542a61fbaabf30a2735a74401e4cd2734314d (diff)
parent8c8244918fc37bb25656a5f8b451a362e4b16577 (diff)
downloadmariadb-git-e6ecbfd629bf92c84f270119405f4796464e7f4e.tar.gz
merge
BitKeeper/triggers/post-commit: Auto merged acinclude.m4: Auto merged configure.in: Auto merged Docs/manual.texi: Auto merged include/my_sys.h: Auto merged mysql-test/mysql-test-run.sh: Auto merged sql/mysqld.cc: Auto merged sql/sql_base.cc: Auto merged sql/share/estonian/errmsg.txt: Auto merged sql/sql_repl.cc: Auto merged sql/sql_select.h: Auto merged sql/sql_table.cc: Auto merged BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index bb9bb374c76..0ec1854d641 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -138,8 +138,11 @@ class TMP_TABLE_PARAM {
}
inline void cleanup(void)
{
- delete [] copy_field;
- copy_field=0;
+ if (copy_field) /* Fix for Intel compiler */
+ {
+ delete [] copy_field;
+ copy_field=0;
+ }
}
};