• Magne Mahre's avatar
    WL#5154 Remove deprecated 4.1 features · 132b46e9
    Magne Mahre authored
    Several items said to be deprecated in the 4.1 manual
    have never been removed.  This worklog adds deprecation
    warnings when these items are used, and warns the user 
    that the items will be removed in MySQL 5.6.
    
    A couple of previously deprecation decision have been
    reversed (see single file comments)
    
    
    
    client/client_priv.h:
      Macro similar to the one in the server (mysql_priv.h)
      for printing a deprecation warning message
    client/mysql.cc:
      no-auto-rehash  will not be deprecated
      skip-line-numbers will not be deprecated
      skip-column-names will not be deprecated
      no-pager is deprecated
      set-variable is deprecated
      no-named-commands is deprecated
    client/mysqladmin.cc:
      set-variable is deprecated
    client/mysqlbinlog.cc:
      position is deprecated
    client/mysqldump.c:
      first-slave is deprecated
      no-set-names is deprecated
      set-variable is deprecated
    mysql-test/r/mysqlbinlog.result:
      Adding the [Warning] to the test case, just to show that the
      deprecation works.
      The test case will be changed in Celosia to use --start-position.
    mysys/my_getopt.c:
      set-variable (include -O) is deprecated
    scripts/mysqld_multi.sh:
      Warning for mysqld_multi
    sql/mysqld.cc:
      default-collation is deprecated
      log-bin-trust-routine-creators is deprecated
      set-variable is deprecated
      default-character-set is deprecated
      safe-show-database is deprecated
    sql/share/errmsg.txt:
      Added version number for sql_log_update deprecation message.
    132b46e9
mysqlbinlog.cc 68.9 KB