diff options
author | unknown <monty@mysql.com> | 2004-04-12 03:26:32 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-04-12 03:26:32 +0300 |
commit | 0ba6cb48d84f1ff951d09871a96be6cdef3f2c3c (patch) | |
tree | 7e3b167c5ba793cca125cc8838e0c5974d2eab95 /sql/sql_delete.cc | |
parent | 97eddaaf6de63886bbdc2b7a63c62618f427321a (diff) | |
download | mariadb-git-0ba6cb48d84f1ff951d09871a96be6cdef3f2c3c.tar.gz |
Added missing return statement
sql/sql_delete.cc:
Added missing return
sql/sql_lex.cc:
Comment fixes
sql/sql_parse.cc:
Comment fixes
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 269633aa709..f21dbb10712 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -254,9 +254,9 @@ cleanup: */ int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, Item **conds) { - TABLE_LIST *delete_table_list= - (TABLE_LIST*)thd->lex->select_lex.table_list.first; - DBUG_ENTER(" mysql_prepare_delete"); + TABLE_LIST *delete_table_list= ((TABLE_LIST*) thd->lex-> + select_lex.table_list.first); + DBUG_ENTER("mysql_prepare_delete"); if (setup_conds(thd, delete_table_list, conds) || setup_ftfuncs(&thd->lex->select_lex)) @@ -267,6 +267,7 @@ int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, Item **conds) my_error(ER_UPDATE_TABLE_USED, MYF(0), table_list->real_name); DBUG_RETURN(-1); } + DBUG_RETURN(0); } |