• unknown's avatar
    Style fixes, comments for 4.1.1 authorization · 30ced7f7
    unknown authored
    Now special 1-byte packet is used for request of old password
    Fixed bug with --skip-grant-tables and acl_getroot
    
    
    include/mysql.h:
      removed scramble_323 member as now scramble_323 function does not count
      on trailing zero for scramble
    include/mysql_com.h:
      updated declarations
    libmysql/libmysql.c:
      now server sends special 1-byte packet instead of old scramble
      to re-request password.
      mysql->scramble_323 replaced with mysql->scramble
    sql-common/client.c:
      now server sends special 1-byte packet instead of old scramble
      to re-request password.
      mysql->scramble_323 replaces with mysql->scramble
    sql/password.c:
      comments beautified
      hash_password now accepts password length
    sql/protocol.cc:
      added send_old_password_request function
    sql/protocol.h:
      added send_old_password_request function
    sql/sql_acl.cc:
      style fixes, bug with --skip-grant-tables and acl_getroot
      fixed
    sql/sql_class.h:
      thd->scramble_323 removed as now
      old functions accept not null-terminated scrambles
    sql/sql_crypt.cc:
      fixed with new hash_password proto
    sql/sql_parse.cc:
      style fixes
      few comments added
    30ced7f7
protocol.h 5.7 KB