diff options
author | unknown <magnus@neptunus.(none)> | 2004-04-15 09:17:55 +0200 |
---|---|---|
committer | unknown <magnus@neptunus.(none)> | 2004-04-15 09:17:55 +0200 |
commit | 43dcf48e2f00c7cce50dfe30cc5593afac6a91c8 (patch) | |
tree | abcfea4b77e36d07afa1684e8148044a6b70729e /sql | |
parent | b43af929f871332335b0c1f2c4257aabca6b8a2f (diff) | |
download | mariadb-git-43dcf48e2f00c7cce50dfe30cc5593afac6a91c8.tar.gz |
Formatting changes requested by Monty
sql/gen_lex_hash.cc:
Minor changes
- fix space between for and (
sql/item_subselect.cc:
Minor changes
- fix space between for and (
sql/sql_lex.cc:
Minor changes
- fix space between for and (
sql/sql_string.cc:
Minor changes
- fix space between for and (
Diffstat (limited to 'sql')
-rw-r--r-- | sql/gen_lex_hash.cc | 4 | ||||
-rw-r--r-- | sql/item_subselect.cc | 2 | ||||
-rw-r--r-- | sql/sql_lex.cc | 2 | ||||
-rw-r--r-- | sql/sql_string.cc | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sql/gen_lex_hash.cc b/sql/gen_lex_hash.cc index 5dc7c50e04c..7a445ed8c4d 100644 --- a/sql/gen_lex_hash.cc +++ b/sql/gen_lex_hash.cc @@ -461,7 +461,7 @@ int main(int argc,char **argv) hash_map= sql_functions_map;\n\ register uint32 cur_struct= uint4korr(hash_map+((len-1)*4));\n\ \n\ - for(;;){\n\ + for (;;){\n\ register uchar first_char= (uchar)cur_struct;\n\ \n\ if (first_char == 0)\n\ @@ -492,7 +492,7 @@ int main(int argc,char **argv) hash_map= symbols_map;\n\ register uint32 cur_struct= uint4korr(hash_map+((len-1)*4));\n\ \n\ - for(;;){\n\ + for (;;){\n\ register uchar first_char= (uchar)cur_struct;\n\ \n\ if (first_char==0){\n\ diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 196b54141d1..2d10be62d53 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -1356,7 +1356,7 @@ void subselect_uniquesubquery_engine::exclude() table_map subselect_engine::calc_const_tables(TABLE_LIST *table) { table_map map= 0; - for(; table; table= table->next) + for (; table; table= table->next) { TABLE *tbl= table->table; if (tbl && tbl->const_table) diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index e0e8fed29c8..d16e1f87085 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1529,7 +1529,7 @@ bool st_select_lex::setup_ref_array(THD *thd, uint order_group_num) */ bool st_select_lex_unit::check_updateable(char *db, char *table) { - for(SELECT_LEX *sl= first_select(); sl; sl= sl->next_select()) + for (SELECT_LEX *sl= first_select(); sl; sl= sl->next_select()) if (sl->check_updateable(db, table)) return 1; return 0; diff --git a/sql/sql_string.cc b/sql/sql_string.cc index a4eae8a6346..8a093738e2b 100644 --- a/sql/sql_string.cc +++ b/sql/sql_string.cc @@ -830,7 +830,7 @@ outp: void String::print(String *str) { char *st= (char*)Ptr, *end= st+str_length; - for(; st < end; st++) + for (; st < end; st++) { uchar c= *st; switch (c) |