• unknown's avatar
    Embedded mysql fixes. · b538ff90
    unknown authored
    There is now a mysql_server_init() function which needs to be
    called at the beginning of the program (and _end() for the end
    of the program).  This routine handles argument parsing for the
    embedded server.
    
    Use the embedded version of mysql_load_file() (ignore the LOCAL
    argument, since the client and server are the same program).
    
    There are now mysql_thread_init/end() functions for the client
    to use in a multi-threaded app.  They are just wrappers for
    my_thread_init/end().
    
    
    
    BitKeeper/deleted/.del-README~434e9cae5fa9a4c4:
      Delete: libmysqld/README
    libmysqld/lib_load.cc:
      minor cleanup
    include/mysql.h:
      add mysql_server/thread_init/end()
    libmysql/libmysql.c:
      add mysql_server/thread_init/end()
    libmysqld/lib_sql.cc:
      add mysql_server/thread_init/end()
    libmysqld/libmysqld.c:
      add mysql_server/thread_init/end()
    sql/mysqld.cc:
      allow get_options() to be called more than once
    libmysqld/Makefile.am:
      use lib_load.cc instead of sql_load.cc
    BitKeeper/etc/logging_ok:
      Logging to logging@openlogging.org accepted
    b538ff90
lib_load.cc 1.34 KB