summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-07-02 02:01:05 +0400
committerkostja@bodhi.(none) <>2007-07-02 02:01:05 +0400
commit674d10270c92c15cb204ec5cc87f2f5d06195184 (patch)
treea05ad91c128639f5f062a7f8bb257c5c5943d5d6 /sql/sql_parse.cc
parent38deea24964e1acf0920f8dee1a4442531d3ed80 (diff)
parent2d8decabd42558776d9079aa36d48dcebee9ade3 (diff)
downloadmariadb-git-674d10270c92c15cb204ec5cc87f2f5d06195184.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into bodhi.(none):/opt/local/work/mysql-5.0-runtime
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 488f05ab41f..b65ad705a36 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -4893,6 +4893,10 @@ create_sp_error:
#endif // ifndef DBUG_OFF
case SQLCOM_CREATE_VIEW:
{
+ /*
+ Note: SQLCOM_CREATE_VIEW also handles 'ALTER VIEW' commands
+ as specified through the thd->lex->create_view_mode flag.
+ */
if (end_active_trans(thd))
goto error;