summaryrefslogtreecommitdiff
path: root/sql/sql_help.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2002-12-28 01:01:05 +0200
committerbell@sanja.is.com.ua <>2002-12-28 01:01:05 +0200
commitfe9e13905649a41bcda1ab4d749a31695b89b870 (patch)
tree6675c15be87ddec825795b1d2a861d6bc696f109 /sql/sql_help.cc
parente3ba256491f82294f70ce2456eed243e1e7d1919 (diff)
downloadmariadb-git-fe9e13905649a41bcda1ab4d749a31695b89b870.tar.gz
postreview fix (SCRUM)
fixed layout
Diffstat (limited to 'sql/sql_help.cc')
-rw-r--r--sql/sql_help.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/sql/sql_help.cc b/sql/sql_help.cc
index 5d12f023842..013101a0ecc 100644
--- a/sql/sql_help.cc
+++ b/sql/sql_help.cc
@@ -96,7 +96,7 @@ int search_functions(MI_INFO *file_leafs, const char *mask,
DBUG_ENTER("search_functions");
int count= 0;
- if(mi_scan_init(file_leafs))
+ if (mi_scan_init(file_leafs))
DBUG_RETURN(-1);
help_leaf leaf;
@@ -191,7 +191,7 @@ int search_categories(THD *thd,
if (!(file_categories= open_help_file(thd,"function_category_name")))
DBUG_RETURN(-1);
- if(mi_scan_init(file_categories))
+ if (mi_scan_init(file_categories))
{
mi_close(file_categories);
DBUG_RETURN(-1);
@@ -393,11 +393,11 @@ int mysqld_help(THD *thd, const char *mask)
description->ptr(), example->ptr())))
goto end;
}
- else if((res= send_header_2(protocol)) ||
- (res= send_variant_2_list(protocol,&function_list,false)) ||
- (search_categories(thd, mask, &categories_list, 0)<0 &&
- (res=1)) ||
- (res= send_variant_2_list(protocol,&categories_list,true)))
+ else if ((res= send_header_2(protocol)) ||
+ (res= send_variant_2_list(protocol,&function_list,false)) ||
+ (search_categories(thd, mask, &categories_list, 0)<0 &&
+ (res=1)) ||
+ (res= send_variant_2_list(protocol,&categories_list,true)))
{
goto end;
}