summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorunknown <timour@askmonty.org>2011-05-23 10:56:05 +0300
committerunknown <timour@askmonty.org>2011-05-23 10:56:05 +0300
commit742dfc92a2de5ae9bc8b4d115d2bbd6dbb401bcc (patch)
tree5a721674c555ba6b621b8bb6b421e78cbd250112 /sql/sql_list.h
parent56c0e19ed0678b7e761979415a914771406b4900 (diff)
downloadmariadb-git-742dfc92a2de5ae9bc8b4d115d2bbd6dbb401bcc.tar.gz
MWL#89: Address review feedback (by Sergey Petrunia)
mysql-test/r/subselect4.result: Moved test case for LP BUG#718593 into the correct test file subselect_mat_cost_bugs.test. mysql-test/t/subselect4.test: Moved test case for LP BUG#718593 into the correct test file subselect_mat_cost_bugs.test.
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r--sql/sql_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h
index e90f16aeb99..7d9f3d26ec8 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -260,7 +260,7 @@ public:
list_node *node= first;
list_node *list_first= list->first;
elements=0;
- while (node->info && node != list_first)
+ while (node != &end_of_list && node != list_first)
{
prev= &node->next;
node= node->next;