1. 28 Jan, 2003 1 commit
    • unknown's avatar
      Fixes for Netware · 84f81dc5
      unknown authored
      Call pthread_mutex_destroy() on not used mutex.
      Changed comments in .h and .c files from // -> /* */
      Added detection of mutex on which one didn't call pthread_mutex_destroy()
      Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
      Added optimisation for ORDER BY NULL
      
      
      BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
        Delete: sql/ChangeLog
      BUILD/compile-pentium-valgrind-max:
        Don't use valgrind with safemalloc as this can hide some bugs
      Makefile.am:
        Added platform dirs
      bdb/os/os_handle.c:
        Portability fix
      client/mysql.cc:
        Fixes for Netware.
        Fixed duplicate output when using 'tee'
        Simple optimisations
      client/mysqldump.c:
        Portability fix
      client/mysqltest.c:
        Portability fix
      configure.in:
        Fixes for Netware
      extra/resolveip.c:
        Fixes for Netware
      include/Makefile.am:
        Fixes for Netware
      include/config-win.h:
        Portability fix
      include/my_global.h:
        Fixes for Netware
      include/my_net.h:
        Fixes for Netware
      include/my_pthread.h:
        Fixes for Netware
        Added detection of mutexes that was not destroyed
      include/my_sys.h:
        Fixes for Netware
        Added 'extern' before external functions
      include/mysql.h:
        Fixes for Netware
      innobase/configure.in:
        Fixes for Netware
      innobase/include/os0thread.h:
        Fixes for Netware
      innobase/os/os0sync.c:
        Fixes for Netware
      innobase/os/os0thread.c:
        Fixes for Netware
      innobase/srv/srv0srv.c:
        Fixes for Netware
      innobase/srv/srv0start.c:
        Fixes for Netware
      innobase/sync/sync0sync.c:
        Fixes for Netware
      isam/test3.c:
        Disable test on Netware
      libmysql/Makefile.shared:
        Added my_sleep
      libmysql/get_password.c:
        Fixes for Netware
      libmysql/libmysql.c:
        Fixes for Netware
        Made mysql_once_init() global
      libmysql/manager.c:
        Fixes for Netware
      myisam/mi_test3.c:
        Disable test for netware
      mysql-test/mysql-test-run.sh:
        Give warning if output file contains errors
      mysql-test/r/count_distinct.result:
        More tests
      mysql-test/r/group_by.result:
        Test of ORDER BY NULL
      mysql-test/t/backup.test:
        Fixes for Netware
      mysql-test/t/count_distinct.test:
        More tests
      mysql-test/t/func_crypt.test:
        Fixes for Netware
      mysql-test/t/grant_cache.test:
        Fixes for Netware
      mysql-test/t/group_by.test:
        Tests of ORDER BY NULL
      mysql-test/t/rpl000015.test:
        Fixes for Netware
      mysql-test/t/rpl000017.test:
        Fixes for Netware
      mysql-test/t/rpl_rotate_logs.test:
        Fixes for Netware
      mysys/Makefile.am:
        Added my_sleep.c and my_netware.c
      mysys/charset.c:
        Fixes for Netware
      mysys/default.c:
        Fixes for Netware
      mysys/mf_tempfile.c:
        Fixes for Netware
      mysys/my_clock.c:
        Fixes for Netware
      mysys/my_copy.c:
        Fixes for Netware
      mysys/my_getwd.c:
        Changed function comment from // -> /* */
      mysys/my_init.c:
        Fixes for Netware
      mysys/my_lock.c:
        Fixes for Netware
      mysys/my_messnc.c:
        Fixes for Netware
      mysys/my_os2cond.c:
        Removed comment
      mysys/my_os2dirsrch.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2dirsrch.h:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2file64.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2mutex.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2thread.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2tls.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_pthread.c:
        Fixes for Netware
      mysys/my_redel.c:
        Fixes for Netware
      mysys/my_tempnam.c:
        Fixes for Netware
      mysys/my_thr_init.c:
        Remove created mutexes when program ends.
      mysys/mysys_priv.h:
        Cleanup
      mysys/safemalloc.c:
        Prefix error messages with "Error:"
      mysys/thr_alarm.c:
        Destroy internal mutex on end_thr_alarm.
      mysys/thr_mutex.c:
        Added detection of mutex on which one didn't call pthread_mutex_destroy()
      scripts/make_binary_distribution.sh:
        Fixes for Netware
      sql/des_key_file.cc:
        Free mutex at end
      sql/ha_innodb.cc:
        Free mutex at end
      sql/ha_myisam.cc:
        Changed warnings from REPAIR Note:
        (For mysql-test-run)
      sql/hostname.cc:
        Fixes for Netware
      sql/item.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/item_func.cc:
        Free used mutexes
      sql/item_sum.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/log.cc:
        Free used mutexes
      sql/my_lock.c:
        Fixes for Netware
      sql/mysql_priv.h:
        Fixes for Netware
      sql/mysqld.cc:
        Fixes for Netware
        Added Have_crypt
        Properly free mutexes from MYSQL_LOG by calling cleanup
        Free mutex before exit
      sql/repl_failsafe.cc:
        Fixes for Netware
      sql/set_var.cc:
        Added have_crypt
      sql/share/english/errmsg.txt:
        Added version socket and port to stderr log
      sql/slave.cc:
        Remove global MASTER_INFO variable and use instead an allocated variable.
        This allows us to correctly free used mutex.
      sql/slave.h:
        Move constructors and destuctors to slave.cc
        (To make it easier to clear all needed variables)
      sql/sql_base.cc:
        Safety fix
      sql/sql_class.h:
        Portability fixes.
        Added 'cleanup' to log handling to be able to free mutexes.
      sql/sql_insert.cc:
        Fixes for Netware
      mysys/my_sleep.c:
        E
      sql/sql_parse.cc:
        Fixes for Netware
      sql/sql_select.cc:
        Added optimisation for ORDER BY NULL
      sql/sql_select.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_table.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_udf.cc:
        Free mutex on end
      vio/test-ssl.c:
        Simple code cleanup
      vio/test-sslclient.c:
        Simple code cleanup
      vio/test-sslserver.c:
        Simple code cleanup
      vio/viotest-ssl.c:
        Simple code cleanup
      84f81dc5
  2. 25 Jan, 2003 2 commits
    • unknown's avatar
      Merge with 3.23.55 · 49e0eea5
      unknown authored
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      libmysql/Makefile.am:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      Build-tools/Do-compile:
        Use local version
      Makefile.am:
        remove double libmysql_r
      configure.in:
        Use local
      libmysql/libmysql.c:
        Dont abort connection if too big packet error
      sql/ha_innodb.cc:
        use local
      sql/net_serv.cc:
        use local
      sql/sql_parse.cc:
        Merge with 3.23.55 (fix double free of user)
      49e0eea5
    • unknown's avatar
      Added timeout for wait_for_master_pos · db47e4ca
      unknown authored
      Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
      Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      
      
      mysql-test/r/rpl000009.result:
        Fixed replication test after fixing replication of DROP/CREATE DATABASE
      mysql-test/t/rpl000009.test:
        Fixed replication test after fixing replication of DROP/CREATE DATABASE
      sql/item_create.cc:
        Added timeout for wait_for_master_pos
      sql/item_create.h:
        Added timeout for wait_for_master_pos
      sql/item_func.cc:
        Added timeout for wait_for_master_pos
      sql/item_func.h:
        Added timeout for wait_for_master_pos
      sql/lex.h:
        Added timeout for wait_for_master_pos
      sql/slave.h:
        Added timeout for wait_for_master_pos
        Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      sql/sql_parse.cc:
        Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      sql/sql_repl.cc:
        Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
      db47e4ca
  3. 24 Jan, 2003 2 commits
  4. 23 Jan, 2003 7 commits
  5. 22 Jan, 2003 1 commit
  6. 21 Jan, 2003 8 commits
  7. 20 Jan, 2003 4 commits
    • unknown's avatar
      ha_innobase.cc: · c0dd9d0a
      unknown authored
        Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
      
      
      sql/ha_innobase.cc:
        Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
      c0dd9d0a
    • unknown's avatar
      ha_innodb.cc: · d5833961
      unknown authored
        Convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
      
      
      sql/ha_innodb.cc:
        Convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
      d5833961
    • unknown's avatar
      os0file.c: · fb466c17
      unknown authored
        Fix an assertion about ERROR_LOCK_VIOLATION 33 in file write if InnoDB Hot Backup is run concurrently with mysqld in Windows
      
      
      innobase/os/os0file.c:
        Fix an assertion about ERROR_LOCK_VIOLATION 33 in file write if InnoDB Hot Backup is run concurrently with mysqld in Windows
      fb466c17
    • unknown's avatar
      Fixed bug with EXPLAIN on empty table · f6cbace9
      unknown authored
      
      mysql-test/r/explain.result:
        test of bug with EXPLAIN on empty table
      mysql-test/t/explain.test:
        test of bug with EXPLAIN on empty table
      f6cbace9
  8. 19 Jan, 2003 2 commits
  9. 18 Jan, 2003 6 commits
    • unknown's avatar
      Merge with 3.23 to get bug fix for SHOW PROCESSLIST + running thread · b2ba400f
      unknown authored
      
      myisam/mi_create.c:
        Auto merged
      sql/log.cc:
        Auto merged
      innobase/btr/btr0sea.c:
        Merge with 3.23 (use local file)
      sql/slave.cc:
        merge with 3.23
      sql/sql_db.cc:
        Merge with 3.23
      sql/sql_parse.cc:
        Merge with 3.23
      b2ba400f
    • unknown's avatar
    • unknown's avatar
      Only set thd->query to 0 if LOCK_thread_count is hold · bd705492
      unknown authored
      This fixes a possible core dump problem in SHOW PROCESSLIST
      
      
      sql/slave.cc:
        Only set thd->query to 0 if LOCK_thread_count is hold
      sql/sql_db.cc:
        Only set thd->query to 0 if LOCK_thread_count is hold
        Also first set query_length, then query
      sql/sql_parse.cc:
        Indentation changes
      bd705492
    • unknown's avatar
      Merge heikki@work.mysql.com:/home/bk/mysql · d803ae0a
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql
      
      
      d803ae0a
    • unknown's avatar
      btr0sea.c: · 99b31444
      unknown authored
        Backport from 4.0: fix bug in adaptive hash index search
      
      
      innobase/btr/btr0sea.c:
        Backport from 4.0: fix bug in adaptive hash index search
      99b31444
    • unknown's avatar
      btr0sea.h, btr0sea.c: · 43523184
      unknown authored
        Fix a crash in page_dir_find_owner_slot if an adaptive hash index search coincides with purge or an insert
      
      
      innobase/btr/btr0sea.c:
        Fix a crash in page_dir_find_owner_slot if an adaptive hash index search coincides with purge or an insert
      innobase/include/btr0sea.h:
        Fix a crash in page_dir_find_owner_slot if an adaptive hash index search coincides with purge or an insert
      43523184
  10. 17 Jan, 2003 7 commits