1. 10 Feb, 2003 1 commit
    • unknown's avatar
      Move tmp_table_used to THD · 96273457
      unknown authored
      Optimize depending sub querys
      Remove valgrind warnings
      
      
      libmysqld/lib_sql.cc:
        Better way to reset errors
      mysql-test/mysql-test-run.sh:
        Remove wrong `
      mysql-test/r/subselect.result:
        Don't use table t1
      mysql-test/t/subselect.test:
        Don't use table t1
      sql/item.cc:
        Indentation fix
      sql/item.h:
        optimize depending sub querys
      sql/item_func.cc:
        Remove warning for uninitalized data
      sql/item_row.cc:
        Remove warning
      sql/item_strfunc.h:
        Fixed memory overrun
      sql/item_subselect.cc:
        Better debugging names
      sql/log_event.cc:
        Move tmp_table_used to THD
      sql/sql_base.cc:
        Move tmp_table_used to THD
      sql/sql_class.cc:
        Move tmp_table_used to THD
      sql/sql_class.h:
        Move tmp_table_used to THD
      sql/sql_lex.cc:
        Move tmp_table_used to THD
      sql/sql_lex.h:
        Move tmp_table_used to THD
      sql/sql_parse.cc:
        Move tmp_table_used to THD
      sql/sql_select.cc:
        optimize depending sub querys
      sql/sql_table.cc:
        Move tmp_table_used to THD
      96273457
  2. 09 Feb, 2003 2 commits
  3. 08 Feb, 2003 2 commits
    • unknown's avatar
    • unknown's avatar
      after merge fix · 0e755652
      unknown authored
      
      mysql-test/r/explain.result:
        updated results
      mysql-test/r/func_group.result:
        updated results
      mysql-test/r/order_by.result:
        updated results
      mysql-test/r/rpl000009.result:
        updated results
      mysql-test/r/rpl_insert_id.result:
        updated results
      mysql-test/r/show_check.result:
        updated results
      0e755652
  4. 07 Feb, 2003 16 commits
    • unknown's avatar
      merge with 4.0.11 to get fix for thread stack · 5d782cc5
      unknown authored
      5d782cc5
    • unknown's avatar
      Check how much stack we got; Needed to be able to run crash-me · 0cf63e82
      unknown authored
      
      sql-bench/limits/mysql.cfg:
        Updated results
      0cf63e82
    • unknown's avatar
      merge · cb38070e
      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
      cb38070e
    • unknown's avatar
      Update lengths for fields in MYSQL_FIELD · 5dd528a2
      unknown authored
      
      client/mysql.cc:
        Use field->name_length
      sql/lex.h:
        fix after merge
      5dd528a2
    • unknown's avatar
      mysqld.xdc: · b759ce90
      unknown authored
        new file
      
      
      b759ce90
    • unknown's avatar
      Fixed problem that caused automake to fail · 133ed0bf
      unknown authored
      133ed0bf
    • unknown's avatar
    • unknown's avatar
      Fix problem in MIN/MAX optimisation (from last patch) · 5db7246f
      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
      5db7246f
    • unknown's avatar
      page0cur.c: · c161bbdb
      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
      c161bbdb
    • unknown's avatar
      ha_innodb.cc: · a811b06b
      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.
      a811b06b
    • unknown's avatar
      Merge with 4.0 to get fix for MIN/MAX · e751d298
      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
      e751d298
    • unknown's avatar
      After merge fixes & remove compiler warnings · d66e6024
      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
      d66e6024
    • unknown's avatar
    • unknown's avatar
      ha_innodb.cc: · 2760ecc8
      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
      2760ecc8
    • unknown's avatar
      Added test for SHOW CREATE · 7f841713
      unknown authored
      7f841713
    • unknown's avatar
      Allow 4.0 to read new 4.1 .frm files · 4c7fa215
      unknown authored
      
      Makefile.am:
        Remove blank lines
      configure.in:
        Keep version gamma
      4c7fa215
  5. 06 Feb, 2003 2 commits
    • unknown's avatar
      page0cur.c: · b2f8f07d
      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
      b2f8f07d
    • unknown's avatar
      Added START TRANSACTION syntax · dacf7f8f
      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.
      dacf7f8f
  6. 05 Feb, 2003 1 commit
    • unknown's avatar
      Many files: · c5a26332
      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
      c5a26332
  7. 04 Feb, 2003 5 commits
    • unknown's avatar
      ha_innodb.cc: · ed3b80e1
      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
      ed3b80e1
    • unknown's avatar
      Merge with 4.0.11 · 2ff82a7b
      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
      2ff82a7b
    • unknown's avatar
      After merge fix · 5a7189cf
      unknown authored
      
      include/violite.h:
        Indentation cleanup
      5a7189cf
    • unknown's avatar
      merge · adfe2c3a
      unknown authored
      
      sql/item.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      adfe2c3a
    • unknown's avatar
      Added charset number to result header · 5f64e3e8
      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.
      5f64e3e8
  8. 03 Feb, 2003 11 commits
    • unknown's avatar
    • unknown's avatar
      Fixed bug in ulonglong parsing for constructs that only takes unsigned longlong as parameter. · d6ca74d2
      unknown authored
      
      mysql-test/r/bigint.result:
        Test if big LONG_NUM
      mysql-test/t/bigint.test:
        Test if big LONG_NUM
      d6ca74d2
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 · 718ff4df
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      
      configure.in:
        Auto merged
      718ff4df
    • unknown's avatar
      - added support-files/MacOSX to include files specific for building · 46318870
      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
      46318870
    • 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
      Merge mysql.com:/space/my/mysql-4.1 · 55cb8679
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      55cb8679
    • 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
      - renamed scripts/fill_func_tables.sh to scripts/fill_help_tables and · a46ca55c
      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)
      a46ca55c