• unknown's avatar
    Fix for bug #13546 "Build errors with --with-embedded-server · e3d7877f
    unknown authored
    --with-embedded-privilege-control options". One more (hopefully last) build
    failure which was introduced during work on WL#2787 "Add view definer/owner
    to the view definition..."
    
    
    libmysqld/lib_sql.cc:
      create_embedded_thd()/check_embedded_connection():
        Several security related THD members (user, host, ip, priv_user, ...) have
        moved to the Security_context class. New THD::security_ctx member points to
        active security context.
    sql/sql_acl.cc:
      acl_getroot():
        Updated function description to refelect the fact that THD::user/host/ip/...
        members were moved to separate Security_context class.
    sql/sql_parse.cc:
      check_user():
        Updated function description to refelect the fact that THD::user/host/ip/...
        members were moved to separate Security_context class.
    e3d7877f
lib_sql.cc 20.6 KB