• Nayuta Yanagisawa's avatar
    MDEV-27233 Server hangs when using --init-file which loads Spider and creates a Spider table · c160a115
    Nayuta Yanagisawa authored
    Spider waits until the server initialization has been completed
    (i.e., mysqld_server_started has been set to 1) before creating the
    Spider system tables. Spider also wait until the system tables have
    been created before instantiating ha_spider.
    
    These waits leads to dead lock when a non-system Spider table is
    created by --in-file. This is because queries passed by --in-file
    are executed during the server initialization and creating the
    non-system Spider table causes an instantiation of ha_spider.
    
    In the first place, there seems to be no need for Spider to do such
    a synchronization. Thus, we simply remove the synchronization.
    c160a115
mdev_27233.opt 88 Bytes