diff options
author | unknown <bell@sanja.is.com.ua> | 2004-10-07 01:45:06 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-10-07 01:45:06 +0300 |
commit | 640fefffa7996b5ee68761472fa3000e6e7abc88 (patch) | |
tree | 1962b7cafa7e8bfcfcdc7410d38cf3144d2a6604 /sql/parse_file.cc | |
parent | dc25de58e58bf64c82e290b5c625fb68caa82953 (diff) | |
download | mariadb-git-640fefffa7996b5ee68761472fa3000e6e7abc88.tar.gz |
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
Diffstat (limited to 'sql/parse_file.cc')
-rw-r--r-- | sql/parse_file.cc | 10 |
1 files changed, 5 insertions, 5 deletions
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' || |