• unknown's avatar
    fix for #1344 · 6fbd3da5
    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
    6fbd3da5
sql_parse.cc 132 KB