1. 30 Aug, 2002 1 commit
    • unknown's avatar
      Merge with 4.0.3 · 9421f1da
      unknown authored
      Some simple optimzations, more comments and indentation changes.
      Add ` around database in 'use database' in binary log.
      Moved max_error_count and max_warning_count to variables struct.
      Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
      Changed string functions to use character set of first string argument as default return characterset
      (Each string function can change the above assumption if needed)
      
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      BUILD/SETUP.sh:
        Auto merged
      BitKeeper/deleted/.del-getopt.h~a9ae679fa84f395:
        Auto merged
      BitKeeper/deleted/.del-getvar.c~2a29ff383970fd31:
        Auto merged
      Docs/manual.texi:
        Auto merged
      SSL/cacert.pem:
        Auto merged
      SSL/client-cert.pem:
        Auto merged
      SSL/client-key.pem:
        Auto merged
      SSL/server-cert.pem:
        Auto merged
      SSL/server-key.pem:
        Auto merged
      client/mysqldump.c:
        Auto merged
      include/my_base.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      isam/isamlog.c:
        Auto merged
      isam/pack_isam.c:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      myisam/ft_dump.c:
        Auto merged
      myisam/ft_parser.c:
        Auto merged
      myisam/ft_static.c:
        Auto merged
      myisam/ft_test1.c:
        Auto merged
      myisam/ft_update.c:
        Auto merged
      myisam/mi_create.c:
        Auto merged
      myisam/mi_key.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      myisam/mi_static.c:
        Auto merged
      myisam/mi_test1.c:
        Auto merged
      myisam/mi_test2.c:
        Auto merged
      myisam/mi_test3.c:
        Auto merged
      myisam/mi_update.c:
        Auto merged
      myisam/mi_write.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      myisam/myisamlog.c:
        Auto merged
      myisam/myisampack.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/fulltext.result:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/r/myisam.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/select_found.result:
        Auto merged
      mysql-test/r/union.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      mysql-test/t/select_found.test:
        Auto merged
      mysql-test/t/union.test:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/mf_iocache2.c:
        Auto merged
      mysys/my_error.c:
        Auto merged
      mysys/my_init.c:
        Auto merged
      scripts/mysql_config.sh:
        Auto merged
      sql/convert.cc:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/gen_lex_hash.cc:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/hostname.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/item_timefunc.h:
        Auto merged
      sql/key.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/net_pkg.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_range.h:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_test.cc:
        Auto merged
      sql/time.cc:
        Auto merged
      sql/unireg.cc:
        Auto merged
      strings/Makefile.am:
        Auto merged
      strings/ctype-latin1_de.c:
        Auto merged
      strings/ctype-tis620.c:
        Auto merged
      tools/mysqlmanager.c:
        Auto merged
      BitKeeper/deleted/.del-sslopt-case.h~224c80e75dad4997:
        merge with 4.0.3
      BitKeeper/triggers/post-commit:
        merge with 4.0.3
      client/mysql.cc:
        merge with 4.0.3 + simple optimsation
      client/mysqltest.c:
        merge with 4.0.3 (Indentation change)
      configure.in:
        merge with 4.0.3
      extra/resolve_stack_dump.c:
        merge with 4.0.3 (Indentation change)
      include/Makefile.am:
        merge with 4.0.3
      include/myisam.h:
        merge with 4.0.3 (Indentation change)
      include/mysql.h:
        merge with 4.0.3 (removed not used structure)
      include/mysqld_error.h:
        merge with 4.0.3
      libmysql/Makefile.shared:
        merge with 4.0.3
      libmysql/libmysql.c:
        merge with 4.0.3 (Indentation change)
      libmysqld/Makefile.am:
        merge with 4.0.3
      myisam/ft_boolean_search.c:
        merge with 4.0.3 (Indentation change)
      myisam/ft_nlq_search.c:
        merge with 4.0.3 (Indentation change)
      myisam/mi_check.c:
        merge with 4.0.3
      myisam/mi_search.c:
        merge with 4.0.3
      myisam/mi_unique.c:
        merge with 4.0.3
      mysys/Makefile.am:
        merge with 4.0.3
      mysys/mf_casecnv.c:
        merge with 4.0.3
      sql-bench/server-cfg.sh:
        Removed 8000 max row limit for Innodb
      sql/Makefile.am:
        merge with 4.0.3
      sql/field.cc:
        Indentation cleanup
        Changed sprintf -> my_sprintf
      sql/field.h:
        merge with 4.0.3
      sql/ha_heap.cc:
        merge with 4.0.3 (Indentation change)
      sql/item.h:
        merge with 4.0.3 (Indentation change)
      sql/item_cmpfunc.cc:
        merge with 4.0.3
      sql/item_cmpfunc.h:
        Removed size_of() from items
        Indentation cleanup
      sql/item_create.cc:
        merge
      sql/item_create.h:
        merge
      sql/item_func.cc:
        Added comments
        Changed string functions to use character set of first string argument as default return characterset
        Simple optimizations.
        Removed return of uninitalized variable.
      sql/item_func.h:
        merge
      sql/item_strfunc.cc:
        merge with 4.0.3 (Indentation change)
      sql/item_strfunc.h:
        removed size_of()
      sql/item_uniq.h:
        removed size_of()
      sql/lex.h:
        merge with 4.0.3 (Indentation change)
      sql/log_event.cc:
        Add ` around database in 'use database' in binary log.
      sql/mysql_priv.h:
        merge with 4.0.3
      sql/mysqld.cc:
        merge with 4.0.3 (Indentation change)
      sql/share/czech/errmsg.txt:
        merge
      sql/share/danish/errmsg.txt:
        merge
      sql/share/dutch/errmsg.txt:
        merge
      sql/share/english/errmsg.txt:
        merge
      sql/share/estonian/errmsg.txt:
        merge
      sql/share/french/errmsg.txt:
        merge
      sql/share/german/errmsg.txt:
        merge
      sql/share/greek/errmsg.txt:
        merge
      sql/share/hungarian/errmsg.txt:
        merge
      sql/share/italian/errmsg.txt:
        merge
      sql/share/japanese/errmsg.txt:
        merge
      sql/share/korean/errmsg.txt:
        merge
      sql/share/norwegian-ny/errmsg.txt:
        merge
      sql/share/norwegian/errmsg.txt:
        merge
      sql/share/polish/errmsg.txt:
        merge
      sql/share/portuguese/errmsg.txt:
        merge
      sql/share/romanian/errmsg.txt:
        merge
      sql/share/russian/errmsg.txt:
        merge
      sql/share/slovak/errmsg.txt:
        merge
      sql/share/spanish/errmsg.txt:
        merge
      sql/share/swedish/errmsg.txt:
        merge
      sql/share/ukrainian/errmsg.txt:
        merge
      sql/sql_acl.cc:
        merge with 4.0.3
      sql/sql_base.cc:
        More comments
        Fixed bug in send_fields() when using convert
      sql/sql_class.cc:
        merge
      sql/sql_class.h:
        Merge with 4.0.3
        Moved max_error_count and max_warning_count to variables struct.
      sql/sql_delete.cc:
        merge with 4.0.3 (Indentation change)
      sql/sql_lex.h:
        merge with 4.0.3
      sql/sql_parse.cc:
        Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT.
        (Should be retrived from variables)
      sql/sql_select.cc:
        merge with 4.0.3
      sql/sql_show.cc:
        merge with 4.0.3
      sql/sql_union.cc:
        merge with 4.0.3
      sql/sql_update.cc:
        merge with 4.0.3
      sql/sql_yacc.yy:
        merge with 4.0.3
        Indentation cleanup
      sql/structs.h:
        merge with 4.0.3
      sql/table.cc:
        merge with 4.0.3
      sql/table.h:
        merge with 4.0.3
      9421f1da
  2. 27 Aug, 2002 2 commits
  3. 26 Aug, 2002 6 commits
  4. 25 Aug, 2002 2 commits
  5. 24 Aug, 2002 6 commits
    • unknown's avatar
    • unknown's avatar
      Portability fix for AIX 4.3 powerpc with gcc 3.2 · 5d641b12
      unknown authored
      
      BitKeeper/deleted/.del-rpl_compat.test~5f6ba955e02aa95f:
        deleted old test
      Docs/manual.texi:
        Added comment about shared libraries to upgrade section
      5d641b12
    • unknown's avatar
      Adding a necessary functionality to ::store and ::save_in_field · 7f13b1bd
      unknown authored
      that will take place properly after pull from 4.0, in order to 
      handle conversions from quoted constants to bigint's.
      
      
      7f13b1bd
    • unknown's avatar
      lock0lock.c: · 4e9a0f55
      unknown authored
        Fix a spurious deadlock introduced in the previous fix when next-key locks are requested for a page supremum record
      
      
      innobase/lock/lock0lock.c:
        Fix a spurious deadlock introduced in the previous fix when next-key locks are requested for a page supremum record
      4e9a0f55
    • unknown's avatar
    • unknown's avatar
      Give better error from reconnect() · 02f8c163
      unknown authored
      Fixed hang in start_slave_threads() when thread dies quickly.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Indentation cleanup
        More DBUG info
      libmysql/libmysql.c:
        More DBUG info
        Give better error from reconnect()
      mysql-test/r/rpl_rotate_logs.result:
        Update results
      mysql-test/t/rpl_log_pos.test:
        Fix for fast machines
      mysql-test/t/rpl_rotate_logs.test:
        Updated test to be more portable
      scripts/mysql_zap.sh:
        Update for MacOSX
      sql/mini_client.cc:
        Better error messages from reconnect.
        Indentation cleanups
      sql/slave.cc:
        Fixed hang in start_slave_threads() when thread dies quickly.
      sql/slave.h:
        Fixed hang in start_slave_threads() when thread dies quickly.
      02f8c163
  6. 23 Aug, 2002 9 commits
    • unknown's avatar
      merge with 3.23 · 839ebeca
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs-master.opt:
        Auto merged
      mysql-test/t/rpl_rotate_logs-slave-master-info.opt:
        Auto merged
      mysql-test/t/rpl_rotate_logs-slave.sh:
        Auto merged
      839ebeca
    • unknown's avatar
      Removed wrong mutex lock (hangup in kill on HPUX) · c216222b
      unknown authored
      all free_defaults() on exit in mysql.cc;  Should fix problem with SSL
      
      
      Docs/manual.texi:
        Added information about --skip-innodb
      client/mysql.cc:
        Call free_defaults() on exit
      client/mysqladmin.c:
        Call free_defaults() on exit
      client/mysqlimport.c:
        Call free_defaults() on exit
      mysql-test/r/rpl000016.result:
        Added testing of temporary tables with binary log rotation
      mysql-test/t/rpl000016.test:
        Added testing of temporary tables with binary log rotation
      sql/log.cc:
        Remove not used variable
      sql/sql_class.h:
        Removed wrong mutex lock (hangup in kill on HPUX)
      c216222b
    • unknown's avatar
      lexyy.c, pars0lex.l, pars0grm.c, pars0grm.y: · 067babae
      unknown authored
        Port alloca and Windows fix from 3.23
      
      
      innobase/pars/pars0grm.y:
        Port alloca and Windows fix from 3.23
      innobase/pars/pars0grm.c:
        Port alloca and Windows fix from 3.23
      innobase/pars/pars0lex.l:
        Port alloca and Windows fix from 3.23
      innobase/pars/lexyy.c:
        Port alloca and Windows fix from 3.23
      067babae
    • unknown's avatar
      lock0lock.c: · 81ca7f55
      unknown authored
        Eliminate a spurious deadlock when an insert waits for an update and a second update comes to wait after the insert
      
      
      innobase/lock/lock0lock.c:
        Eliminate a spurious deadlock when an insert waits for an update and a second update comes to wait after the insert
      81ca7f55
    • unknown's avatar
      Added testing of temporary tables with replication · e089fcce
      unknown authored
      
      mysql-test/t/rpl_rotate_logs-master.opt:
        Rename: mysql-test/t/rpl000016-master.opt -> mysql-test/t/rpl_rotate_logs-master.opt
      mysql-test/t/rpl_rotate_logs-slave.sh:
        Rename: mysql-test/t/rpl000016-slave.sh -> mysql-test/t/rpl_rotate_logs-slave.sh
      mysql-test/t/rpl_rotate_logs-slave-master-info.opt:
        Rename: mysql-test/t/rpl000016-slave-master-info.opt -> mysql-test/t/rpl_rotate_logs-slave-master-info.opt
      BitKeeper/etc/ignore:
        Added mit-pthreads/include/bits mit-pthreads/include/pthread/machdep.h mit-pthreads/include/pthread/posix.h mit-pthreads/include/sys mit-pthreads/machdep.c mit-pthreads/pg++ mit-pthreads/pgcc sql-bench/innotest1 sql-bench/innotest1a sql-bench/innotest1b sql-bench/innotest2 sql-bench/innotest2a sql-bench/innotest2b to the ignore list
      mysql-test/r/rpl_rotate_logs.result:
        Added testing of temporary tables
      mysql-test/t/rpl000018.test:
        Commented test
      mysql-test/t/rpl_rotate_logs.test:
        Added testing of temporary tables
      e089fcce
    • unknown's avatar
      merge with 3.23 tree · a0c16f90
      unknown authored
      
      configure.in:
        Auto merged
      Docs/manual.texi:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      innobase/configure.in:
        merge
      mysys/my_pthread.c:
        merge
      a0c16f90
    • unknown's avatar
      Changed relay_log_space to ulonglong · 41abdd90
      unknown authored
      Removed compiler warnings.
      
      
      Build-tools/Do-compile:
        Simple cleanup
      include/mysql.h:
        Use #include "" instead of include <>
      mysql-test/t/innodb_handler.test:
        Documented test
        Change to be runnable from mysql
      sql/mini_client.cc:
        Removed dead code
      sql/mysqld.cc:
        Changed relay_log_space to ulonglong
      sql/slave.cc:
        Changed relay_log_space to ulonglong
        Removed dead code
      sql/slave.h:
        Changed relay_log_space to ulonglong
      sql/sql_acl.cc:
        Removed not used variables
      sql/sql_base.cc:
        Removed not used variables
      sql/sql_cache.cc:
        Removed not used variables
      sql/sql_select.cc:
        Removed not used variables
      vio/vio.c:
        Re-order include files to remove compiler warnings
      41abdd90
    • unknown's avatar
      3452e9dd
    • unknown's avatar
      Fixed bug in mysqld when using configure --localstatedir · 335d9fb2
      unknown authored
      
      Docs/manual.texi:
        Changelog
      335d9fb2
  7. 22 Aug, 2002 14 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 · 915aaa18
      unknown authored
      
      Docs/manual.texi:
        Auto merged
      915aaa18
    • unknown's avatar
      Portabilityfix in mysqladmin.c · b6a45157
      unknown authored
      Fix when using --localstatedir
      Cleaned up mysql.server
      
      
      Build-tools/Do-compile:
        Remove test file timestamp2
      Docs/manual.texi:
        Changelog
      client/mysqladmin.c:
        Portability fix
      scripts/make_binary_distribution.sh:
        Fix for mysql.server
      sql/mysqld.cc:
        Fix when using --localstatedir
      support-files/mysql.server.sh:
        More comments for usage of 'basedir'
      b6a45157
    • unknown's avatar
      Fix changed URL on MySQL website. · 82802d3e
      unknown authored
      82802d3e
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 029dc2b3
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-4.1
      
      
      029dc2b3
    • unknown's avatar
      removed accidentally pushed file · 2077c986
      unknown authored
      
      BitKeeper/deleted/.del-sql_select.h.rej~9724e7a9d86d9f54:
        Delete: sql/sql_select.h.rej
      2077c986
    • unknown's avatar
      Fixed a bug in mysqladmin when it gave unneccessary warning · 0833663f
      unknown authored
      in shutdown operation.
      
      
      0833663f
    • unknown's avatar
      Cleanup of waiting for pidfile in mysqladmin · c75d2c42
      unknown authored
      
      client/mysqladmin.c:
        Cleanup of waiting for pidfile.
      c75d2c42
    • unknown's avatar
    • unknown's avatar
      Fixed bug in wait_for_update() that I had introduced. · e4d5597d
      unknown authored
      Changed option variables to my_bool (to avoid bugs in my_getopt())
      Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early.
      Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
      
      
      libmysqld/lib_sql.cc:
        Removed not needed LOCK
      mysql-test/mysql-test-run.sh:
        Log name of running test
      mysql-test/r/rpl_sporadic_master.result:
        Cleaned up test
      mysql-test/t/rpl_sporadic_master.test:
        cleaned up test
      sql/log.cc:
        Cleanup.
        Fixed bug in wait_for_update() that I had introduced.
      sql/mini_client.cc:
        Indentation changes.
      sql/mysql_priv.h:
        Changed option variables to my_bool.
      sql/mysqld.cc:
        Changed option variables to my_bool.
        Removed not used LOCK_server_id
        Minor code cleanups.
      sql/repl_failsafe.cc:
        Minor code cleanups
      sql/slave.cc:
        Minor code cleanups.
        Fixed usage of wait_for_update().
      sql/slave.h:
        Changed option variables to my_bool.
      sql/sql_class.cc:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_class.h:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_insert.cc:
        Do broadcast after unlock()
      sql/sql_parse.cc:
        Removed not needed LOCK
        Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
        Changed killing of threads to not lock LOCK_thread_count for long.
      sql/sql_repl.cc:
        Changed options variables to my_bool
        Fixed usage of wait_for_update()
        Fixed loop to kill slaves to not lock LOCK_thread_count for long.
        Code optimization.
      sql/sql_repl.h:
        bool -> my_bool
        Fixed KICK_SLAVE to use LOCK_delete
      e4d5597d
    • unknown's avatar
      Merge abarkov@work.mysql.com:/home/bk/mysql-4.1 · a18cac66
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1.dyn
      
      
      a18cac66
    • unknown's avatar
      Stupid bug fixes in sql_yacc.cc · 56e866ae
      unknown authored
      New class Item_func_set_collation()
      Fixed that "SELECT CONVERT(expr USING charset) GROUP BY 1" was not working
      New COLLATION syntax:  <expr> COLLATE latin1 
      
      
      mysql-test/r/ctype_many.result:
        New test slot has been added
      mysql-test/t/ctype_many.test:
        New test slot has been added
      sql/item_strfunc.cc:
        "SELECT CONVERT(expr USING another_charset) GROUP BY 1"  was not working as expected
        New Item_func_set_collation class
      sql/item_strfunc.h:
        "SELECT CONVERT(expr USING another_charset) GROUP BY 1"  was not working as expected
        New Item_func_set_collation class
      sql/lex.h:
        New keyword
      sql/sql_yacc.yy:
        Stupid bug fixes
        COLLATION syntax
      56e866ae
    • unknown's avatar
      pars0grm.h, pars0grm.c, lexyy.c: · e9e7c239
      unknown authored
        The lexer of InnoDB to 8-bit, it was 7-bit which made it crash on table names containing char codes > 127
      pars0lex.l, pars0grm.y:
        Add InnoDB internal SQL interpreter grammar and lexer sources
      
      
      innobase/pars/pars0grm.y:
        Add InnoDB internal SQL interpreter grammar and lexer sources
      innobase/pars/pars0lex.l:
        Add InnoDB internal SQL interpreter grammar and lexer sources
      innobase/pars/lexyy.c:
        The lexer of InnoDB to 8-bit, it was 7-bit which made it crash on table names containing char codes > 127
      innobase/pars/pars0grm.c:
        The lexer of InnoDB to 8-bit, it was 7-bit which made it crash on table names containing char codes > 127
      innobase/pars/pars0grm.h:
        The lexer of InnoDB to 8-bit, it was 7-bit which made it crash on table names containing char codes > 127
      innobase/include/pars0grm.h:
        The lexer of InnoDB to 8-bit, it was 7-bit which made it crash on table names containing char codes > 127
      e9e7c239
    • unknown's avatar
      lock0lock.h, lock0lock.c: · 1bde8158
      unknown authored
        Remove a spurious deadlock when >= 2 insert transactions have to wait because there is a next-key lock set
      
      
      innobase/lock/lock0lock.c:
        Remove a spurious deadlock when >= 2 insert transactions have to wait because there is a next-key lock set
      innobase/include/lock0lock.h:
        Remove a spurious deadlock when >= 2 insert transactions have to wait because there is a next-key lock set
      1bde8158
    • unknown's avatar
      Spatial code cleanup · d1a7eea8
      unknown authored
      d1a7eea8