• unknown's avatar
    Fix for bug#13934 Silent truncation of table comments · 8703b22e
    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
    8703b22e
table.h 29.4 KB