1. 13 Feb, 2003 1 commit
    • unknown's avatar
      sql_yacc.yy: · 5c05416b
      unknown authored
        Compilation failure fix
      
      
      sql/sql_yacc.yy:
        Compilation failure fix
      5c05416b
  2. 12 Feb, 2003 5 commits
    • unknown's avatar
      Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1 · 98c91945
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      98c91945
    • unknown's avatar
      Updated configure script to handle 1 digit numbers in MySQL version · 95025e59
      unknown authored
      Fixed a few typos from last patch
      
      
      configure.in:
        Updated script to handle 1 digit numbers in MySQL version
      libmysqld/libmysqld.c:
        Added mysql_get_server_version
      sql/sql_parse.cc:
        Fixed typo in last patch
      sql/sql_yacc.yy:
        Fixed typo in last patch
      95025e59
    • unknown's avatar
      Fixed a lot of wrong memory references as reported by valgrind · d79e52a7
      unknown authored
      Portability fixes
      Added new client function: mysql_get_server_version()
      New server help code (From Victor Vagin)
      Fixed wrong usage of binary()
      Disabled RTREE usage for now.
      
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables.sql
      client/mysql.cc:
        Some fixes when using 'help'
      cmd-line-utils/libedit/compat.h:
        Portability fix
      cmd-line-utils/libedit/fgetln.c:
        Portability fix
      include/mysql.h:
        Added new client function: mysql_get_server_version()
      libmysql/libmysql.c:
        Added new client function: mysql_get_server_version()
      libmysqld/libmysqld.c:
        Fixed prototype
      mysql-test/install_test_db.sh:
        Added creation of help tables
      mysql-test/r/connect.result:
        Added help tables
      mysql-test/r/myisam.result:
        Test of RTREE index
      mysql-test/r/type_ranges.result:
        updated results
      mysql-test/t/myisam.test:
        Test of RTREE index
      mysql-test/t/type_ranges.test:
        Updated test
      mysys/charset.c:
        Indentation change
      mysys/my_symlink.c:
        Removed compiler warning
      scripts/fill_help_tables.sh:
        Update for new help tables
      sql/field.cc:
        Indentation changes
      sql/filesort.cc:
        Optimized character set usage
      sql/item_cmpfunc.cc:
        Fix wrong usage of binary()
      sql/item_cmpfunc.h:
        Fix wrong usage of binary()
      sql/item_func.cc:
        Fix wrong usage of binary()
      sql/item_func.h:
        Fix wrong usage of binary()
      sql/item_strfunc.cc:
        Fix wrong usage of binary()
      sql/item_sum.cc:
        Fix wrong usage of binary()
      sql/item_sum.h:
        Fix wrong usage of binary()
      sql/key.cc:
        Indentation change
      sql/lex.h:
        HELP -> HELP_SYM
      sql/mysql_priv.h:
        Make get_field() more general
      sql/password.c:
        Indentation change + variable initialisation moved
      sql/sql_acl.cc:
        Make get_field() more general
      sql/sql_base.cc:
        Added comments + assertion for double call to mysql_lock_tables
      sql/sql_cache.cc:
        Indentation changes
      sql/sql_class.h:
        Added need_strxnfrm to SORT_FIELD to be able to optimise character set handling in filesort
      sql/sql_derived.cc:
        Renamed variables
      sql/sql_help.cc:
        New help functions (from Victor Vagin)
      sql/sql_lex.cc:
        Removed variables that doesn't have to be initialized for each query
      sql/sql_lex.h:
        Removed not used variable (olap)
      sql/sql_parse.cc:
        Fixed (not fatal) access of unitialized memory
        Indentation / code cleanup
      sql/sql_prepare.cc:
        Indentaion cleanup
      sql/sql_table.cc:
        Disabled RTREE until 5.0
      sql/sql_udf.cc:
        Make get_field() more general
      sql/sql_yacc.yy:
        Removed access to uninitialized memory
        Always set offset_limit and select_limit when using LIMIT (removed warnings)
        Allow usage of 'help week'
      sql/table.cc:
        Make get_field() more general
        More comments
      sql/table.h:
        Fixded type of TABLE_LIST->derived
      sql/time.cc:
        Stricter date / datetime handling (to be able to handle timestamps with days and microseconds)
      strings/ctype-bin.c:
        Added cha
      d79e52a7
    • unknown's avatar
      Fixed a bug in mysqld_safe, when it earlier could have removed · d88d7160
      unknown authored
      a socket from another, still living MySQL server.
      
      d88d7160
    • unknown's avatar
      rt_index.c: · fb55c457
      unknown authored
        Bug fix
      
      
      myisam/rt_index.c:
        Bug fix
      fb55c457
  3. 11 Feb, 2003 4 commits
  4. 10 Feb, 2003 7 commits
    • unknown's avatar
      merge · 8754d58f
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/deleted/.del-configure.in~ac795a92c8fe049c:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/t/count_distinct.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      8754d58f
    • unknown's avatar
      Move tmp_table_used to THD · fd898a3e
      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
      fd898a3e
    • unknown's avatar
    • unknown's avatar
      Better fix for count(distinct) bug · 31bf8b62
      unknown authored
      
      include/my_sys.h:
        Remove compiler warning
      mysql-test/mysql-test-run.sh:
        Don't examine log files when you run with --extern
      31bf8b62
    • unknown's avatar
      Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql · 2f10da3d
      unknown authored
      into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      Build-tools/Do-compile:
        Auto merged
      bdb/dist/configure.in:
        Auto merged
      scripts/mysqlhotcopy.sh:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      2f10da3d
    • unknown's avatar
      81dd16a1
    • unknown's avatar
      count(distint) on an empty table crash fixed · 6938e7d1
      unknown authored
      
      BitKeeper/etc/ignore:
        Added support-files/MacOSX/Description.plist support-files/MacOSX/Info.plist to the ignore list
      6938e7d1
  5. 09 Feb, 2003 2 commits
  6. 08 Feb, 2003 2 commits
    • unknown's avatar
    • unknown's avatar
      after merge fix · 8d0f6900
      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
      8d0f6900
  7. 07 Feb, 2003 16 commits
    • unknown's avatar
      merge with 4.0.11 to get fix for thread stack · 7f32453d
      unknown authored
      7f32453d
    • unknown's avatar
      Check how much stack we got; Needed to be able to run crash-me · 02f400c5
      unknown authored
      
      sql-bench/limits/mysql.cfg:
        Updated results
      02f400c5
    • 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
      mysqld.xdc: · e8f8ca26
      unknown authored
        new file
      
      e8f8ca26
    • 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
  8. 06 Feb, 2003 3 commits
    • unknown's avatar
      a07bde32
    • 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