summaryrefslogtreecommitdiff
path: root/sql/sql_view.cc
diff options
context:
space:
mode:
authormonty@mishka.local <>2005-08-22 01:13:37 +0300
committermonty@mishka.local <>2005-08-22 01:13:37 +0300
commitd62295e44e0c0a6d0730e7429023486d0ef3204d (patch)
tree7f70f119d33fc85a848fcbc2acd1eba3d91b6e17 /sql/sql_view.cc
parentba2ace25a9752452c10b81babc50e8c81584710e (diff)
downloadmariadb-git-d62295e44e0c0a6d0730e7429023486d0ef3204d.tar.gz
Cleanup during review of new pushed code
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r--sql/sql_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index af21b43e5c9..dcada0c0780 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -310,7 +310,7 @@ bool mysql_create_view(THD *thd,
open_and_lock_tables can change the value of tables,
e.g. it may happen if before the function call tables was equal to 0.
*/
- for (tbl= tables= lex->query_tables; tbl; tbl= tbl->next_global)
+ for (tbl= lex->query_tables; tbl; tbl= tbl->next_global)
{
/* is this table temporary and is not view? */
if (tbl->table->s->tmp_table != NO_TMP_TABLE && !tbl->view &&