• unknown's avatar
    fix for #1344 · c101051c
    unknown authored
    handling of init-file option added to embedded library
    main problem was killing of output (resulting recordsets etc)
    i added checks for empty output in Protocol:: methods
    better solution could be special Protocol_nul class to redirect
    results to nowhere
    
    
    libmysqld/lib_sql.cc:
      code was added to call read_init_file
      Protocol methods now can support output to nowhere
    sql/mysqld.cc:
      bootstrap function extended to work in embedded library
    sql/sql_parse.cc:
      handle_bootstrap modified to work in embedded library
    c101051c
mysqld.cc 198 KB