diff options
author | unknown <konstantin@mysql.com> | 2004-10-12 17:33:13 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-10-12 17:33:13 +0400 |
commit | 9ed05da49d26385cdf92144ed09278bcf9fbb6cb (patch) | |
tree | 3e8bd999f313555b8209fd7a7bdd4749aa23b739 /sql | |
parent | 64ac84fbe2e008ec3c17b4fde387cd77d9e039fb (diff) | |
download | mariadb-git-9ed05da49d26385cdf92144ed09278bcf9fbb6cb.tar.gz |
item.h:
A fix for Bug#6042 "constants propogation works olny once (prepared
statements)": reset item->marker in Item::cleanup, as it's used
in propogate_cond_constants. No test case as the only way I could
come up with to show the problem is EXPLAIN, and EXPLAIN is painful
to use in the test suite.
sql/item.h:
A fix for Bug#6042 "constants propogation works olny once (prepared
statements)": reset item->marker in Item::cleanup, as it's used
in propogate_cond_constants
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index c17aabf797c..68fa013647c 100644 --- a/sql/item.h +++ b/sql/item.h @@ -144,6 +144,7 @@ public: DBUG_ENTER("Item::cleanup"); DBUG_PRINT("info", ("Type: %d", (int)type())); fixed=0; + marker= 0; DBUG_VOID_RETURN; } virtual void make_field(Send_field *field); |