mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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 (
This commit is contained in:
parent
b43af929f8
commit
43dcf48e2f
4 changed files with 5 additions and 5 deletions
|
@ -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\
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue