• unknown's avatar
    Bug#20393 User name truncation in mysql client · ddb9f866
    unknown authored
    Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
    
    
    include/mysql_com.h:
      Bug#20393 User name truncation in mysql client
      Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
      added new constants NAME_BYTE_LEN, USERNAME_BYTE_LENGTH, SYSTEM_CHARSET_MBMAXLEN
    mysql-test/r/ctype_utf8.result:
      Bug#20393 User name truncation in mysql client
      Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
      test case
    mysql-test/t/ctype_utf8.test:
      Bug#20393 User name truncation in mysql client
      Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
      test case
    sql-common/client.c:
      Bug#20393 User name truncation in mysql client
      Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
      increased buffers for user name & db
    sql/sql_acl.cc:
      Bug#20393 User name truncation in mysql client
      Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
      check that user name is not longer than USERNAME_LENGTH symbols
    sql/sql_parse.cc:
      Bug#20393 User name truncation in mysql client
      Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
      increased buffers for user name & db
    sql/table.cc:
      Bug#20393 User name truncation in mysql client
      Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte
      check that db name is not longer than NAME_LEN symbols
    ddb9f866
sql_parse.cc 170 KB