An error occurred fetching the project authors.
  1. 16 Feb, 2004 1 commit
    • unknown's avatar
      ft_boolean_syntax made changeable · 5a9ffa30
      unknown authored
      BitKeeper/deleted/.del-gstream.cc~e7a4fae849aff6c8:
        Delete: libmysqld/gstream.cc
      BitKeeper/deleted/.del-item_subselect.cc~80564bbdb47e8160:
        Delete: libmysqld/item_subselect.cc
      BitKeeper/deleted/.del-spatial.cc~604df7172b141762:
        Delete: libmysqld/spatial.cc
      BitKeeper/deleted/.del-sql_derived.cc~548b125128871c7a:
        Delete: libmysqld/sql_derived.cc
      BitKeeper/etc/ignore:
        Added libmysqld/item_subselect.cc libmysqld/sql_derived.cc to the ignore list
      5a9ffa30
  2. 02 Feb, 2004 1 commit
    • unknown's avatar
      just tried to find all 'skipp' and replace it with 'skip'. · f1bfba29
      unknown authored
      client/sql_string.cc:
        skipp -> skip
      dbug/dbug.c:
        skipp -> skip
      myisam/mi_create.c:
        skipp -> skip
      myisam/mi_dynrec.c:
        skipp -> skip
      myisam/mi_packrec.c:
        skipp -> skip
      myisam/mi_rrnd.c:
        skipp -> skip
      myisam/mi_test1.c:
        skipp -> skip
      myisam/myisampack.c:
        skipp -> skip
      myisam/rt_test.c:
        skipp -> skip
      myisam/sp_test.c:
        skipp -> skip
      mysys/default.c:
        skipp -> skip
      mysys/mf_iocache.c:
        skipp -> skip
      mysys/mf_pack.c:
        skipp -> skip
      mysys/mf_wcomp.c:
        skipp -> skip
      mysys/typelib.c:
        skipp -> skip
      sql/filesort.cc:
        skipp -> skip
      sql/item_strfunc.cc:
        skipp -> skip
      sql/mysqld.cc:
        skipp -> skip
      sql/opt_range.h:
        skipp -> skip
      sql/sql_delete.cc:
        skipp -> skip
      sql/sql_select.cc:
        skipp -> skip
      sql/sql_string.cc:
        skipp -> skip
      sql/sql_update.cc:
        skipp -> skip
      strings/ctype-bin.c:
        skipp -> skip
      strings/ctype-simple.c:
        skipp -> skip
      strings/r_strinstr.c:
        skipp -> skip
      strings/strinstr.c:
        skipp -> skip
      strings/strstr.c:
        skipp -> skip
      f1bfba29
  3. 26 Jan, 2004 1 commit
  4. 24 Jan, 2004 1 commit
    • unknown's avatar
      mysqld.cc: · 8cfd6d0c
      unknown authored
        Fixed a typo bug.
      
      
      sql/mysqld.cc:
        Fixed a typo bug.
      8cfd6d0c
  5. 19 Jan, 2004 1 commit
    • unknown's avatar
      Code cleanup · 43abc597
      unknown authored
      Fixed bug in optimizer where it didn't choose right table order in some cases
      
      
      myisam/mi_delete.c:
        Remove not needed include errno.h
      myisam/mi_delete_table.c:
        Remove not needed include errno.h
      myisam/mi_extra.c:
        Remove not needed include errno.h
      myisam/mi_locking.c:
        Remove not needed include errno.h
      myisam/mi_log.c:
        Remove not needed include errno.h
      myisam/mi_page.c:
        Remove not needed include errno.h
      myisam/mi_rename.c:
        Remove not needed include errno.h
      myisam/mi_update.c:
        Remove not needed include errno.h
      myisam/mi_write.c:
        Remove not needed include errno.h
      mysql-test/r/subselect.result:
        Update of test after optimzier fix
      mysys/charset.c:
        Code cleanup
      sql/item_cmpfunc.cc:
        Removed not needed comment
        Indentation cleanup
      sql/item_cmpfunc.h:
        Indentation cleanup
      sql/mysqld.cc:
        Updated comment for expire_logs_days
      sql/set_var.cc:
        Remved duplicate code
      sql/sql_select.cc:
        Fixed bug in optimizer where it didn't choose right table order in some cases (Bug found and fixed by Igor)
      43abc597
  6. 24 Dec, 2003 1 commit
    • unknown's avatar
      install_test_db.sh: · b72efef6
      unknown authored
        install-test-db did not substiture the path to charsets file, so tests failed with non-default collation incompiled, for example --with-collation=latin1_german1_ci
      mysqld.cc:
        better error messaging
      
      
      sql/mysqld.cc:
        better error messaging
      mysql-test/install_test_db.sh:
        install-test-db did not substiture the path to charsets file, so tests failed with non-default collation incompiled, for example --with-collation=latin1_german1_ci
      b72efef6
  7. 19 Dec, 2003 2 commits
    • unknown's avatar
      THD::lex now points to THD::main_lex like in 5.0 · 8d987f9e
      unknown authored
      All tests pass (client_test included)
      
      
      libmysqld/lib_sql.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/filesort.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/ha_innodb.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/ha_myisam.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/item.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/item_cmpfunc.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/item_create.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/item_func.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/item_subselect.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/item_sum.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/mysql_priv.h:
        THD::lex now points to THD::main_lex like in 5.0
      sql/mysqld.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/protocol.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/repl_failsafe.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/slave.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_acl.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_base.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_cache.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_class.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_class.h:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_delete.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_error.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_insert.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_lex.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_lex.h:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_parse.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_prepare.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_repl.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_select.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_table.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_union.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_update.cc:
        THD::lex now points to THD::main_lex like in 5.0
      sql/sql_yacc.yy:
        THD::lex now points to THD::main_lex like in 5.0
      8d987f9e
    • unknown's avatar
      Fixes after merge with 4.0 · 9c2a63e3
      unknown authored
      Cleaned up embedded library access and query cache handling
      Changed min stack size to 128K (to allow longer MyISAM keys)
      Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
      
      
      client/mysqldump.c:
        Fixed bugs found after merge
      include/mysql_embed.h:
        Disable query cache when using embedded version
      myisam/mi_check.c:
        Removed not used variable
      mysql-test/r/auto_increment.result:
        Fixed bugs found after merge
      mysql-test/r/bdb.result:
        Fixed bugs found after merge
      mysql-test/r/func_group.result:
        Fixed bugs found after merge
      mysql-test/r/func_str.result:
        Fixed bugs found after merge
      mysql-test/r/func_time.result:
        Fixed bugs found after merge
      mysql-test/r/group_by.result:
        Fixed bugs found after merge
      mysql-test/r/innodb.result:
        Fixed bugs found after merge
      mysql-test/r/insert.result:
        Fixed bugs found after merge
      mysql-test/r/join_outer.result:
        Fixed bugs found after merge
      mysql-test/r/loaddata.result:
        Fixed bugs found after merge
      mysql-test/r/multi_update.result:
        Fixed bugs found after merge
      mysql-test/r/mysqldump.result:
        Update results
      mysql-test/r/rpl_EE_error.result:
        Fixed bugs found after merge
      mysql-test/r/rpl_multi_update.result:
        Fixed bugs found after merge
      mysql-test/r/symlink.result:
        Update results
      mysql-test/r/type_blob.result:
        Update results
      mysql-test/r/type_datetime.result:
        Update results
      mysql-test/r/type_decimal.result:
        Update results
      mysql-test/r/type_enum.result:
        Fixed bugs found after merge
      mysql-test/r/type_timestamp.result:
        Update results
      mysql-test/r/union.result:
        Update results
      mysql-test/r/warnings.result:
        Update results
      mysql-test/t/bdb.test:
        Fix test for 4.1
      mysql-test/t/innodb.test:
        Fix test for 4.1
      mysql-test/t/multi_update.test:
        Fix test for 4.1
      mysql-test/t/mysqldump.test:
        Fix test for 4.1
      mysql-test/t/rpl_EE_error.test:
        Fix test for 4.1
      mysql-test/t/rpl_multi_update.test:
        Fix test for 4.1
      mysql-test/t/union.test:
        Cleanup
      mysys/charset.c:
        Check results from my_once_alloc()
      mysys/my_handler.c:
        part of 4.0 merge
      sql-common/client.c:
        Part of 4.0 merge
      sql/field.cc:
        After merge fixes
      sql/field.h:
        After merge fixes
      sql/ha_innodb.cc:
        Remove duplicate include files
      sql/item.cc:
        Changed automatic int conversion to be of type binary
      sql/item.h:
        After merge fixes
      sql/item_func.cc:
        Changed automatic int conversion to be of type binary
      sql/item_func.h:
        After merge fixes
      sql/item_strfunc.cc:
        Added comments
      sql/item_subselect.cc:
        Indentation fixes
      sql/item_sum.cc:
        Changed automatic int conversion to be of type binary
      sql/item_sum.h:
        After merge fixes
      sql/mysql_priv.h:
        Cleanup embedded library access checks
      sql/mysqld.cc:
        Changed min stack size to 128K (to allow longer MyISAM keys)
      sql/set_var.cc:
        Fixed compiler warnings
      sql/share/czech/errmsg.txt:
        Better error message
      sql/share/danish/errmsg.txt:
        Better error message
      sql/share/dutch/errmsg.txt:
        Better error message
      sql/share/english/errmsg.txt:
        Better error message
      sql/share/estonian/errmsg.txt:
        Better error message
      sql/share/french/errmsg.txt:
        Better error message
      sql/share/greek/errmsg.txt:
        Better error message
      sql/share/hungarian/errmsg.txt:
        Better error message
      sql/share/italian/errmsg.txt:
        Better error message
      sql/share/japanese/errmsg.txt:
        Better error message
      sql/share/korean/errmsg.txt:
        Better error message
      sql/share/norwegian-ny/errmsg.txt:
        Better error message
      sql/share/norwegian/errmsg.txt:
        Better error message
      sql/share/polish/errmsg.txt:
        Better error message
      sql/share/romanian/errmsg.txt:
        Better error message
      sql/share/russian/errmsg.txt:
        Better error message
      sql/share/serbian/errmsg.txt:
        Better error message
      sql/share/slovak/errmsg.txt:
        Better error message
      sql/share/spanish/errmsg.txt:
        Better error message
      sql/share/swedish/errmsg.txt:
        Better error message
      sql/share/ukrainian/errmsg.txt:
        Better error message
      sql/sql_acl.h:
        Cleaned up embedded library acccess checks
      sql/sql_base.cc:
        After merge fixes
      sql/sql_client.cc:
        After merge fixes
      sql/sql_parse.cc:
        After merge fixes
        Changed access check code for embedded library (needed to make code shorter and ensure that check_table_access() is called)
        Recoded create-table handling for CREATE TABLE ... SELECT to make code shorter and faster
      sql/sql_prepare.cc:
        Add missing arguments
      sql/sql_select.cc:
        After merge fixes
      sql/sql_update.cc:
        After merge fixes
      sql/sql_yacc.yy:
        Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
      sql/table.cc:
        After merge fixes
      9c2a63e3
  8. 18 Dec, 2003 2 commits
  9. 17 Dec, 2003 1 commit
    • unknown's avatar
      WorkLog #1323 (part 2) · 69cee792
      unknown authored
      New Statement: SHOW [STORAGE] ENGINES
      New System Variable: storage_engine
      New mysqld Argument: --default-storage-engine=
      
      
      include/mysqld_error.h:
        We now call handlers STORAGE ENGINEs
      include/sql_state.h:
        We now call handlers STORAGE ENGINEs
      mysql-test/r/create.result:
        table_type system variable becomes storage_engine
      mysql-test/r/key_cache.result:
        table_type system variable becomes storage_engine
      mysql-test/r/variables.result:
        table_type system variable becomes storage_engine
      mysql-test/r/warnings.result:
        Test for deprecated table_type system variable
      mysql-test/t/create.test:
        table_type system variable becomes storage_engine
      mysql-test/t/key_cache.test:
        table_type system variable becomes storage_engine
      mysql-test/t/variables.test:
        table_type system variable becomes storage_engine
      mysql-test/t/warnings.test:
        Test for deprecated table_type system variable
      sql/handler.cc:
        change name for consistency
      sql/handler.h:
        change name for consistency
      sql/lex.h:
        New keywords - ENGINES and STORAGE
      sql/mysql_priv.h:
        change name for consistency
      sql/mysqld.cc:
        New command like argument for default-storage-engine
      sql/set_var.cc:
        New system variable for storage_engine
      sql/set_var.h:
        New system variable for storage_engine
      sql/sql_lex.h:
        Change for consistancy
      sql/sql_parse.cc:
        Change for consistancy
      sql/sql_show.cc:
        Change for consistancy
      sql/sql_table.cc:
        Change for consistancy
      sql/sql_yacc.yy:
        New keywords: STORAGE and ENGINES
        Change table_types to storage_engines
        New statement: SHOW [STORAGE] ENGINES
      69cee792
  10. 16 Dec, 2003 1 commit
    • unknown's avatar
      Portability fixes (mostly test suite) · 3357bc7e
      unknown authored
      Make ENGINE= an alias for TYPE= (Compabiltiy with 4.1)
      Fix when using symlinked data files and realpath() is not working
      
      
      client/mysqltest.c:
        Copied mysqltest from 4.1 and modified this to compile in 4.0
        This was needed to get replace_columns to work.
      include/my_sys.h:
        Stop compiler warnings about alloca on freebsd
      myisam/mi_check.c:
        Fix when using symlinked data files and realpath() is not working
      mysql-test/r/handler.result:
        test engine=
      mysql-test/r/rpl_max_relay_size.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/r/rpl_rotate_logs.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/r/rpl_trunc_binlog.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/handler.test:
        test engine=
      mysql-test/t/rpl_log_pos.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_max_relay_size.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_rotate_logs.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_trunc_binlog.test:
        Use replace_columns to replace some 'not constant' columns
      mysys/my_symlink.c:
        More debugging
      sql/lex.h:
        Make ENGINE= an alias for TYPE=
      sql/mysqld.cc:
        Code cleanup
      strings/strto.c:
        Fix for True64
      strings/strtoll.c:
        Fix for True64
      strings/strtoull.c:
        Remove not needed include file
      3357bc7e
  11. 15 Dec, 2003 1 commit
    • unknown's avatar
      Added missing timeout function for named pipes and shared memory (fixes core dump on windows) · 9000046c
      unknown authored
      Signed auto_increment keys for HASH tables (like for MyISAM tables in 4.0)
      nitialize system_charset_info() early. Fixes core dump when starting windows service
      
      
      heap/hp_hash.c:
        Signed auto_increment keys for HASH tables (like for MyISAM tables in 4.0)
      mysql-test/r/create.result:
        More test for type returned by if_null()
      mysql-test/t/create.test:
        More test for type returned by if_null()
      sql/field.h:
        Remove not needed functions
      sql/item.cc:
        Use normal field create function instead of special functions just made for tmp_table_field_from_field_type
      sql/mysqld.cc:
        Initialize system_charset_info() early. Fixes core dump when starting windows service
      vio/vio.c:
        Added missing timeouts for named pipes and shared memory (fixes core dump on windows)
      vio/vio_priv.h:
        Added missing timeout function for named pipes and shared memory (fixes core dump on windows)
      vio/viosocket.c:
        Added missing timeout function for named pipes and shared memory (fixes core dump on windows)
      9000046c
  12. 14 Dec, 2003 2 commits
    • unknown's avatar
      Extend max_allowed_packet to 2G in mysql and mysqldump (Bug #2105) · afb07566
      unknown authored
      Don't dump data for MRG_ISAM or MRG_MYISAM tables. (Bug #1846)
      Ensure that 'lower_case_table_names' is always set on case insensitive file systems. (Bug #1812)
      One can now configure MySQL as windows service as a normal user. (Bug #1802)
      Database names is now compared with lower case in ON clause when lower_case_table_names is set. (Bug #1736)
      IGNORE ... LINES option didn't work when used with fixed length rows. (Bug #1704)
      Change INSERT DELAYED ... SELECT... to INSERT .... SELECT (Bug #1983)
      Safety fix for service 'mysql start' (Bug #1815)
      
      
      client/mysql.cc:
        Extend max_allowed_packet to 2G (Bug #2105)
      client/mysqldump.c:
        Extend max_allowed_packet to 2G (Bug #2105)
        Don't dump data for MRG_ISAM or MRG_MYISAM tables. (Bug #1846)
      configure.in:
        Test for file linux/config.h
      include/my_global.h:
        Portability fix (Bug #1924)
      mysql-test/r/insert.result:
        Update test results
      mysql-test/r/loaddata.result:
        Update test results
      mysql-test/r/lowercase_table.result:
        Update test results
      mysql-test/t/insert.test:
        Test INSERT ... DELAYED ... SELECT
      mysql-test/t/loaddata.test:
        Added test of LOAD DATA INFILE ... IGNORE # LINES for fixed size tables
      mysql-test/t/lowercase_table.test:
        Test mixed lower/uppercase database names
      sql/item.cc:
        Made function not inline (to make it easier to modify it without recompilation of all files)
      sql/item.h:
        Moved function to item.cc
      sql/mysqld.cc:
        Merge pidfile create code
        Ensure that 'lower_case_table_names' is always set on case insensitive file systems. (Bug #1812)
      sql/nt_servc.cc:
        One can now configure MySQL as windows service as a normal user. (Bug #1802)
      sql/sql_base.cc:
        Database names is now compared with lower case in ON clause when lower_case_table_names is set. (Bug #1736)
      sql/sql_class.h:
        Fixed type
      sql/sql_load.cc:
        IGNORE ... LINES option didn't work when used with fixed length rows. (Bug #1704)
      sql/sql_parse.cc:
        Change INSERT DELAYED ... SELECT... to INSERT .... SELECT
      strings/ctype-tis620.c:
        Ensure that memory is freed properly (Partly becasue of bug #1770)
        Bar should check the proposed patch in #1770 if we can use it
      support-files/mysql.server.sh:
        Safety fix (Bug #1815)
      afb07566
    • unknown's avatar
      mysqld.cc: · 7572bf7a
      unknown authored
        Resolution of a relative path for character sets dir.
      
      
      sql/mysqld.cc:
        Resolution of a relative path for character sets dir.
      7572bf7a
  13. 10 Dec, 2003 1 commit
  14. 09 Dec, 2003 3 commits
  15. 08 Dec, 2003 3 commits
    • unknown's avatar
      Create PID file with O_TRUNC, so that it is emptied before it is written to. · 9a1cb59c
      unknown authored
      Otherwise, if the previous run ended with a crash, and the PID was 1234,
      and you have rebooted the machine and the new PID is 99 then in the PID
      file you will have 9934.
      Note: users of mysqld_safe did not have the problem because this script
      deletes the PID file before starting mysqld.
      
      
      9a1cb59c
    • unknown's avatar
      Portability fixes for Windows · e505696f
      unknown authored
      VC++Files/client/mysqlclient.dsp:
        Update for windows
      VC++Files/libmysql/libmysql.dsp:
        Update for windows
      VC++Files/strings/strings.dsp:
        Update for windows
      libmysqld/lib_sql.cc:
        Update for windows
      scripts/make_win_src_distribution.sh:
        Update for windows
      scripts/mysql_install_db.sh:
        Update for windows
      sql/mysqld.cc:
        Remove not used variable
      sql/set_var.cc:
        Indentation cleanups
      sql/share/czech/errmsg.txt:
        Fixed wrong delimiters
      sql/share/danish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/dutch/errmsg.txt:
        Fixed wrong delimiters
      sql/share/english/errmsg.txt:
        Fixed wrong delimiters
      sql/share/estonian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/french/errmsg.txt:
        Fixed wrong delimiters
      sql/share/greek/errmsg.txt:
        Fixed wrong delimiters
      sql/share/hungarian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/italian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/japanese/errmsg.txt:
        Fixed wrong delimiters
      sql/share/korean/errmsg.txt:
        Fixed wrong delimiters
      sql/share/norwegian-ny/errmsg.txt:
        Fixed wrong delimiters
      sql/share/norwegian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/polish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/portuguese/errmsg.txt:
        Fixed wrong delimiters
      sql/share/romanian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/russian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/serbian/errmsg.txt:
        Fixed wrong delimiters
      sql/share/slovak/errmsg.txt:
        Fixed wrong delimiters
      sql/share/spanish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/swedish/errmsg.txt:
        Fixed wrong delimiters
      sql/share/ukrainian/errmsg.txt:
        Fixed wrong delimiters
      sql/sql_acl.cc:
        Removed compiler warnings
      strings/ctype-big5.c:
        Removed compiler warnings (VC++)
      strings/ctype-euc_kr.c:
        Removed compiler warnings (VC++)
      strings/ctype-gb2312.c:
        Removed compiler warnings (VC++)
      strings/ctype-gbk.c:
        Removed compiler warnings (VC++)
      strings/ctype-sjis.c:
        Removed compiler warnings (VC++)
      strings/ctype-ucs2.c:
        Removed compiler warnings (VC++)
      strings/ctype-ujis.c:
        Removed compiler warnings (VC++)
      e505696f
    • unknown's avatar
      Task ID 499:Add a new settable string variable(init_connect, init_slave) · a0e4a6de
      unknown authored
      to mysqld that is executed for all new connections.
      (Similar to the client command: mysql_options(... MYSQL_INIT_COMMAND ...).
      
      
      sql/mysql_priv.h:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/mysqld.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/protocol.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/set_var.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/slave.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/sql_class.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/sql_class.h:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/sql_parse.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      sql/sql_show.cc:
        Task ID	499:Add a new settable string variable(init_connect, init_slave)
        to mysqld that is executed for all new connections.
      a0e4a6de
  16. 07 Dec, 2003 1 commit
    • unknown's avatar
      WL#1175: more default_week_formats for iso compatibility · 468dcb60
      unknown authored
      New formats added for 'week()' function and 'default_week_format' option(4 - 7).
      Next formats is supported now:
      *Value* *Meaning*
        `0'     Week starts on Sunday; First Sunday of the year starts week 1.
        	  Week() returns 0-53.
        `1'     Week starts on Monday; Weeks numbered according to ISO 8601:1988.
      	  Week() returns 0-53.
        `2'     Week starts on Sunday; First Sunday of the year starts week 1.
        	  Week() returns 1-53.
        `3'     Week starts on Monday; Weeks numbered according to ISO 8601:1988.
      	  Week() returns 1-53.
        `4'     Week starts on Sunday; Weeks numbered according to ISO 8601:1988.
      	  Week() returns 0-53.
        `5'     Week starts on Monday;  First Monday of the year starts week 1.
        	  Week() returns 0-53.
        `6'     Week starts on Sunday; Weeks numbered according to ISO 8601:1988.
      	  Week() returns 1-53.
        `7'     Week starts on Monday;  First Monday of the year starts week 1.
        	  Week() returns 1-53.
      
      
      mysql-test/r/func_time.result:
        Test for 'default_week_format' option and 'week' function
      mysql-test/t/func_time.test:
        Test for 'default_week_format' option and 'week' function
      sql/item_timefunc.cc:
        WL#1175 more default_week_formats for iso compatibility
      sql/mysql_priv.h:
        WL#1175 more default_week_formats for iso compatibility
      sql/mysqld.cc:
        WL#1175 more default_week_formats for iso compatibility
      sql/time.cc:
        WL#1175 more default_week_formats for iso compatibility
      468dcb60
  17. 04 Dec, 2003 3 commits
  18. 02 Dec, 2003 1 commit
    • unknown's avatar
      WorkLog#1280 - Remove fixed table handler from lex/yacc · c74c90ee
      unknown authored
      include/mysqld_error.h:
        New error message: unknown table engine
      mysql-test/r/create.result:
        New error message: unknown table engine
      mysql-test/t/create.test:
        New error message: unknown table engine
      sql/lex.h:
        Remove some keywords: HEAP, ISAM, MERGE, MEMORY, MRG_MYISAM, MYISAM
      sql/mysql_priv.h:
        Remove unused symbol
      sql/set_var.h:
        New system variable type: sys_var_thd_table_type
      sql/sql_yacc.yy:
        Remove tokens and make table_types resolve at run time
      sql/sql_show.cc:
        Tidy up
      sql/sql_table.cc:
        Tidy up
      include/sql_state.h:
        Fix indent
      sql/mysqld.cc:
        optimize
      mysql-test/r/rpl_change_master.result:
        It wouldn't pass the tests
      mysql-test/r/variables.result:
        Fix for changes
      mysql-test/r/warnings.result:
        Fix for changes
      mysql-test/t/variables.test:
        Fix for changes
      sql/handler.h:
        parameter is a const
      sql/set_var.cc:
        Code clean up for sys_var_thd_table_type::check()
      sql/handler.cc:
        More tidyup
      sql/share/czech/errmsg.txt:
        Fixups during review
      sql/share/danish/errmsg.txt:
        Fixups during review
      sql/share/dutch/errmsg.txt:
        Fixups during review
      sql/share/english/errmsg.txt:
        Fixups during review
      sql/share/estonian/errmsg.txt:
        Fixups during review
      sql/share/french/errmsg.txt:
        Fixups during review
      sql/share/german/errmsg.txt:
        Fixups during review
      sql/share/greek/errmsg.txt:
        Fixups during review
      sql/share/hungarian/errmsg.txt:
        Fixups during review
      sql/share/italian/errmsg.txt:
        Fixups during review
      sql/share/japanese/errmsg.txt:
        Fixups during review
      sql/share/korean/errmsg.txt:
        Fixups during review
      sql/share/norwegian-ny/errmsg.txt:
        Fixups during review
      sql/share/norwegian/errmsg.txt:
        Fixups during review
      sql/share/polish/errmsg.txt:
        Fixups during review
      sql/share/portuguese/errmsg.txt:
        Fixups during review
      sql/share/romanian/errmsg.txt:
        Fixups during review
      sql/share/russian/errmsg.txt:
        Fixups during review
      sql/share/serbian/errmsg.txt:
        Fixups during review
      sql/share/slovak/errmsg.txt:
        Fixups during review
      sql/share/spanish/errmsg.txt:
        Fixups during review
      sql/share/swedish/errmsg.txt:
        Fixups during review
      sql/share/ukrainian/errmsg.txt:
        Fixups during review
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c74c90ee
  19. 01 Dec, 2003 1 commit
    • unknown's avatar
      Portability fixes (for binary build) · 91de6fdb
      unknown authored
      Added --protocol to mysqlbinlog
      
      
      client/mysql.cc:
        Indentation cleanup
      client/mysqlbinlog.cc:
        Added protocol option
      mysql-test/r/rpl_until.result:
        Update results
      mysql-test/t/rpl_until.test:
        If --sleep option was given then the salve could do many retries, which affected the size of the binary log. This is fixed by not comparing the binary log size/position
      sql/mysqld.cc:
        More debugging with set_maximum_open_files()
      vio/viosocket.c:
        Portability fix.
      91de6fdb
  20. 26 Nov, 2003 1 commit
    • unknown's avatar
      Added compilation comment to 'show variables' · fa9047e2
      unknown authored
      This makes it possible to check origin of binary from the output of 'show variables'
      
      
      include/mysql_version.h.in:
        Added MYSQL_COMPILATION_COMMENT
      sql/mysqld.cc:
        Added compilation comment to mysqld --version
      sql/set_var.cc:
        Added compilation comment to 'show variables'
      fa9047e2
  21. 23 Nov, 2003 1 commit
    • unknown's avatar
      Fixed compiler warnings from Intel compiler in Win64 · ce44db9f
      unknown authored
      Added option --max-record-length=# to myisamchk
      Don't try repair twice if doing myisamchk --repair --force
      Shared memory handler didn't clean up things on errors or shutdown
      
      
      VC++Files/libmysqltest/mytest.c:
        Fixed compiler warnings from Intel compiler
      include/myisam.h:
        Added option --max-record-length=# to myisamchk
      include/mysql_com.h:
        Fixed compiler warnings from Intel compiler
      innobase/btr/btr0btr.c:
        Fixed compiler warnings from Intel compiler
      innobase/btr/btr0cur.c:
        Fixed compiler warnings from Intel compiler
      innobase/include/btr0btr.ic:
        Fixed compiler warnings from Intel compiler
      innobase/include/buf0buf.ic:
        Fixed compiler warnings from Intel compiler
      innobase/include/row0sel.ic:
        Fixed compiler warnings from Intel compiler
      innobase/include/row0upd.ic:
        Fixed compiler warnings from Intel compiler
      innobase/include/trx0rseg.ic:
        Fixed compiler warnings from Intel compiler
      innobase/pars/pars0opt.c:
        Fixed compiler warnings from Intel compiler
      innobase/que/que0que.c:
        Fixed compiler warnings from Intel compiler
      myisam/mi_check.c:
        Added option --max-record-length=# to myisamchk
        Better error messages
      myisam/myisamchk.c:
        Added option --max-record-length=# to myisamchk
        Don't try repair twice if doing myisamchk --repair --force
      mysql-test/r/create.result:
        Updated test results
      mysql-test/t/create.test:
        Better initialization
      sql/ha_innodb.cc:
        Fixed compiler warnings from Intel compiler
      sql/item_func.cc:
        Fixed compiler warnings from Intel compiler
      sql/mysqld.cc:
        Fixed compiler warnings from Intel compiler
        Cleaned up handle_connections_shared_memory
        Shared memory handler didn't clean up things on errors or shutdown
      strings/bmove512.c:
        Fixed compiler warnings from Intel compiler
      ce44db9f
  22. 20 Nov, 2003 1 commit
    • unknown's avatar
      Merge key cache structures to one · 35da5e43
      unknown authored
      Fixed compiler warnings (IRIX C compiler and VC++)
      
      
      VC++Files/client/mysqlclient.dsp:
        Add missing file to project
      VC++Files/libmysql/libmysql.dsp:
        Add missing file to project
      VC++Files/myisam/myisam.dsp:
        Add missing file to project
      VC++Files/mysys/mysys.dsp:
        Add missing file to project
      heap/hp_test1.c:
        Fixed wrong call to heap_rkey()
      heap/hp_test2.c:
        Fixed wrong call to heap_rkey()
      include/hash.h:
        Move not used (internal) struct to hash.c
      include/my_pthread.h:
        Made some structs 'const char*' to avoid warnings
      include/my_sys.h:
        Moved key cache structs and functions to keycache.h
      include/myisam.h:
        Merge key cache structures to one
      include/mysql.h:
        Remove STDCALL from internal functions
      include/sql_common.h:
        Remove STDCALL from internal functions
      include/violite.h:
        Fixed compiler warning
      isam/_locking.c:
        Merge key cache structures to one
      isam/_page.c:
        Merge key cache structures to one
      isam/close.c:
        Merge key cache structures to one
      isam/extra.c:
        Merge key cache structures to one
      isam/isamchk.c:
        Merge key cache structures to one
      isam/isamdef.h:
        Merge key cache structures to one
      isam/isamlog.c:
        Merge key cache structures to one
      isam/panic.c:
        Merge key cache structures to one
      isam/test2.c:
        Merge key cache structures to one
      isam/test3.c:
        Merge key cache structures to one
      libmysql/client_settings.h:
        Remove STDCALL from internal functions
      libmysql/libmysql.c:
        Remove STDCALL from internal functions
      myisam/ft_boolean_search.c:
        Fixed compiler warning
      myisam/ft_dump.c:
        Fixed compiler warnings (%qx is not portable)
      myisam/ft_update.c:
        Fixed compiler warnings
      myisam/mi_check.c:
        Merge key cache structures to one
      myisam/mi_close.c:
        Merge key cache structures to one
      myisam/mi_delete_all.c:
        Merge key cache structures to one
      myisam/mi_extra.c:
        Merge key cache structures to one
      myisam/mi_keycache.c:
        Merge key cache structures to one
      myisam/mi_locking.c:
        Merge key cache structures to one
      myisam/mi_page.c:
        Merge key cache structures to one
      myisam/mi_panic.c:
        Merge key cache structures to one
      myisam/mi_preload.c:
        Merge key cache structures to one
      myisam/mi_test1.c:
        Merge key cache structures to one
      myisam/mi_test2.c:
        Merge key cache structures to one
      myisam/mi_test3.c:
        Merge key cache structures to one
      myisam/myisamchk.c:
        Merge key cache structures to one
      myisam/myisamdef.h:
        Merge key cache structures to one
      myisam/myisamlog.c:
        Merge key cache structures to one
        Removed not used option
      myisam/sort.c:
        Fixed compiler warnings
      myisam/sp_test.c:
        Fixed compiler warnings
      mysql-test/r/case.result:
        Updated results after fix of correct NULL detection in WHEN
      mysql-test/r/date_formats.result:
        Updated results after fixing date handling
      mysql-test/r/symlink.result:
        Updated results after adding DEFAULT CHARSET
      mysql-test/t/case.test:
        New test
      mysql-test/t/symlink.test:
        Updated error numbers
      mysys/hash.c:
        Made HASH_LINK struct local
      mysys/mf_keycache.c:
        Merge key cache structures to one
        Fixed key_cache_read() and key_cache_write() to be resize-safe.
      mysys/mf_keycaches.c:
        Merge key cache structures to one
      mysys/thr_mutex.c:
        Added test if mutex is initalized
      sql-common/client.c:
        Remove STDCALL from internal functions
      sql/derror.cc:
        Added comment
      sql/field.cc:
        Removed not used variables
      sql/ha_innodb.cc:
        Fixed compiler warnings (removed not used variables)
      sql/ha_myisam.cc:
        Merge key cache structures to one
      sql/ha_myisammrg.cc:
        Removed not used variables
      sql/handler.cc:
        Merge key cache structures to one
      sql/handler.h:
        Merge key cache structures to one
      sql/item.cc:
        Fixed compiler warning
      sql/item_cmpfunc.cc:
        Remove not used variables
      sql/item_func.cc:
        Remove not used variables
      sql/item_strfunc.cc:
        Removed not used variables
      sql/item_sum.cc:
        Removed not used variables
        Moved setting of item_thd to fix_fields()
      sql/item_timefunc.cc:
        Removed not used variables
      sql/mysql_priv.h:
        Merge key cache structures to one
      sql/mysqld.cc:
        Merge key cache structures to one
        init_thread_environment() is not called before mysql_init_variables(). This fixes a case where a mutex was not initialized before it was used
      sql/opt_sum.cc:
        Remove not used variables
      sql/protocol.cc:
        Don't send errors after ok has been sent
      sql/protocol_cursor.cc:
        Remove not used variable
        Simple optimization
      sql/repl_failsafe.cc:
        Remove not used variables
      sql/set_var.cc:
        Merge key cache structures to one
      sql/set_var.h:
        Merge key cache structures to one
      sql/sql_acl.cc:
        Remove not used variables
      sql/sql_base.cc:
        Remove not used function
      sql/sql_db.cc:
        Remove not used variables
      sql/sql_handler.cc:
        Remove not used variables
      sql/sql_insert.cc:
        More DBUG statements
        Simple code cleanup
      sql/sql_lex.cc:
        Remove not used variables
      sql/sql_parse.cc:
        Remove not used variables
      sql/sql_prepare.cc:
        Remove not used variables
      sql/sql_repl.cc:
        Remove not used variables
      sql/sql_select.cc:
        Remove not used variables
      sql/sql_show.cc:
        Remove not used variables
      sql/sql_table.cc:
        Merge key cache structures to one
        Removed not used variables
      sql/sql_test.cc:
        Merge key cache structures to one
      sql/strfunc.cc:
        Fixed that find_type() returns correct value for partly matched words.
        (This fixed the error found by date_formats.test)
      sql/time.cc:
        Remove not used variables
      strings/my_strtoll10.c:
        Fixed compiler warnings
      35da5e43
  23. 18 Nov, 2003 1 commit
    • unknown's avatar
      CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS · e72124c4
      unknown authored
      New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
      ALTER TABLE table_name ... CHARACTER SET  ... now changes all char/varchar/text columns to the given character set
      (One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
      Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
      New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
      Removed compiler warnings
      Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
      
      
      BUILD/compile-pentium-valgrind-max:
        Add test of isam
      client/mysql.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      include/my_base.h:
        Remove HA_EXTRA_SET_KEY_CACHE
      include/my_no_pthread.h:
        Add defines to ignore rw-locks when running without threads
      include/my_sys.h:
        Added function for multi-key-caches
      include/myisam.h:
        Added function to handle multi-key-caches
      include/mysql.h:
        Added mysql_set_server_option
      include/mysql_com.h:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
        Added enum_mysql_set_option
      include/mysqld_error.h:
        Added error message for unknown key cache
      innobase/srv/srv0start.c:
        Removed warning that is confused for MySQL users
      libmysql/libmysql.c:
        Added mysql_set_server_option()
      libmysql/libmysql.def:
        Added mysql_set_server_option()
      myisam/ft_nlq_search.c:
        Removed compiler warning
      myisam/ft_static.c:
        Removed compiler warning and fixed wrong return value
      myisam/mi_check.c:
        Clean up multi-key-cache usage
      myisam/mi_checksum.c:
        Removed not used variable
      myisam/mi_close.c:
        keycache -> key_cache
      myisam/mi_delete_all.c:
        keycache -> key_cache
      myisam/mi_extra.c:
        keycache -> key_cache
        Removed HA_EXTRA_SET_KEY_CACHE
      myisam/mi_keycache.c:
        Changed logic so that it's MyISAM that is responsible for assign tables to different key caches instead of the upper level
      myisam/mi_locking.c:
        Don't change key cache on unlock (must be done before)
      myisam/mi_open.c:
        Fetch key cache to use from multi_key_cache_search()
      myisam/mi_page.c:
        keycache -> key_cache
      myisam/mi_panic.c:
        keycache -> key_cache
      myisam/mi_preload.c:
        keycache -> key_cache
      myisam/mi_test1.c:
        Use KEY_CACHE_BLOCK_SIZE
      myisam/mi_test2.c:
        Always test resize_key_cache()
      myisam/mi_test3.c:
        Use KEY_CACHE_BLOCK_SIZE instead of 512
      myisam/myisamchk.c:
        update for multiple key caches
      myisam/myisamdef.h:
        Remove reg_keycache
        Add unique_name_length for storing length of unique_file_name
      myisam/myisamlog.c:
        Change how end_key_cache() is called
      mysql-test/mysql-test-run.sh:
        Fixed web link
        Added name of failed test to abort row.
      mysql-test/r/alter_table.result:
        Testing of ALTER TABLE ... [DEFAULT] CHARACTER SET
      mysql-test/r/case.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/cast.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/create.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_collate.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_latin1_de.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_many.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_mb.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_recoding.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/ctype_ucs.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/derived.result:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/r/fulltext.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/func_str.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/func_system.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/gis-rtree.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/innodb.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/key_cache.result:
        Update test for new key cache syntax.
        Added more tests
      mysql-test/r/merge.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/preload.result:
        New syntax
      mysql-test/r/show_check.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/sql_mode.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/subselect.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_blob.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_enum.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_nchar.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/type_set.result:
        Update result for DEFAULT CHARSET...
      mysql-test/r/union.result:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/t/alter_table.test:
        Testing of ALTER TABLE ... [DEFAULT] CHARACTER SET
      mysql-test/t/ctype_many.test:
        Update result for DEFAULT CHARSET...
      mysql-test/t/derived.test:
        Use STRAIGHT_JOIN to make join order predictable
      mysql-test/t/isam.test:
        Use disable warnings for test loop
      mysql-test/t/join.test:
        Update test now when we only support 61 tables in join
      mysql-test/t/key_cache.test:
        Update test for new key cache syntax.
        Added more tests
      mysql-test/t/preload.test:
        Update for new syntax
      mysql-test/t/union.test:
        Use STRAIGHT_JOIN to make join order predictable
      mysys/Makefile.am:
        Added mf_keycaches.c
      mysys/hash.c:
        TRUE -> 1
      mysys/mf_keycache.c:
        Removed compiler warnings
        Striped end space
        Fixed indentation and improved function comments
        TRUE -> 1
        Changed parameters to end_key_cache() to make it easer to use
        Fixed bug when using key blocks size > 1024 bytes (First part of index file could be overwritten with wrong data)
        Split function flush_key_blocks into two functions to not get mutex used twice when called from flush_all_key_blocks()
      mysys/my_bitmap.c:
        More debugging
        Safe bitmap_free()
        Fixed indentation
      mysys/my_getopt.c:
        Ensure that we initialize option->value, option->max_value and value from GET_ASK_ADDR
      mysys/my_thr_init.c:
        Remove not used mutex THR_LOCK_keycache
      mysys/typelib.c:
        Fixed function comments
      sql-common/client.c:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
        Fixed the multi_result flag is set also on SELECT;s
      sql/ha_myisam.cc:
        Fixed multiple key_cache handling
        (Now done on MyISAM level)
      sql/ha_myisammrg.cc:
        Fixed multiple key_cache handling
        (Now done on MyISAM level)
      sql/handler.cc:
        New multi key cache handling
      sql/handler.h:
        New multi key cache handling
        Added support for default character set
      sql/item.h:
        Added function cleanup() (Needed for prepared statements / cursors)
      sql/item_cmpfunc.h:
        Added cleanup function
      sql/item_func.cc:
        Indentation cleanup
      sql/mysql_priv.h:
        New multi-key-cache functions
        Removed LOCK_assign
      sql/mysqld.cc:
        New multi-key-cache handling
        Fixed that variable have_compress is set correctly
      sql/protocol.cc:
        SELECT didn't work reliable in multi-statements
      sql/set_var.cc:
        Support for new key cache variables
      sql/set_var.h:
        Support for new key cache variables
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/share/french/errmsg.txt:
        New error messages
      sql/share/german/errmsg.txt:
        New error messages
      sql/share/greek/errmsg.txt:
        New error messages
      sql/share/hungarian/errmsg.txt:
        New error messages
      sql/share/italian/errmsg.txt:
        New error messages
      sql/share/japanese/errmsg.txt:
        New error messages
      sql/share/korean/errmsg.txt:
        New error messages
      sql/share/norwegian-ny/errmsg.txt:
        New error messages
      sql/share/norwegian/errmsg.txt:
        New error messages
      sql/share/polish/errmsg.txt:
        New error messages
      sql/share/portuguese/errmsg.txt:
        New error messages
      sql/share/romanian/errmsg.txt:
        New error messages
      sql/share/russian/errmsg.txt:
        New error messages
      sql/share/serbian/errmsg.txt:
        New error messages
      sql/share/slovak/errmsg.txt:
        New error messages
      sql/share/spanish/errmsg.txt:
        New error messages
      sql/share/swedish/errmsg.txt:
        New error messages
      sql/share/ukrainian/errmsg.txt:
        New error messages
      sql/sql_base.cc:
        Removed all key_cache handling (this is now done on MyISAM level)
        Change table_charset -> default_table_charset
      sql/sql_db.cc:
        table_charset -> default_table_charset
      sql/sql_delete.cc:
        table_charset -> default_table_charset
      sql/sql_lex.cc:
        CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
      sql/sql_lex.h:
        New option to store a name and length
      sql/sql_parse.cc:
        Support for mysql_set_server_option()
        Reset "default" keycache status variables in 'FLUSH STATUS' (Need to be improved later)
      sql/sql_show.cc:
        Add DEFAULT before CHARSET (for table character sets)
        Fetch key cache variables from 'sql_key_cache'
      sql/sql_table.cc:
        table_charset -> default_table_charset
        New multi-key-cache handling
      sql/sql_test.cc:
        Write information from all key caches
      sql/sql_yacc.yy:
        Changed syntax for CACHE INDEX ...
        Force user to use DEFAULT before database/table level character sets
      sql/structs.h:
        Added SHOW_KEY_CACHE_LONG (to get values from sql_key_cache)
      sql/table.cc:
        table_charset -> default_table_charset
      sql/table.h:
        New key cache handling (this is now done in mysys/mf_keycaches.c)
      sql/unireg.h:
        A
      e72124c4
  24. 17 Nov, 2003 1 commit
  25. 12 Nov, 2003 1 commit
    • unknown's avatar
      Fixed minor compiler errors encountered during pre-final builds. · d35292fd
      unknown authored
      sql/item_func.cc:
        Goto statement potentially skips declaration of 'i'-- VC++ compiler
        generates an error.
      sql/mysql_priv.h:
        Some platforms will not find sql_bitmap.h when angle brackets are used.
      sql/mysqld.cc:
        my_strcasecmp now needs a charset info parameter.
      strings/my_strtoll10.c:
        Changed constant macro to use LL()-- fixes compiler error under Windows.
      d35292fd
  26. 03 Nov, 2003 2 commits
    • unknown's avatar
      Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error · bee5d9d4
      unknown authored
      Cleaned up (and disabled part of) date/time/datetime format patch. One can't anymore change default read/write date/time/formats.
      This is becasue the non standard datetime formats can't be compared as strings and MySQL does still a lot of datetime comparisons as strings
      Changed flag argument to str_to_TIME() and get_date() from bool to uint
      Removed THD from str_to_xxxx functions and Item class.
      Fixed core dump when doing --print-defaults
      Move some common string functions to strfunc.cc
      Dates as strings are now of type my_charset_bin instead of default_charset()
      Introduce IDENT_QUOTED to not have to create an extra copy of simple identifiers (all chars < 128)
      Removed xxx_FORMAT_TYPE enums and replaced them with the old TIMESTAMP_xxx enums
      Renamed some TIMESTAMP_xxx enums to more appropriate names
      Use defines instead of integers for date/time/datetime string lengths
      Added to build system and use the new my_strtoll10() function.
      
      
      
      BUILD/compile-pentium-valgrind-max:
        Remove double printing of warning
      VC++Files/libmysqld/libmysqld.dsp:
        Added strfunc.cc
      VC++Files/sql/mysqld.dsp:
        Added strfunc.cc
      VC++Files/sql/mysqldmax.dsp:
        Added strfunc.cc
      VC++Files/strings/strings.dsp:
        added my_strtoll10.c
      include/m_ctype.h:
        Removed MY_LEX_FOUND_IDENT (not used)
      include/m_string.h:
        Added my_strtoll10()
      include/mysqld_error.h:
        simplified 'wrong xxx name' error messages
      include/sql_state.h:
        simplified 'wrong xxx name' error messages
      libmysqld/Makefile.am:
        Added strfunc.cc
      mysql-test/mysql-test-run.sh:
        Simplified some options
        changed $@ to "$@" in an attempt to handle options with space (Didn't succeed;  Problem will disappear when mysql-test-run is rewritten in C)
      mysql-test/r/ctype_latin1_de.result:
        Added new tests
      mysql-test/r/ctype_recoding.result:
        Extended tests
      mysql-test/r/date_formats.result:
        Cleaned up tests
        Disabled some tests that can't yet be run
      mysql-test/r/func_compress.result:
        New error message
      mysql-test/r/rpl_temporary.result:
        Added new test
      mysql-test/t/create.test:
        Changed error numbers
      mysql-test/t/ctype_latin1_de.test:
        New tests
      mysql-test/t/ctype_recoding.test:
        Extended tests
      mysql-test/t/date_formats-master.opt:
        Removed datetime_format as we can't handle options with space in mysql-test-run
      mysql-test/t/date_formats.test:
        Cleaned up tests
        Disabled some tests that can't yet be run
      mysql-test/t/rpl_temporary.test:
        Added testing of open temporary table on slave shutdown
      mysql-test/t/symlink.test:
        Fixed error numbers
      mysys/default.c:
        Fixed core dump when doing --print-defaults
      sql/Makefile.am:
        Added strfunc.cc
      sql/derror.cc:
        Fixed compiler warning
      sql/field.cc:
        Changed argument to str_to_TIME() from bool to uint
        Removed THD argument from str_to_TIME()
        Moved find_enum() and find_set() to strfunc.cc
      sql/field.h:
        Changed type of last argument to get_date() to be able to handle more options
      sql/init.cc:
        Remove not used variable dayord
      sql/item.cc:
        Changed type of last argument to get_date() to be able to handle more options
        Removed THD* element from item.
        Don't use make_date_time() to generate date/time/datetimes
      sql/item.h:
        Changed type of last argument to get_date() to be able to handle more options
        Removed THD* from Item
      sql/item_create.cc:
        Indentation cleanup
      sql/item_func.cc:
        Use new find_type()
      sql/item_func.h:
        Changed type of last argument to get_date() to be able to handle more options
      sql/item_strfunc.h:
        space change
      sql/item_timefunc.cc:
        Changed month_names[] to be easier to use
        Moved check_names[] to strfunc.cc
        Added back old make_datetime() function
        Optimized extract_date_time()
        Use my_strtoll10() insetad of my_strntoll()
        Optimized make_date_time()
        Replaced short variable names with long ones.
        Use new functions make_time(), make_date() and make_datetime()
        Dates as strings are now of type my_charset_bin instead of default_charset()
        Changed Item_func_str_to_date() to by default return a date.
      sql/item_timefunc.h:
        Changed charset for date string from default_charset() to my_charset_bin
        Changed type of last argument to get_date() to be able to handle more options
        Use defines instead of integers for date/time/datetime string lengths
      sql/mysql_priv.h:
        Fixed/added new prototypes
      sql/mysqld.cc:
        Removed opt_datetime_format_names
        Cleaned up handling of date_time format handling. (Fixed core dump when mysqld had error on startup)
        Removed some unnecessary double init of collation variables
      sql/protocol.cc:
        Changed back protocol functions to always return dates in ISO format
      sql/set_var.cc:
        Added variables time_format, date_format and datetime_format
        This had to be recoded becasue checking was done in 'update' method and not in 'check' method.
      sql/set_var.h:
        Removed class sys_var_datetime_format() as this defined a variable (which doesn't work) instead of updating a variable
      sql/share/czech/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/danish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/dutch/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/english/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/estonian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/french/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/german/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/greek/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/hungarian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/italian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/japanese/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/korean/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/norwegian-ny/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/norwegian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/polish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/portuguese/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/romanian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/russian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/serbian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/slovak/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/spanish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/swedish/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/share/ukrainian/errmsg.txt:
        simplified 'wrong xxx name' error messages
      sql/sql_base.cc:
        Use new find_type()
      sql/sql_class.cc:
        Allocate/free date_time format variables
      sql/sql_class.h:
        Define datetime_format variables
      sql/sql_db.cc:
        Use new ER_WRONG_NAME error
      sql/sql_lex.cc:
        Change lex to generate IDENT_QUOTED for quoted identifiers or identifers that are using characters > 128.
        This enabled us to not have to copy and convert the identifier to utf8 for simpe identifiers
      sql/sql_parse.cc:
        Use new ER_WRONG_NAME error
        Use new find_type() function
      sql/sql_prepare.cc:
        Use new defines
      sql/sql_table.cc:
        Use new ER_WRONG_NAME error
      sql/sql_yacc.yy:
        Don't copy and convert simple identifiers to utf8.
        Replace __FORMAT_TYPE defines with TIMESTAMP... defines
      sql/structs.h:
        Renamed DATETIME_FORMAT to DATE_TIME format to indicate that it's for date/time/datetime formats
        Renamed WRONT_TIMESTAMP_FULL to TIMESTAMP_DATETIME_ERROR and TIMESTAMP_FULL to TIMESTAMP_DATETIME
        Added KNOWN_DATE_TIME_FORMAT struct for Item_func_get_format
      sql/time.cc:
        Prepare str_to_TIME and str_to_time() for general date/time handling
        Removed THD from str_to... functions
        Renamed date/time/datetime functions to use 'date_time' instead of 'datetime'
        Added functions to make and copy DATE_TIME_FORMAT's
        Added trivial functions 'make_time()', 'make_date()' and 'make_datetime()'
      strings/Makefile.am:
        Added my_strtoll10()
      strings/ctype-bin.c:
        Cleared upper part of binary state map to be able to easily identify simple identifiers
      strings/my_vsnprintf.c:
        F
      bee5d9d4
    • unknown's avatar
      after review fix · ef163ff0
      unknown authored
      mysql-test/r/func_str.result:
        new results
      sql/item.cc:
        charset changed
        printing string moved to String
      sql/item_cmpfunc.cc:
        new comparation class builder to avoid long switch
        new print_agrs used
      sql/item_cmpfunc.h:
        new comparation class builder to avoid long switch
      sql/item_func.cc:
        new print_agrs
      sql/item_func.h:
        new print_agrs
      sql/item_strfunc.cc:
        new print_agrs
      sql/item_subselect.cc:
        new comparation class builder to avoid long switch
      sql/item_subselect.h:
        new comparation class builder to avoid long switch
      sql/item_timefunc.cc:
        charset changed
      sql/mysql_priv.h:
        new comparation class builder to avoid long switch
      sql/mysqld.cc:
        new comparation class builder to avoid long switch
      sql/sql_parse.cc:
        new comparation class builder to avoid long switch
      sql/sql_string.cc:
        string printing moved to String class
      sql/sql_string.h:
        string printing moved to String class
      sql/sql_yacc.yy:
        birect class creation where it is possible
      ef163ff0
  27. 02 Nov, 2003 1 commit
    • unknown's avatar
      Cleanups (comments and compiler warnings) · 18665803
      unknown authored
      dded init of variable to fix core dump on startup errors
      
      
      mysql-test/Makefile.am:
        Added transformation of socket address for mysql-test-run
      mysql-test/mysql-test-run.sh:
        Added option --socket
      sql/derror.cc:
        Removed compiler warning
      sql/mysql_priv.h:
        Moved assert up to be able to use asserts in other header files
      sql/mysqld.cc:
        Fixed comment
      sql/sql_bitmap.h:
        Added copyright notice
        Removed not needed header files
      sql/sql_class.cc:
        Added init of variable to fix core dump on startup errors
      sql/sql_test.cc:
        Fixed compiler errors (from key_map code)
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      18665803
  28. 29 Oct, 2003 2 commits
    • unknown's avatar
      cee3ddb4
    • unknown's avatar
      Change back service name to MySQL · 7da08881
      unknown authored
      Don't add service name to read config file segments if it's "MySQL"
      Fixed possible memory leak when CHANGE USER failed.
      
      
      include/mysql_com.h:
        Change back service name to MySQL (With new, better spelling)
      myisam/myisamchk.c:
        Improved --help
      sql/mysqld.cc:
        Don't add service name to read config file segments if it's "MySQL"
      sql/sql_parse.cc:
        Fixed possible memory leak when CHANGE USER failed.
      7da08881
  29. 28 Oct, 2003 1 commit
    • unknown's avatar
      Fix for problem of installing MySQL as a service with · b11f9c10
      unknown authored
      mysql --install mysql --defualts-file=path-to-file
      (Bug #1643)
      
      
      include/mysql_com.h:
        MySQL should install as default service "mysqld"
      sql/mysqld.cc:
        Fix for problem of installing MySQL as a service with
        mysql --install mysql --defualts-file=path-to-file
      b11f9c10