1. 10 Aug, 2001 1 commit
    • 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
  2. 06 Aug, 2001 1 commit
    • unknown's avatar
      misc bug fixes · 4bb40187
      unknown authored
      
      libmysqld/Makefile.am:
        sql_unions -> sql_union
      BitKeeper/etc/ignore:
        Added libmysqld/sql_union.cc to the ignore list
      mysql-test/mysql-test-run.sh:
        fix to get path-independent logging
      mysql-test/r/rpl_log.result:
        fix for path-independent logging
      sql/log.cc:
        fixed compile error with USING_TRANSACTIONS
      sql/log_event.h:
        fixed compile error with USING_TRANSACTIONS
      4bb40187
  3. 04 Aug, 2001 2 commits
    • unknown's avatar
      fixed error message numbers in union test · ad5100da
      unknown authored
      
      mysql-test/t/union.test:
        fixed error message numbers
      ad5100da
    • unknown's avatar
      new file_id generation method · 39045174
      unknown authored
      
      mysql-test/r/rpl_log.result:
        fixed result for new file_id generating method
      BitKeeper/etc/ignore:
        Added vio/viotest-ssl to the ignore list
      sql/log.cc:
        use a different method to generate unique file_id
      sql/log_event.cc:
        new file_id generationg method
      sql/sql_class.h:
        new file_id generationg method
      39045174
  4. 03 Aug, 2001 3 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 8d89555e
      unknown authored
      into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
      
      
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      8d89555e
    • unknown's avatar
      New error messages for MATCH and UNION · a8f2c247
      unknown authored
      a8f2c247
    • unknown's avatar
      LOAD DATA INFILE is now replicated properly, except for cleanup on · 0dab9f40
      unknown authored
      Stop event and bugs the test suite could not catch
      Did some big restructuring of binlog event classes - most important
      change is that now each event class has exec_event method and one does
      not need to modify slave core code to add a new event. Slave code is
      now much smaller and easier to read
      
      
      
      include/my_sys.h:
        pre_code and arg in IO_CACHE
      mysql-test/r/rpl_log.result:
        updated result for LOAD DATA INFILE fix
      mysys/mf_iocache.c:
        pre_close routine and arg pointer for callback magic
      sql/log.cc:
        changed MYSQL_LOG so that write() method is for generic
        Log_event - removed redundant code
      sql/log_event.cc:
        added classes for file events
        added exec_event() method to all classes
        restructured/cleaned up event classes
      sql/log_event.h:
        added classes for file events
        added exec_event() method to all classes
        restructured/cleaned up event classes
      sql/mf_iocache.cc:
        pre_close/arg
      sql/mysqld.cc:
        added slave-load-tmpdir and old-rpl-compat options
      sql/slave.cc:
        changed exec_event() to use Log_event::exec_event()
        some routines are now needed in log_event.cc and cannot be static/inline
        general cleanup
      sql/slave.h:
        some routines are now extern because they are called from log_event.cc
      sql/sql_class.cc:
        added slave_net
      sql/sql_class.h:
        added slave_net to THD
        MYSQL_LOG::write now handles generic Log_event
      sql/sql_load.cc:
        changes for new handling of LOAD DATA INFILE replication
      sql/sql_repl.cc:
        added log_loaded_block() callback for IO_CACHE
      sql/sql_repl.h:
        added structure to pass args to IO_CACHE callback from mysql_load
      0dab9f40
  5. 02 Aug, 2001 1 commit
    • unknown's avatar
      Fix UNION · 329e5f2f
      unknown authored
      New faster list iterators
      Change list code to be simpler and faster
      Optimize count(distinct)
      New error messages for UNION
      Make create_tmp_table more general to be usable by UNION
      
      
      Docs/manual.texi:
        Changelog
      include/mysqld_error.h:
        Add new error messages needed for UNION
      mysql-test/r/union.result:
        New tests for UNION
      mysql-test/t/analyse.test:
        Add missing drop table
      mysql-test/t/union.test:
        new tests for UNION
      sql/Makefile.am:
        Change name of sql_unions.cc to sql_union.cc
      sql/item.cc:
        Use List_iterator_fast
      sql/item_cmpfunc.cc:
        Use List_iterator_fast
      sql/item_func.cc:
        Use List_iterator_fast
      sql/item_sum.cc:
        Use List_iterator_fast
        Optimize count(distinct)
        Cleanup of indentation and comments
      sql/item_sum.h:
        Optimize count(distinct)
      sql/key.cc:
        Use List_iterator_fast
      sql/mysql_priv.h:
        Add new option bits
      sql/opt_sum.cc:
        Use List_iterator_fast
      sql/share/Makefile.am:
        Add 'fix_errors' label
      sql/share/czech/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/danish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/dutch/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/english/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/estonian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/french/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/german/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/greek/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/hungarian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/italian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/japanese/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/korean/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/norwegian-ny/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/norwegian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/polish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/portuguese/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/romanian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/russian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/slovak/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/spanish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/swedish/errmsg.txt:
        Add new error messages needed for UNION
      sql/sql_analyse.cc:
        Use List_iterator_fast
      sql/sql_base.cc:
        Use List_iterator_fast
        Add new argument to setup_fields
      sql/sql_class.cc:
        Use List_iterator_fast
      sql/sql_class.h:
        Create new class for UNION
      sql/sql_handler.cc:
        Use List_iterator_fast
      sql/sql_insert.cc:
        Use List_iterator_fast
      sql/sql_lex.h:
        Cleanup
      sql/sql_list.cc:
        Faster iteration of lists
      sql/sql_list.h:
        Faster iterations of lists
      sql/sql_load.cc:
        Use List_iterator_fast
      sql/sql_parse.cc:
        Fix UNION code
      sql/sql_select.cc:
        Use List_iterator_fast
        Make create_tmp_table more general to be usable by UNION
      sql/sql_select.h:
        Changes to speed up copy_fields()
      sql/sql_show.cc:
        Use List_iterator_fast
      sql/sql_table.cc:
        Use List_iterator_fast
      sql/sql_union.cc:
        Fix UNION code
      sql/sql_update.cc:
        Use List_iterator_fast
      sql/sql_yacc.yy:
        Fix UNION code
      329e5f2f
  6. 27 Jul, 2001 2 commits
  7. 26 Jul, 2001 1 commit
    • unknown's avatar
      bulk insert bug fixed · cb6c87f3
      unknown authored
      
      myisam/mi_write.c:
        bug fixed
      mysql-test/t/insert_select.test:
        test case added
      mysql-test/r/insert_select.result:
        test case added
      cb6c87f3
  8. 25 Jul, 2001 4 commits
  9. 24 Jul, 2001 3 commits
    • unknown's avatar
      configure.in Fix to compile :( · 691386b1
      unknown authored
      
      configure.in:
        Fix to compile :(
      691386b1
    • unknown's avatar
      Merge work.mysql.com:/home/bk/mysql-4.0 · 55fbccfd
      unknown authored
      into x153.internalnet:/home/tonu/mysql-x
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      55fbccfd
    • unknown's avatar
      OpenSSL fixes. Should not affect anything else. · 2ec8dce1
      unknown authored
      
      Makefile.am:
        Moved bio dir into server_dirs in acinclude.in
      client/Makefile.am:
        We need OpenSSL includes here
      include/global.h:
        Workaround for OPENSSL librar bug with defining crypt()
      include/violite.h:
        small fixes
      libmysql/Makefile.am:
        We need OpenSSL includes here
      libmysql/Makefile.shared:
        Yes, we need to compile more programs whtn --with-openssl is used
      libmysql/libmysql.c:
        Make it work! (openssl)
      libmysql_r/Makefile.am:
        We need OpenSSL includes here
      sql/mysqld.cc:
        Memory was not freed before
      sql/sql_parse.cc:
        fix
      vio/Makefile.am:
        Added testprogram compilation and openssl libraries linking
      vio/viossl.c:
        Cleanups, fixes, etc...
      vio/viosslfactories.c:
        Copyright was missing. Fixed renamed macros for newer OpenSSL
      vio/viotest-ssl.c:
        Made testprogram work again
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      2ec8dce1
  10. 23 Jul, 2001 2 commits
  11. 22 Jul, 2001 2 commits
  12. 20 Jul, 2001 4 commits
    • unknown's avatar
      merged · b282f429
      unknown authored
      
      configure.in:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      mysql-test/t/rpl_sporadic_master.test:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      b282f429
    • unknown's avatar
      added pre/post read callbacks to IO_CACHE · e642692a
      unknown authored
      #ifdefed out code not used in the server from log events
      started on new LOAD DATA INFILE events
      
      
      include/my_sys.h:
        added pre/post read callbacks to IO_CACHe
      mysys/mf_iocache.c:
        pre/post read callbacks
      sql/log_event.cc:
        cleanup to #ifdef out unneeded code in the server
        started work on new Load data infile events
      sql/log_event.h:
        clean-up plus start of new LOAD DATA INFILE events work
      sql/mf_iocache.cc:
        pre/post read callbacks
      sql/sql_class.cc:
        file_id
      sql/sql_class.h:
        file_id
      e642692a
    • unknown's avatar
      Merge serg.mysql.com:/usr/home/serg/Abk/mysql · b8d6bc06
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      b8d6bc06
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 5597dd80
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      Docs/manual.texi:
        Auto merged
      5597dd80
  13. 19 Jul, 2001 5 commits
  14. 18 Jul, 2001 7 commits
    • unknown's avatar
      Fixed bad merge and fixed some wrong test cases · 8e3872f3
      unknown authored
      
      mysql-test/t/rpl_magic.test:
        Added missing drop table
      mysql-test/t/rpl_mystery22.test:
        Added missing drop table
      mysql-test/t/rpl_sporadic_master.test:
        Fixed bad merge
      8e3872f3
    • unknown's avatar
      merge · 61c04f0e
      unknown authored
      
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      mysql-test/t/bdb.test:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      configure.in:
        New version
      61c04f0e
    • unknown's avatar
      Merge · dece009c
      unknown authored
      
      Docs/manual.texi:
        SCCS merged
      dece009c
    • unknown's avatar
      Upgrade TL_WRITE_CONCURRENT_INSERT to TL_WRITE_LOW_PRIORITY if · 0e66a78a
      unknown authored
      --low-priority-updates is used and the file has holes.
      
      
      Docs/manual.texi:
        Changelog
      sql/sql_insert.cc:
        Fixed that sleeptime is 0 for new insert delayed threads.
      0e66a78a
    • unknown's avatar
      fixed mysterious offset confusion bug · 76eaa259
      unknown authored
      added a test case for it - took some creative work to figure out
      how to make it happen at will
      updated the manual
      
      
      Docs/manual.texi:
        fixed wrong info on SLAVE_SKIP_COUNTER
        fixed wrong info in BitKeeper tree build instructions
        updated change history about bug fix
      mysql-test/t/rpl_sporadic_master.test:
        tried hard to get slave confused, but failed. nevertheless, a more
        exhaustive test case does not hurt
      sql/slave.cc:
        fixed mysterious offset confusion bug
      76eaa259
    • unknown's avatar
      Updated version number · 2cbf3b9b
      unknown authored
      Update to new debian files
      
      
      configure.in:
        Updated version number
      sql-bench/Results/ATIS-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      sql-bench/Results/RUN-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      sql-bench/Results/alter-table-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      sql-bench/Results/big-tables-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      sql-bench/Results/connect-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      sql-bench/Results/create-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      sql-bench/Results/insert-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      sql-bench/Results/select-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      sql-bench/Results/wisconsin-mysql-Linux_2.2.16_SMP_alpha:
        New benchmark results
      support-files/debian/README.debian:
        Update to new debian files
      support-files/debian/changelog:
        Update to new debian files
      support-files/debian/control:
        Update to new debian files
      support-files/debian/gomi:
        Update to new debian files
      support-files/debian/move:
        Update to new debian files
      support-files/debian/patches/ab:
        Update to new debian files
      support-files/debian/patches/ad:
        Update to new debian files
      support-files/debian/patches/ae:
        Update to new debian files
      support-files/debian/rules:
        Update to new debian files
      support-files/debian/shlibs:
        Update to new debian files
      2cbf3b9b
    • unknown's avatar
      Fixed problem with part keys and BDB tables · 653d19af
      unknown authored
      
      Docs/manual.texi:
        Changelog
      653d19af
  15. 17 Jul, 2001 2 commits
    • unknown's avatar
      merged with 3.23 · bab169b6
      unknown authored
      
      configure.in:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      Docs/manual.texi:
        merged
      mysql-test/t/rpl_sporadic_master.test:
        merged
      sql/Makefile.am:
        merged
      sql/slave.h:
        merged
      bab169b6
    • unknown's avatar
      bdb.test new test for a bug report · c3533454
      unknown authored
      
      mysql-test/t/bdb.test:
        new test for a bug report
      c3533454