1. 14 Feb, 2003 1 commit
    • unknown's avatar
      Fixed problem when connecting to user without a password. · 5a12dff3
      unknown authored
      Fixed problem with LIKE and BINARY
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables
      client/mysqltest.c:
        Better error messages
      libmysql/libmysql.c:
        Simple code cleanup
        Simplified connect() and change_user() by using sub function
      libmysqld/lib_sql.cc:
        Ensure that new fields in MYSQL_FIELD structure is used
      mysql-test/r/rpl_user_variables.result:
        Cleaned up test
      mysql-test/r/type_blob.result:
        New test
      mysql-test/t/rpl_user_variables.test:
        Cleaned up test
      mysql-test/t/type_blob.test:
        New test
      sql/item.cc:
        Fixed that Item_ref returns the right character set
      sql/item_cmpfunc.cc:
        Fixed problem with LIKE and BINARY
      sql/item_func.cc:
        Don't store end ASCII(0) for string user variables
        (Made some other code easier)
      sql/log_event.cc:
        Don't store end ASCII(0) for string user variables.
        Fixed comment style
        Some optimizations
      sql/log_event.h:
        Optimized type
      sql/mini_client.cc:
        Indentation changes
      sql/mysql_priv.h:
        Made is_update_query extern
      sql/protocol.cc:
        Simple code cleanup
      sql/sql_acl.cc:
        Code cleanup
        Fixed problem when connecting to user without a password.
      sql/sql_lex.h:
        Fixed problem with uninitialized memory
      sql/sql_parse.cc:
        Fixed problem with user without passwords
        Fixed some connect problems.
      sql/time.cc:
        removed reference to uninitialized memory
      5a12dff3
  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 · 86ec3c8f
      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
      86ec3c8f
    • unknown's avatar
      Updated configure script to handle 1 digit numbers in MySQL version · 0a10f78f
      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
      0a10f78f
    • unknown's avatar
      Fixed a lot of wrong memory references as reported by valgrind · fcb61f59
      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
      fcb61f59
    • unknown's avatar
      Fixed a bug in mysqld_safe, when it earlier could have removed · c5040ddd
      unknown authored
      a socket from another, still living MySQL server.
      
      
      c5040ddd
    • unknown's avatar
      rt_index.c: · f3282731
      unknown authored
        Bug fix
      
      
      myisam/rt_index.c:
        Bug fix
      f3282731
  3. 11 Feb, 2003 4 commits
  4. 10 Feb, 2003 7 commits
    • unknown's avatar
      merge · 363fd89b
      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
      363fd89b
    • 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
    • unknown's avatar
    • unknown's avatar
      Better fix for count(distinct) bug · 03865c5f
      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
      03865c5f
    • unknown's avatar
      Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql · 1846f732
      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
      1846f732
    • unknown's avatar
      556bb7bb
    • unknown's avatar
      count(distint) on an empty table crash fixed · 7910884c
      unknown authored
      
      BitKeeper/etc/ignore:
        Added support-files/MacOSX/Description.plist support-files/MacOSX/Info.plist to the ignore list
      7910884c
  5. 09 Feb, 2003 2 commits
  6. 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
  7. 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
  8. 06 Feb, 2003 3 commits
    • unknown's avatar
      dfb18889
    • 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