1. 07 Feb, 2003 13 commits
    • unknown's avatar
      merge · 2eb507a9
      unknown authored
      
      configure.in:
        Auto merged
      mysql-test/t/explain.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_create.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      2eb507a9
    • unknown's avatar
      Update lengths for fields in MYSQL_FIELD · f721a40a
      unknown authored
      
      client/mysql.cc:
        Use field->name_length
      sql/lex.h:
        fix after merge
      f721a40a
    • unknown's avatar
      Fixed problem that caused automake to fail · 3caf242f
      unknown authored
      3caf242f
    • unknown's avatar
    • unknown's avatar
      Fix problem in MIN/MAX optimisation (from last patch) · 419976bd
      unknown authored
      Don't make OLD_PASSWORD() a reserved word
      
      
      mysql-test/r/explain.result:
        Test select count(*)
      mysql-test/r/func_crypt.result:
        Test old_password()
      mysql-test/t/explain.test:
        Test select count(*)
      mysql-test/t/func_crypt.test:
        Test old_password()
      sql/item_create.cc:
        Don't make OLD_PASSWORD() a reserved word
      sql/item_create.h:
        Don't make OLD_PASSWORD() a reserved word
      sql/lex.h:
        Don't make OLD_PASSWORD() a reserved word
      sql/opt_range.cc:
        Remove blank space
      sql/opt_sum.cc:
        Fix problem in MIN/MAX optimisation
      419976bd
    • unknown's avatar
      page0cur.c: · dc1d5bb1
      unknown authored
        Disable PAGE_CUR_LE_OR_EXTENDS because it does not work for non-latin1 char sets now
      
      
      innobase/page/page0cur.c:
        Disable PAGE_CUR_LE_OR_EXTENDS because it does not work for non-latin1 char sets now
      dc1d5bb1
    • unknown's avatar
      ha_innodb.cc: · 48d34be2
      unknown authored
        Clarify the meaning of HA_READ_PREFIX_LAST as a search flag. InnoDB assumed the meaning wrong.
      
      
      sql/ha_innodb.cc:
        Clarify the meaning of HA_READ_PREFIX_LAST as a search flag. InnoDB assumed the meaning wrong.
      48d34be2
    • unknown's avatar
      Merge with 4.0 to get fix for MIN/MAX · 7d9aa596
      unknown authored
      
      BitKeeper/etc/ignore:
        added support-files/MacOSX/Info.plist
      Makefile.am:
        Auto merged
      include/my_global.h:
        Auto merged
      mysql-test/r/distinct.result:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/join.result:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/order_by.test:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_range.h:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      configure.in:
        Use local version
      mysql-test/r/func_group.result:
        merge
      mysql-test/r/order_by.result:
        merge
      mysql-test/r/show_check.result:
        merge
      mysql-test/t/func_group.test:
        merge
      mysql-test/t/join.test:
        merge
      sql/mysql_priv.h:
        Use local version
      sql/sql_yacc.yy:
        merge
      sql/table.cc:
        USe local
      7d9aa596
    • unknown's avatar
      After merge fixes & remove compiler warnings · 46f98c3c
      unknown authored
      Added lengths for all MYSQL_FIELD string parameters
      Changed field length to 2 byte in .frm files
      
      
      configure.in:
        After merge fixes
      include/ft_global.h:
        Fixed copyright
      include/my_sys.h:
        Remove compiler warnings
      include/mysql.h:
        Added lengths for all MYSQL_FIELD string parameters
      include/mysql_com.h:
        Remove compiler warning
      myisam/ft_boolean_search.c:
        Removed compiler warnings
      myisam/ft_dump.c:
        Removed compiler warnings
      myisam/ft_stopwords.c:
        Copy file from MySQL 4.0
      myisam/mi_delete.c:
        Fixed compiler warning
      myisam/sort.c:
        Indentation changes
      myisam/sp_test.c:
        Remove compiler warnings
      mysql-test/r/func_group.result:
        After merge fixes
      mysql-test/r/group_by.result:
        After merge fixes
      mysql-test/r/rpl_insert_id.result:
        After merge fixes
      mysql-test/r/rpl_master_pos_wait.result:
        After merge fixes
      mysql-test/t/rpl000009.test:
        After merge fixes
      mysql-test/t/rpl_insert_id.test:
        After merge fixes
      mysql-test/t/subselect.test:
        After merge fixes
      sql/item_cmpfunc.cc:
        After merge fixes
      sql/item_cmpfunc.h:
        After merge fixes
      sql/item_func.cc:
        After merge fixes
      sql/item_func.h:
        After merge fixes
      sql/item_strfunc.cc:
        After merge fixes
      sql/item_strfunc.h:
        After merge fixes
      sql/log.cc:
        After merge fixes
      sql/mysql_priv.h:
        After merge fixes
      sql/mysqld.cc:
        After merge fixes
      sql/sql_db.cc:
        After merge fixes
      sql/sql_handler.cc:
        After merge fixes
      sql/sql_parse.cc:
        After merge fixes
      sql/sql_show.cc:
        After merge fixes
      sql/sql_udf.cc:
        After merge fixes
      sql/table.cc:
        Changed field length to 2 byte in .frm files
      sql/unireg.cc:
        Changed field length to 2 byte in .frm files
      46f98c3c
    • unknown's avatar
    • unknown's avatar
      ha_innodb.cc: · db4f836b
      unknown authored
        Since MySQL uses HA_READ_PREFIX_LAST in a wrong place, we make InnoDB to convert it to a right search condition
      
      
      sql/ha_innodb.cc:
        Since MySQL uses HA_READ_PREFIX_LAST in a wrong place, we make InnoDB to convert it to a right search condition
      db4f836b
    • unknown's avatar
      Added test for SHOW CREATE · def31a51
      unknown authored
      def31a51
    • unknown's avatar
      Allow 4.0 to read new 4.1 .frm files · c3c460cd
      unknown authored
      
      Makefile.am:
        Remove blank lines
      configure.in:
        Keep version gamma
      c3c460cd
  2. 06 Feb, 2003 2 commits
    • unknown's avatar
      page0cur.c: · 9360578a
      unknown authored
        Sinisas patch to InnoDB ORDER BY DESC bug, push it now so that Jani has it available
      
      
      innobase/page/page0cur.c:
        Sinisas patch to InnoDB ORDER BY DESC bug, push it now so that Jani has it available
      9360578a
    • unknown's avatar
      Added START TRANSACTION syntax · 37383bea
      unknown authored
      Added ALL as parameter option for all group functions.
      Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
      Sort NULL last if DESC is used (ANSI SQL 99 requirement)
      
      
      include/my_global.h:
        Moved LL from mysql_priv (as this is also in config-win.h)
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/func_group.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/t/func_group.test:
        Added test for SUM(ALL ...)
      mysql-test/t/innodb.test:
        Added test for START TRANSACTION
      mysql-test/t/join.test:
        Test different join syntaxes
      mysql-test/t/order_by.test:
        Added new test of NULL ordering.
      sql/filesort.cc:
        Sort NULL last if DESC is used
      sql/lex.h:
        Added OLD_PASSWORD() as synonym for PASSWORD.
      sql/mysql_priv.h:
        Removed LL()
      sql/opt_range.cc:
        Sort NULL last if DESC is used
      sql/opt_range.h:
        Sort NULL last if DESC is used
      sql/slave.cc:
        Indentation changes
      sql/sql_parse.cc:
        After merge fix
      sql/sql_select.cc:
        Added comment
      sql/sql_yacc.yy:
        Added START TRANSACTION syntax
        Added ALL as parameter option for all group functions.
        Make join handling uniform.
      37383bea
  3. 05 Feb, 2003 1 commit
    • unknown's avatar
      Many files: · 87904917
      unknown authored
        new file
      .del-overlay.tar.gz~5bd3087e191e7574:
        Delete: netware/overlay.tar.gz
      
      
      BitKeeper/deleted/.del-overlay.tar.gz~5bd3087e191e7574:
        Delete: netware/overlay.tar.gz
      87904917
  4. 04 Feb, 2003 5 commits
    • unknown's avatar
      ha_innodb.cc: · e8a43fe8
      unknown authored
        Fix potential bug: if MySQL calls store_lock with the TL_IGNORE argument in the middle of query processing, then InnoDB select_lock_type could be reset to LOCK_NONE in a wrong place
      
      
      sql/ha_innodb.cc:
        Fix potential bug: if MySQL calls store_lock with the TL_IGNORE argument in the middle of query processing, then InnoDB select_lock_type could be reset to LOCK_NONE in a wrong place
      e8a43fe8
    • unknown's avatar
      Merge with 4.0.11 · 1f007bf2
      unknown authored
      
      BitKeeper/etc/gone:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      Makefile.am:
        Auto merged
      bdb/os/os_handle.c:
        Auto merged
      client/mysqladmin.c:
        Auto merged
      client/mysqlcheck.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      extra/resolveip.c:
        Auto merged
      include/Makefile.am:
        Auto merged
      include/config-win.h:
        Auto merged
      include/my_base.h:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      include/mysql.h:
        Auto merged
      innobase/btr/btr0cur.c:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      libmysql/Makefile.am:
        Auto merged
      libmysql/Makefile.shared:
        Auto merged
      libmysql/manager.c:
        Auto merged
      libmysqld/libmysqld.c:
        Auto merged
      myisam/ft_static.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      myisam/mi_test3.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/func_group.result:
        Auto merged
      mysql-test/r/func_math.result:
        Auto merged
      mysql-test/r/handler.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/r/select_found.result:
        Auto merged
      mysql-test/r/union.result:
        Auto merged
      mysql-test/t/backup.test:
        Auto merged
      mysql-test/t/bigint.test:
        Auto merged
      mysql-test/t/binary.test:
        Auto merged
      mysql-test/t/count_distinct.test:
        Auto merged
      mysql-test/t/func_crypt.test:
        Auto merged
      mysql-test/t/func_group.test:
        Auto merged
      mysql-test/t/grant_cache.test:
        Auto merged
      mysql-test/t/handler.test:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      mysql-test/t/rpl000015.test:
        Auto merged
      mysql-test/t/rpl000017.test:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/my_getwd.c:
        Auto merged
      mysys/my_init.c:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/des_key_file.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/hostname.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_create.h:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_udf.cc:
        Auto merged
      sql-bench/crash-me.sh:
        Auto merged
      sql-bench/server-cfg.sh:
        Auto merged
      sql-bench/test-insert.sh:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/table.cc:
        Auto merged
      Docs/manual.texi:
        Use remote version
      client/mysql.cc:
        Merge
      configure.in:
        Merge
      libmysql/libmysql.c:
        Merge
      libmysqld/lib_sql.cc:
        Merge
      myisam/ft_stopwords.c:
        Merge
      myisam/myisamchk.c:
        Merge
      mysql-test/r/bigint.result:
        Merge
      mysql-test/r/group_by.result:
        Merge
      mysql-test/r/rpl000009.result:
        Merge
      mysql-test/t/group_by.test:
        Merge
      mysql-test/t/rpl000009.test:
        Merge
      mysql-test/t/rpl_rotate_logs.test:
        Merge
      mysys/Makefile.am:
        Merge
      mysys/charset.c:
        Merge
      sql/item.h:
        Merge
      sql/item_cmpfunc.cc:
        Merge
      sql/item_cmpfunc.h:
        Merge
      sql/item_create.cc:
        Merge
      sql/item_func.cc:
        Merge
      sql/item_strfunc.h:
        Merge
      sql/log.cc:
        Merge
      sql/mysql_priv.h:
        Merge
      sql/mysqld.cc:
        Merge
      sql/protocol.cc:
        Merge
      sql/slave.cc:
        Merge
      sql/sql_class.h:
        Merge
      sql/sql_db.cc:
        Merge
      sql/sql_handler.cc:
        Merge
      sql/sql_parse.cc:
        Merge
      sql/sql_select.cc:
        Merge
      sql/sql_yacc.yy:
        Merge
      1f007bf2
    • unknown's avatar
      After merge fix · 0c1e0663
      unknown authored
      
      include/violite.h:
        Indentation cleanup
      0c1e0663
    • unknown's avatar
      merge · 47587ab2
      unknown authored
      
      sql/item.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      47587ab2
    • unknown's avatar
      Added charset number to result header · f0f38b28
      unknown authored
      
      Docs/internals.texi:
        Updated protocol information
      sql/mysql_priv.h:
        Removed clear_error_message()
      sql/mysqld.cc:
        Removed not used function clear_error_message
      sql/protocol.cc:
        Simple code cleanup
      sql/sql_parse.cc:
        Changed clear_error_message() to thd->clear_error()
        Simple optimization.
      f0f38b28
  5. 03 Feb, 2003 13 commits
    • unknown's avatar
    • unknown's avatar
      Fixed bug in ulonglong parsing for constructs that only takes unsigned longlong as parameter. · 8113a546
      unknown authored
      
      mysql-test/r/bigint.result:
        Test if big LONG_NUM
      mysql-test/t/bigint.test:
        Test if big LONG_NUM
      8113a546
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 · ec3a185a
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      
      configure.in:
        Auto merged
      ec3a185a
    • unknown's avatar
      - added support-files/MacOSX to include files specific for building · d758c768
      unknown authored
         MacOSX packages using PackageMaker
       - renamed support-files/PKG -> support-files/SCO (PKG is used in MacOS X
         terminology as well)
      
      
      support-files/SCO/INSTALL.sh:
        mvdir
      support-files/SCO/compile.sh:
        mvdir
      support-files/SCO/doc.sh:
        mvdir
      support-files/SCO/mkpkg.sh:
        mvdir
      support-files/SCO/patch:
        mvdir
      support-files/SCO/pkginfo.ini:
        mvdir
      support-files/SCO/postinstall:
        mvdir
      support-files/SCO/preinstall:
        mvdir
      support-files/SCO/preremove:
        mvdir
      support-files/SCO/prototype.ini:
        mvdir
      support-files/SCO/version:
        mvdir
      support-files/MacOSX/make_mysql_pkg.pl:
        Rename: support-files/make_mysql_pkg.pl -> support-files/MacOSX/make_mysql_pkg.pl
      configure.in:
         - added support-files/MacOSX
      support-files/Makefile.am:
         - added MacOSX subdirectory
      d758c768
    • unknown's avatar
    • unknown's avatar
      Fix for MIN/MAX with empty tables · 8c1c18fb
      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
      8c1c18fb
    • unknown's avatar
      Makefile.am: · c7ae0772
      unknown authored
        Added a conditional to prevent compilation of netware executables
      
      
      netware/Makefile.am:
        Added a conditional to prevent compilation of netware executables
      c7ae0772
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 4018541e
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      4018541e
    • unknown's avatar
      - really deleted makefile.w32 to resolve a namespace conflict on · 151ee267
      unknown authored
         case-insensitive File Systems (e.g. Mac OS X)
      
      151ee267
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · 1a56c5c9
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      1a56c5c9
    • unknown's avatar
      - renamed scripts/fill_func_tables.sh to scripts/fill_help_tables and · 9683095a
      unknown authored
         updated all relevant files to honor this change (as discussed with vva)
       - added some more comments to the fill_help_tables script
       - minor cleanups
      
      
      scripts/Makefile.am:
         - renamed fill_funct_tables -> fill_help_tables to clarify purpose
           of this script (after discussing this with vva)
         - make sure "make clean" removes both the output and the script
         - fixed tabbing
      scripts/fill_help_tables.sh:
         - reflect name change, add some more info about the function of this script
      scripts/mysql_install_db.sh:
         - renamed fill_func_tables.sql -> fill_help_tables.sql (this does not yet
           resolve the problem that mysql_install_db does not find this file in 
           the binary distribution)
      9683095a
    • unknown's avatar
      - added missing files/directories from bdb and libedit to source distribution · de3a16bb
      unknown authored
       - make sure to not included BK's "SCCS" directories in source distribution
      
      
      Makefile.am:
         - make sure to not include BKs "SCCS" directories in the source distribution
      bdb/Makefile.in:
         - added missing subdirectories to source distribution
      cmd-line-utils/libedit/Makefile.am:
         - added missing files to source distribution
      de3a16bb
    • unknown's avatar
      bug tests added · 8805ebbb
      unknown authored
      8805ebbb
  6. 02 Feb, 2003 4 commits
    • unknown's avatar
      after-review changes (577 SCRUM) · 51456451
      unknown authored
      
      sql/item.cc:
        typo fix
      sql/item.h:
        typo fix
      sql/item_cmpfunc.cc:
        comment
      sql/item_func.cc:
        new interface
      sql/item_subselect.cc:
        comment inserted
      sql/item_sum.cc:
        layout fixed
        comment inserted
      sql/mysql_priv.h:
        names changed
      sql/sql_base.cc:
        some optimization
      sql/sql_delete.cc:
        name changed
      sql/sql_insert.cc:
        name changed
      sql/sql_lex.h:
        name changed
      sql/sql_prepare.cc:
        layout fixed
      sql/sql_select.cc:
        layout fixed
        names changed
        comments inserted
        debugging code removed
      sql/sql_select.h:
        name changed
      sql/sql_union.cc:
        name changed
        layout fixed
      sql/sql_update.cc:
        name changed
      sql/sql_yacc.yy:
        typo fixed
      51456451
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 · 4bc86daf
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/work-select-4.1
      
      
      sql/item_func.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      4bc86daf
    • unknown's avatar
    • unknown's avatar
      Fixed core dump bug in 'mysql' when using \p in prompt on Windows. · 550454a4
      unknown authored
      Fixed error when mysql_unix_port pointed to const string (not uncommon on windows)
      
      
      
      client/mysql.cc:
        Fixed core dump bug when using \p in prompt on Windows.
      sql/mysqld.cc:
        Fixed error when mysql_unix_port pointed to const string.
      550454a4
  7. 31 Jan, 2003 2 commits
    • unknown's avatar
      Many files: · 8cfe603d
      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
      8cfe603d
    • unknown's avatar
      Force to read all unread packets on stmt_close · 43b66b58
      unknown authored
      
      tests/client_test.c:
        tests for un cleared packets
      43b66b58