diff options
author | hf@deer.mysql.r18.ru <> | 2003-01-15 12:11:44 +0400 |
---|---|---|
committer | hf@deer.mysql.r18.ru <> | 2003-01-15 12:11:44 +0400 |
commit | c59bff7c96bf90c9c4dafdb80684fb438bb43734 (patch) | |
tree | 5a4ad419f88f794ce2bdff28466653d3de9f4156 /sql/sql_parse.cc | |
parent | 8a205e4ba309c4031df93cfe700891d362e25750 (diff) | |
download | mariadb-git-c59bff7c96bf90c9c4dafdb80684fb438bb43734.tar.gz |
SCRUM
embedded library trimming
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index c3bdbabab60..7d9dc05b4cf 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -842,6 +842,7 @@ extern "C" pthread_handler_decl(handle_bootstrap,arg) TRANS_MEM_ROOT_BLOCK_SIZE, TRANS_MEM_ROOT_PREALLOC); while (fgets(buff, thd->net.max_packet, file)) { + printf("%s", buff); uint length=(uint) strlen(buff); while (length && (my_isspace(system_charset_info, buff[length-1]) || buff[length-1] == ';')) @@ -3469,7 +3470,8 @@ bool add_field_to_list(THD *thd, char *field_name, enum_field_types type, if (new_field->length >= MAX_FIELD_WIDTH || (!new_field->length && !(new_field->flags & BLOB_FLAG) && - type != FIELD_TYPE_STRING && type != FIELD_TYPE_VAR_STRING && type != FIELD_TYPE_GEOMETRY)) + type != FIELD_TYPE_STRING && + type != FIELD_TYPE_VAR_STRING && type != FIELD_TYPE_GEOMETRY)) { net_printf(thd,ER_TOO_BIG_FIELDLENGTH,field_name, MAX_FIELD_WIDTH-1); /* purecov: inspected */ |