• unknown's avatar
    Fix for bug#13934 Silent truncation of table comments · bf36ba49
    unknown authored
    Table comment: issue a warning(error in traditional mode) if length of comment > 60 symbols
    Column comment: issue a warning(error in traditional mode) if length of comment > 255 symbols
    Table 'comment' is changed from char* to LEX_STRING
    
    
    mysql-test/r/strict.result:
      test case
    mysql-test/t/strict.test:
      test case
    sql/handler.h:
      Table 'comment' is changed from char* to LEX_STRING
    sql/sql_show.cc:
      Table 'comment' is changed from char* to LEX_STRING
    sql/sql_table.cc:
      Table 'comment' is changed from char* to LEX_STRING
    sql/sql_yacc.yy:
      Table 'comment' is changed from char* to LEX_STRING
    sql/table.cc:
      Table 'comment' is changed from char* to LEX_STRING
    sql/table.h:
      Table 'comment' is changed from char* to LEX_STRING
    sql/unireg.cc:
      Fix for bug#13934 Silent truncation of table comments
      Table comment: issue a warning(error in traditional mode) if length of comment > 60 symbols
      Column comment: issue a warning(error in traditional mode) if length of comment > 255 symbols
    bf36ba49
strict.test 37.1 KB