1. 03 Feb, 2003 6 commits
    • unknown's avatar
    • unknown's avatar
      Fix for MIN/MAX with empty tables · c73dcb5e
      unknown authored
      MIN(key_column) could in some cases return NULL on a column with NULL and other values.
      MIN(key_column) and MAX(key_column) could in some cases return wrong values when used in OUTER JOIN.
      
      
      configure.in:
        Updated version number
      libmysqld/libmysqld.c:
        Portability fix (for windows)
      mysql-test/r/func_group.result:
        Added test case for MIN/MAX problems
      mysql-test/t/func_group.test:
        Added test case for MIN/MAX problems
      sql/item.h:
        Fix for MIN/MAX with empty tables
      sql/item_sum.h:
        Fix for MIN/MAX with empty tables
      sql/opt_sum.cc:
        MIN(key_column) could in some cases return NULL on a column
        with NULL and other values.
        MIN(key_column) and MAX(key_column) could in some cases
        return wrong values when used in OUTER JOIN.
      sql/sql_select.cc:
        Fix for MIN/MAX with empty tables
      c73dcb5e
    • unknown's avatar
      Makefile.am: · 39f46988
      unknown authored
        Added a conditional to prevent compilation of netware executables
      
      
      netware/Makefile.am:
        Added a conditional to prevent compilation of netware executables
      39f46988
    • unknown's avatar
      - really deleted makefile.w32 to resolve a namespace conflict on · 271dcc57
      unknown authored
         case-insensitive File Systems (e.g. Mac OS X)
      
      
      271dcc57
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 5bc41c8b
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      5bc41c8b
    • unknown's avatar
      bug tests added · 56ca80ef
      unknown authored
      56ca80ef
  2. 02 Feb, 2003 2 commits
  3. 31 Jan, 2003 1 commit
    • unknown's avatar
      Many files: · 88301da1
      unknown authored
        new file
      Makefile.am:
        Changes from Novell diff
      
      
      netware/Makefile.am:
        Changes from Novell diff
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      88301da1
  4. 30 Jan, 2003 2 commits
  5. 29 Jan, 2003 11 commits
    • unknown's avatar
      After merge fix · 9c356bf4
      unknown authored
      9c356bf4
    • unknown's avatar
      merge with 3.23.56 to get patches for --lower-case-table-names and · 93ebd4d6
      unknown authored
      proper handling of SUM() in some functions.
      
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/group_by.result:
        merge with 3.23.56
      mysql-test/t/group_by.test:
        merge with 3.23.56
      sql/item_strfunc.h:
        merge with 3.23.56
      sql/mysqld.cc:
        merge with 3.23.56
      sql/sql_parse.cc:
        merge with 3.23.56
      sql/sql_yacc.yy:
        merge with 3.23.56
      93ebd4d6
    • unknown's avatar
      Fixed compilation error on windows · 9c89ce7b
      unknown authored
      
      sql/sql_table.cc:
        Added comments
      9c89ce7b
    • unknown's avatar
    • unknown's avatar
      Fixed handling of lower_case_table_names in SHOW TABLE STATUS,... · bdfa5497
      unknown authored
      Fixed handling of lower_case_table_names in SHOW TABLE STATUS, mysql_list_fields() and mysql_table_dump().
      This fixes some Errcode 13 errors on Windows when deleting tables.
      
      
      
      sql/mysql_priv.h:
        Moved lower case conversion of database names to check_db_name()
      sql/mysqld.cc:
        Fix to be able to use 4.0 error message files
      sql/sql_db.cc:
        Moved lower case conversion of database names to check_db_name()
      sql/sql_parse.cc:
        Moved lower case conversion of database names to check_db_name()
        Added checking of lower_case_table_names for mysql_table_dump() and
        mysql_list_fields()
      sql/sql_show.cc:
        Moved lower case conversion of database names to check_db_name()
      sql/table.cc:
        Convert database names to lower case in check_db-name() if --lower-case-table-names is used.
      bdfa5497
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 · 0458a921
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      
      0458a921
    • unknown's avatar
      Merge akishkin@work.mysql.com:/home/bk/mysql-4.0 · 88206d4d
      unknown authored
      into mysql.com:/home/walrus/bk/40
      
      
      88206d4d
    • unknown's avatar
      crash-me.sh: · 7a740753
      unknown authored
        restore nake_time and make_time_r
      
      
      sql-bench/crash-me.sh:
        restore nake_time and make_time_r
      7a740753
    • unknown's avatar
      fixed functions to be able work with group function as argument · cec5bc1d
      unknown authored
      made bisone 1.75 compatible code
      
      
      mysql-test/r/group_by.result:
        test of function with agregate function inside
      mysql-test/t/group_by.test:
        test of function with agregate function inside
      sql/item_cmpfunc.cc:
        fixed functions to be able work with group function as argument
      sql/item_cmpfunc.h:
        fixed functions to be able work with group function as argument
      sql/item_func.cc:
        fixed functions to be able work with group function as argument
      sql/item_func.h:
        fixed functions to be able work with group function as argument
      sql/item_strfunc.cc:
        fixed functions to be able work with group function as argument
      sql/item_strfunc.h:
        fixed functions to be able work with group function as argument
      sql/sql_yacc.yy:
        made bisone 1.75 compatible code
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      cec5bc1d
    • unknown's avatar
      7e78a949
    • unknown's avatar
      ha_innodb.cc: · 6dc436fa
      unknown authored
        Cleanup of the previous bug fix: replace code is either SQLCOM_REPLACE or SQLCOM_REPLACE_SELECT
      
      
      sql/ha_innodb.cc:
        Cleanup of the previous bug fix: replace code is either SQLCOM_REPLACE or SQLCOM_REPLACE_SELECT
      6dc436fa
  6. 28 Jan, 2003 18 commits
    • unknown's avatar
      ha_innodb.cc: · 25aa3098
      unknown authored
        Fix a bug REPLACE INTO t SELECT ... did not work if t has an auto-inc column
      
      
      sql/ha_innodb.cc:
        Fix a bug REPLACE INTO t SELECT ... did not work if t has an auto-inc column
      25aa3098
    • unknown's avatar
    • unknown's avatar
      Fixed a bug in --auto-repair. · 2ea4eedc
      unknown authored
      2ea4eedc
    • unknown's avatar
      Merge pzaitsev@work.mysql.com:/home/bk/mysql-4.0 · baa10e31
      unknown authored
      into mysql.com:/home/pz/mysql/mysql-4.0-root
      
      
      baa10e31
    • unknown's avatar
      merge · 24167f94
      unknown authored
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Use local vrsion
      24167f94
    • unknown's avatar
      Only write to the error log if --log-error is specified and --console is not specified · b533cd5c
      unknown authored
      (On Windows --log-error is enabled by default)
      
      
      
      mysys/my_getopt.c:
        Call get_one_option() also for boolean values.
      scripts/mysqld_safe.sh:
        Add option --log-error
      sql/log.cc:
        Fix for --log-error
      sql/mysql_priv.h:
        Fix for --log-error
      sql/mysqld.cc:
        Fix for --log-error
      sql/sql_udf.cc:
        Lock the mysql/func table properly
      b533cd5c
    • 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
      - added netware subdirectory to distribution · 8b790656
      unknown authored
      
      Makefile.am:
         - added netware to SUBDIRS
      netware/Makefile.am:
         - add netware.patch to distribution
      8b790656
    • unknown's avatar
      low-level error messages cleanup · 73284c93
      unknown authored
      
      extra/perror.c:
        error messages fixups
      include/my_base.h:
        error codes fixups
      myisam/mi_open.c:
        correct error reported
      myisam/myisamchk.c:
        correct error reported
      myisammrg/myrg_open.c:
        correct error reported
      sql/ha_innodb.cc:
        correct error reported
      sql/ha_isam.cc:
        reorder table file extensions to get better error on "cannot open the table"
      sql/ha_myisam.cc:
        reorder table file extensions to get better error on "cannot open the table"
      sql/ha_myisammrg.cc:
        correct error reported
      sql/handler.cc:
        correct error reported
      73284c93
    • unknown's avatar
      Use on Unix hostname.err only when --log-error=path. · 3758c92b
      unknown authored
      Asked by Heikki and Peter.
      
      
      sql/mysqld.cc:
        Use on Unix hostname.err only when --log-error=path.
      3758c92b
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · a29d8507
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      a29d8507
    • unknown's avatar
      fixed "DROP table_open_in_handler" hang · d490b56e
      unknown authored
      d490b56e
    • 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