• unknown's avatar
    BUG#34790 - 'create server' doesn't handle out of memory scenario · 95023bb9
    unknown authored
                well enough
    
    CREATE SERVER may cause server crash if there is not enough memory
    to execute this operation.
    
    Fixed that create_server() and prepare_server_struct_for_insert()
    didn't check return value of functions that allocate memory.
    
    As this is out of memory issue fix, not test case available.
    
    
    sql/sql_servers.cc:
      Fixed that create_server() and prepare_server_struct_for_insert()
      didn't check return value of functions that allocate memory.
    95023bb9
sql_servers.cc 36.8 KB