From d75b2662c94dc0e2049efe3c2f26543f1d168572 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 7 Oct 2004 01:45:06 +0300 Subject: fixed & added comments (according to Igor's review and a bit more) sql/item_strfunc.h: spelling fixed sql/parse_file.cc: spelling fixed sql/parse_file.h: spelling fixed sql/password.c: spelling fixed sql/sql_acl.cc: spelling fixed sql/sql_lex.cc: comments added and fixed sql/sql_parse.cc: spelling fixed sql/sql_show.cc: spelling fixed sql/sql_update.cc: comments fixed sql/sql_view.cc: comments added spelling and comments fixed // comments changed with /* */ ones sql/sql_yacc.yy: comments fixed sql/table.cc: spelling fixed comments added and fixed sql/table.h: spelling fixed comments fixed --- sql/parse_file.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sql/parse_file.cc') diff --git a/sql/parse_file.cc b/sql/parse_file.cc index d10d395d6e5..16674793b48 100644 --- a/sql/parse_file.cc +++ b/sql/parse_file.cc @@ -57,11 +57,11 @@ write_escaped_string(IO_CACHE *file, LEX_STRING *val_s) if (my_b_append(file, (const byte *)"\\n", 2)) return TRUE; break; - case '\0': // problem for some string processing utilites + case '\0': // problem for some string processing utilities if (my_b_append(file, (const byte *)"\\0", 2)) return TRUE; break; - case 26: // problem for windows utilites (Ctrl-Z) + case 26: // problem for windows utilities (Ctrl-Z) if (my_b_append(file, (const byte *)"\\z", 2)) return TRUE; break; @@ -253,7 +253,7 @@ sql_create_definition_file(const LEX_STRING *dir, const LEX_STRING *file_name, { if (old_version != ULONGLONG_MAX && max_versions != 0) { - // save buckup + // save backup char path_arc[FN_REFLEN]; // backup old version char path_to[FN_REFLEN]; @@ -383,9 +383,9 @@ sql_parse_prepare(const LEX_STRING *file_name, MEM_ROOT *mem_root, } end= parser->end= parser->buff + len; - *end= '\0'; // barriaer for more simple parsing + *end= '\0'; // barrier for more simple parsing - // 7 = 5 (TYPE=) + 1 (leter at least of type name) + 1 ('\n') + // 7 = 5 (TYPE=) + 1 (letter at least of type name) + 1 ('\n') if (len < 7 || parser->buff[0] != 'T' || parser->buff[1] != 'Y' || -- cgit v1.2.1