• unknown's avatar
    bug#10466: Datatype "timestamp" displays "YYYYMMDDHHMMSS" irrespective of display sizes. · d2b52d19
    unknown authored
     - Print warning that says display width is not supported for datatype TIMESTAMP, if user tries to create a TIMESTAMP column with display width.
     - Use display width for TIMESTAMP only in type_timestamp test to make sure warning is displayed correctly.
    
    
    mysql-test/include/ps_create.inc:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/alias.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/func_date_add.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/func_str.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/func_time.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/group_by.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/innodb.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/ps.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/ps_1general.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/ps_2myisam.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/ps_3innodb.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/ps_4heap.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/ps_5merge.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/ps_6bdb.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/ps_7ndb.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/select.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/r/type_timestamp.result:
      When display width is used for a TIMESTAMP column a warning is printed that the display width will be ignored.
    mysql-test/r/update.result:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/alias.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/func_date_add.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/func_str.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/func_time.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/group_by.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/innodb.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/ps.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/ps_4heap.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/ps_5merge.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/select.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    mysql-test/t/update.test:
      Reove all uses of display width in for TIMESTAMP columns, except in the type_timestamp test.
    sql/share/errmsg.txt:
      Correct swedish error message
    sql/sql_parse.cc:
      Print warning if datatype is TIMESTAMP and display width is used.
    d2b52d19
ps_5merge.test 2.57 KB