From 742dfc92a2de5ae9bc8b4d115d2bbd6dbb401bcc Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 23 May 2011 10:56:05 +0300 Subject: 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. --- sql/sql_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_list.h') 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; -- cgit v1.2.1