1. 28 Jan, 2003 7 commits
    • unknown's avatar
      Fix predicted first rand() call · 9753cea1
      unknown authored
      
      sql/sql_class.cc:
        Fix Random hash initialization on for new connections to make result
        it more random
      9753cea1
    • unknown's avatar
      Updated results for 4.0 · 2d9a417d
      unknown authored
      2d9a417d
    • unknown's avatar
      merge · c97ddd06
      unknown authored
      
      include/my_sys.h:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      innobase/btr/btr0cur.c:
        Use local file
      scripts/make_binary_distribution.sh:
        Add mysql_waitpid
      sql/mysqld.cc:
        Simple cleanup
      c97ddd06
    • unknown's avatar
      Merge with 3.23.56 (Replace manual with 'empty' document) · 88b405c4
      unknown authored
      Fix for bug when using auto_increment column and LAST_INSERT_ID()
      
      
      Makefile.am:
        Auto merged
      ltconfig:
        Auto merged
      innobase/btr/btr0cur.c:
        Auto merged
      sql/Makefile.am:
        Auto merged
      Docs/Makefile.am:
        Merge with 3.23.56
      Docs/manual.texi:
        Merge with 3.23.56 (Replace manual with 'empty' document)
      libmysql/libmysql.c:
        Use local version
      sql/log.cc:
        Fix for bug when using auto_increment column and LAST_INSERT_ID()
      sql/sql_base.cc:
        Use local version
      88b405c4
    • 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
    • unknown's avatar
      72455300
    • unknown's avatar
      Make PACKET_TOO_LARGE error handling safer in client · c46c1258
      unknown authored
      
      libmysql/libmysql.c:
        Make PACKET_TOO_LARGE error handling safer
      c46c1258
  2. 27 Jan, 2003 11 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 35955563
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      35955563
    • unknown's avatar
      do not force CONNECTION_ID(), FOUND_ROWS(), PI(), CURRENT_USER(), · 0d470b8d
      unknown authored
      and VERSION() to be uppercase in e.g. "select pi()"
      
      
      mysql-test/r/func_math.result:
        result updated
      mysql-test/r/select_found.result:
        result updated
      mysql-test/r/union.result:
        result updated
      0d470b8d
    • unknown's avatar
      btr0cur.c: · 8d25a3fd
      unknown authored
        Backport from 4.0: Fix a major bug in InnoDB query estimator for queries of type SELECT ... WHERE col < x and SELECT ... WHERE col > x; MySQL could pick a table scan though the result set was only a few rows in a big table
      
      
      innobase/btr/btr0cur.c:
        Backport from 4.0: Fix a major bug in InnoDB query estimator for queries of type SELECT ... WHERE col < x and SELECT ... WHERE col > x; MySQL could pick a table scan though the result set was only a few rows in a big table
      8d25a3fd
    • unknown's avatar
      btr0cur.c: · 55f66ee9
      unknown authored
        Fix a major bug in InnoDB query estimator for queries of type SELECT ... WHERE col < x and SELECT ... WHERE col > x; MySQL could pick a table scan though the result set was only a few rows in a big table
      
      
      innobase/btr/btr0cur.c:
        Fix a major bug in InnoDB query estimator for queries of type SELECT ... WHERE col < x and SELECT ... WHERE col > x; MySQL could pick a table scan though the result set was only a few rows in a big table
      55f66ee9
    • unknown's avatar
      - removed unused CC and CXX variables · 3967668e
      unknown authored
       - CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
      
      
      3967668e
    • unknown's avatar
      Added option hostname.err · 6958e328
      unknown authored
      
      sql/sql_parse.cc:
        added option hostname.err
      6958e328
    • unknown's avatar
      remove warnings · 48f587a8
      unknown authored
      48f587a8
    • unknown's avatar
      - replaced manual.texi with a dummy placeholder file (manual.texi is · 933e2008
      unknown authored
         now maintained in a separate "mysqldoc" BK source tree) - it will be
         replaced with the correct manual.texi when building the official
         source distribution
       - fixed automake error about reservedwords.texi by moving it to EXTRA_DIST
         instead
      
      
      Docs/Makefile.am:
         - moved reservedwords.texi from info_TEXINFOS to EXTRA_DIST since it is
           not a full-featured texi file and automake would complain about
           "missing @setfilename"
      Docs/manual.texi:
         - replaced manual.texi with a dummy placeholder file (manual.texi is
           now maintained in a separate "mysqldoc" BK source tree) - it will be
           replaced with the correct manual.texi when building the official
           source distribution
      933e2008
    • unknown's avatar
      - added a dummy file "reservedwords.texi" to the BK tree and the Makefiles, · c67dcb4b
      unknown authored
         so it's part of the distribution (manual.texi includes this file)
         It will be replaced with the correct one from the mysqldoc tree before
         building the distribution
       - removed generation and inclusion of MIRRORS file, since the mirror list
         is no longer part of manual.texi anyway
       - replaced YFLAGS with AM_YFLAGS in sql/Makefile.am to make automake happy
       - Redirect standard error when checking for dpkg-architecture in ltconfig
         to avoid error message showing during configuration
      
      
      Docs/Makefile.am:
         - added reservedwords.texi (which gets included by manual.texi)
         - removed MIRRORS (mirror list is not part of the manual anymore)
      Docs/reservedwords.texi:
         - Updated wording a bit after adding it to the tree
      Makefile.am:
         - removed MIRRORS from EXTRA_DIST (it's not part of the manual anymore)
      ltconfig:
         - Redirect standard error when checking for dpkg-architecture
           to avoid error message showing during configuration (thanks to
           John Wythe for the patch)
      sql/Makefile.am:
         - replaced YFLAGS with AM_YFLAGS to make automake happy
      c67dcb4b
    • unknown's avatar
      fixes for SHOW VARIABLES and --ft-stopword-list · 73e6cc4f
      unknown authored
      73e6cc4f
    • unknown's avatar
      dee92169
  3. 26 Jan, 2003 5 commits
  4. 25 Jan, 2003 3 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
    • unknown's avatar
      Change bench files for mimer compability, change crash-me for correct testing time datafields · e1eb5d7c
      unknown authored
      
      sql-bench/crash-me.sh:
        rectify mimer section
      sql-bench/server-cfg.sh:
        - Add parameter time_format_inresult  
        - add parameters time_format_ISO, time_format_EUR, time_format_USA,          
         time_format_HHMMSS, time_format_HHHHMMSS
        - changed sub version() for mysql in the server-cfg, that version shows if 
         client connects with SSL
        - made --verbose by default
        - paramters func_extra_time_to_sec, ..sec_to_time, ..addtime, ..subtime, 
        ..timediff, ..maketime, ..time, func_odbc_hour, ..hour_time, ...minute, 
        ...second now uses time formats, that understandable for DBMS
      sql-bench/test-insert.sh:
        some changes for mimer compability
      sql-bench/test-select.sh:
        some changes for mimer compability
      e1eb5d7c
  5. 24 Jan, 2003 3 commits
  6. 23 Jan, 2003 9 commits
  7. 22 Jan, 2003 1 commit
  8. 21 Jan, 2003 1 commit