summaryrefslogtreecommitdiff
path: root/sql/sql_alter.cc
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2018-05-23 14:13:11 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2018-08-02 10:37:03 +0300
commite88e26b4242e1c030bb138fca7ea2c916dbe6a76 (patch)
tree8da5f3efddb30fab6d3a6af617b0375e0772e4ed /sql/sql_alter.cc
parent4d2b5523695ea6b6f7e6cde406165a09d517dfeb (diff)
downloadmariadb-git-e88e26b4242e1c030bb138fca7ea2c916dbe6a76.tar.gz
Follow up to previous commit for codership/mysql-wsrep#332mariadb-galera-5.5.61
Fix misplaced `DBUG_RETURN` in `Alter_table_statement::execute`.
Diffstat (limited to 'sql/sql_alter.cc')
-rw-r--r--sql/sql_alter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_alter.cc b/sql/sql_alter.cc
index 1d69b06d798..e343808cf77 100644
--- a/sql/sql_alter.cc
+++ b/sql/sql_alter.cc
@@ -123,6 +123,7 @@ bool Alter_table_statement::execute(THD *thd)
select_lex->order_list.first,
lex->ignore, lex->online);
+ DBUG_RETURN(result);
#ifdef WITH_WSREP
error:
{
@@ -130,5 +131,4 @@ error:
DBUG_RETURN(TRUE);
}
#endif /* WITH_WSREP */
- DBUG_RETURN(result);
}