1. 19 Dec, 2003 5 commits
    • unknown's avatar
      merge · 245b1385
      unknown authored
      
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/my_global.h:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/r/warnings.result:
        Auto merged
      mysql-test/t/type_enum.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      245b1385
    • 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
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1 · 060122db
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      060122db
    • unknown's avatar
      - removed empty file mysql-test/t/rpl_temporary-master.opt · 11870d56
      unknown authored
      
      BitKeeper/deleted/.del-rpl_temporary-master.opt~545ad67e7e74bbe0:
        Delete: mysql-test/t/rpl_temporary-master.opt
      11870d56
    • unknown's avatar
      3344aefc
  2. 18 Dec, 2003 5 commits
    • unknown's avatar
      Corrected faulty #if tests in udf_example.cc which made udf_test crash the server on some · fddddc2c
      unknown authored
      platforms.
      
      
      sql/udf_example.cc:
        Corrected faulty #if tests which made udf_test crash the server on some
        platforms.
      fddddc2c
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 24937ffc
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.2126
      
      
      24937ffc
    • unknown's avatar
      Fix for #2126 · 195b8ac5
      unknown authored
      additional changes (after discussion with Monty)
      
      
      libmysql/libmysql.c:
        it's good to check my_thread_init() result as well
      sql/client_settings.h:
        0 is more relevant here
      195b8ac5
    • unknown's avatar
      29af6f37
    • unknown's avatar
      Fix for #2126 (mysql_server_init call shouldn't be needed) · 886307f2
      unknown authored
      now mysql_server_init is called from mysql_init with fake parameters
      mysql_once_init code included to mysql_server_init.
      embedded-specific initialization is in init_embedded_server function
      
      
      include/errmsg.h:
        this error won't happen
      include/mysql.h:
        declarations removed
      libmysql/client_settings.h:
        declaration of init_embedded_server/end_embedded_server added
      libmysql/errmsg.c:
        this error won't happen
      libmysql/libmysql.c:
        mysql_once_init -> mysql_server_init transformations
      libmysqld/embedded_priv.h:
        declaration deleted
      libmysqld/lib_sql.cc:
        mysql_server_init -> init_embedded_server
        mysql_server_end  -> end_embedded_server
      libmysqld/libmysqld.c:
        check for server_inited not needed now
      sql-common/client.c:
        mysql_server_init now called from mysql_init
      sql/client_settings.h:
        fake mysql_server_init for server code
      sql/net_serv.cc:
        we need MYSQL_CLIENT defined in embedded server
      sql/sql_client.cc:
        not needed now
      886307f2
  3. 17 Dec, 2003 2 commits
    • 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
    • unknown's avatar
      Merge with 4.0.17 · 0fb88806
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Build-tools/Do-compile:
        Auto merged
      acinclude.m4:
        Auto merged
      configure.in:
        Auto merged
      dbug/dbug.c:
        Auto merged
      include/config-win.h:
        Auto merged
      include/my_base.h:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      include/mysql.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/row/row0ins.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      innobase/row/row0umod.c:
        Auto merged
      innobase/row/row0upd.c:
        Auto merged
      myisam/ft_boolean_search.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_dbug.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      mysql-test/r/auto_increment.result:
        Auto merged
      mysql-test/r/bdb.result:
        Auto merged
      mysql-test/r/func_op.result:
        Auto merged
      Build-tools/Bootstrap:
        Merge with 4.0
      client/mysql.cc:
        Merge with 4.0
      client/mysqldump.c:
        Merge with 4.0
      client/mysqltest.c:
        Use local version
      innobase/btr/btr0cur.c:
        Merge with 4.0 (Heikki should check if we should remove btr_cur_update_sec_rec_in_place()
      libmysql/libmysql.c:
        Merge with 4.0
      libmysqld/lib_sql.cc:
        Merge with 4.0
      myisam/mi_key.c:
        Merge with 4.0
      myisam/mi_search.c:
        Merge with 4.0
      mysql-test/r/binary.result:
        Merge with 4.0
      mysql-test/r/func_group.result:
        Merge with 4.0
      mysql-test/r/func_str.result:
        Merge with 4.0
      mysql-test/r/func_time.result:
        Merge with 4.0
      mysql-test/r/group_by.result:
        Merge with 4.0
      mysql-test/r/handler.result:
        Merge with 4.0
      mysql-test/r/innodb.result:
        Merge with 4.0
      mysql-test/r/insert.result:
        Merge with 4.0
      mysql-test/r/join_outer.result:
        Merge with 4.0
      mysql-test/r/loaddata.result:
        Merge with 4.0
      mysql-test/r/lowercase_table.result:
        Merge with 4.0
      mysql-test/r/multi_update.result:
        Merge with 4.0
      mysql-test/r/mysqldump.result:
        Merge with 4.0
      mysql-test/r/query_cache.result:
        Merge with 4.0
      mysql-test/r/rpl_max_relay_size.result:
        Merge with 4.0
      mysql-test/r/rpl_rotate_logs.result:
        Merge with 4.0
      mysql-test/r/rpl_trunc_binlog.result:
        Merge with 4.0
      mysql-test/r/select_found.result:
        Merge with 4.0
      mysql-test/r/symlink.result:
        Merge with 4.0
      mysql-test/r/truncate.result:
        Merge with 4.0
      mysql-test/r/type_blob.result:
        Merge with 4.0
      mysql-test/r/type_datetime.result:
        Merge with 4.0
      mysql-test/r/type_decimal.result:
        Merge with 4.0
      mysql-test/r/type_enum.result:
        Merge with 4.0
      mysql-test/r/type_timestamp.result:
        Merge with 4.0
      mysql-test/r/union.result:
        Merge with 4.0
      mysql-test/t/auto_increment.test:
        Merge with 4.0
      mysql-test/t/bdb.test:
        Merge with 4.0
      mysql-test/t/func_group.test:
        Merge with 4.0
      mysql-test/t/func_op.test:
        Merge with 4.0
      mysql-test/t/func_str.test:
        Merge with 4.0
      mysql-test/t/func_time.test:
        Merge with 4.0
      mysql-test/t/group_by.test:
        Merge with 4.0
      mysql-test/t/handler.test:
        Merge with 4.0
      mysql-test/t/innodb.test:
        Merge with 4.0
      mysql-test/t/insert.test:
        Merge with 4.0
      mysql-test/t/join_outer.test:
        Merge with 4.0
      mysql-test/t/limit.test:
        Merge with 4.0
      mysql-test/t/loaddata.test:
        Merge with 4.0
      mysql-test/t/lowercase_table.test:
        Merge with 4.0
      mysql-test/t/multi_update.test:
        Merge with 4.0
      mysql-test/t/mysqldump.test:
        Merge with 4.0
      mysql-test/t/query_cache.test:
        Merge with 4.0
      mysql-test/t/rpl_log_pos.test:
        Merge with 4.0
      mysql-test/t/rpl_max_relay_size.test:
        Merge with 4.0
      mysql-test/t/rpl_rotate_logs.test:
        Merge with 4.0
      mysql-test/t/rpl_trunc_binlog.test:
        Merge with 4.0
      mysql-test/t/select_found.test:
        Merge with 4.0
      mysql-test/t/symlink.test:
        Merge with 4.0
      mysql-test/t/truncate.test:
        Merge with 4.0
      mysql-test/t/type_blob.test:
        Merge with 4.0
      mysql-test/t/type_datetime.test:
        Merge with 4.0
      mysql-test/t/type_decimal.test:
        Merge with 4.0
      mysql-test/t/type_enum.test:
        Merge with 4.0
      mysql-test/t/type_timestamp.test:
        Merge with 4.0
      mysql-test/t/union.test:
        Merge with 4.0
      mysys/charset.c:
        Merge with 4.0
      mysys/my_init.c:
        Merge with 4.0
      mysys/my_symlink.c:
        Merge with 4.0
      mysys/my_thr_init.c:
        Merge with 4.0
      regex/reginit.c:
        Merge with 4.0
      sql/field.cc:
        Change fix_datetime() to print errors
      sql/field.h:
        Merge with 4.0
      sql/ha_innodb.cc:
        Merge with 4.0
      sql/item.cc:
        Merge with 4.0
      sql/item.h:
        Merge with 4.0
      sql/item_cmpfunc.cc:
        Merge with 4.0
      sql/item_func.cc:
        Merge with 4.0
      sql/item_func.h:
        Merge with 4.0
      sql/item_strfunc.cc:
        Merge with 4.0
      sql/item_strfunc.h:
        Merge with 4.0
      sql/item_sum.cc:
        Merge with 4.0
      sql/item_sum.h:
        Merge with 4.0
      sql/item_timefunc.cc:
        Merge with 4.0
      sql/lex.h:
        Merge with 4.0
      sql/log.cc:
        Merge with 4.0
      sql/log_event.cc:
        Merge with 4.0
      sql/log_event.h:
        Merge with 4.0
      sql/mysql_priv.h:
        Merge with 4.0
      sql/mysqld.cc:
        Merge with 4.0
      sql/nt_servc.cc:
        Merge with 4.0
      sql/opt_range.cc:
        Merge with 4.0
      sql/records.cc:
        Merge with 4.0
      sql/repl_failsafe.cc:
        Merge with 4.0
      sql/slave.cc:
        Merge with 4.0
      sql/sql_acl.cc:
        Merge with 4.0
      sql/sql_analyse.cc:
        Merge with 4.0
      sql/sql_base.cc:
        Merge with 4.0
      sql/sql_cache.cc:
        Merge with 4.0
      sql/sql_class.h:
        Merge with 4.0
      sql/sql_db.cc:
        Merge with 4.0
      sql/sql_delete.cc:
        Merge with 4.0
      sql/sql_insert.cc:
        Merge with 4.0
      sql/sql_load.cc:
        Merge with 4.0
      sql/sql_parse.cc:
        Merge with 4.0
      sql/sql_rename.cc:
        Merge with 4.0
      sql/sql_select.cc:
        Merge with 4.0
      sql/sql_show.cc:
        Merge with 4.0
      sql/sql_table.cc:
        Merge with 4.0
      sql/sql_update.cc:
        Merge with 4.0
      sql/sql_yacc.yy:
        Merge with 4.0
      sql/table.cc:
        Merge with 4.0
      sql/table.h:
        Merge with 4.0
      sql/time.cc:
        Merge with 4.0
      sql/uniques.cc:
        Merge with 4.0
      strings/ctype-tis620.c:
        Merge with 4.0
      strings/strto.c:
        Merge with 4.0
      support-files/mysql.server.sh:
        Merge with 4.0
      support-files/mysql.spec.sh:
        Merge with 4.0
      0fb88806
  4. 16 Dec, 2003 12 commits
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 24794dbc
      unknown authored
      into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.1
      
      
      24794dbc
    • unknown's avatar
      Fixed parenthesis needed by valgrind-max. · 8af0acea
      unknown authored
      8af0acea
    • unknown's avatar
      proper fix for the bug #2077: accented characters in enum/defaul values are reported incorrectly. · 96636daf
      unknown authored
      note: bar asked me to use res.charset in ::sql_type() functions to be more consistent.
      
      
      mysql-test/r/type_enum.result:
        proper fix for the bug #2077: accented characters in enum/defaul values are reported incorrectly
      mysql-test/t/type_enum.test:
        proper fix for the bug #2077: accented characters in enum/defaul values are reported incorrectly
      sql/field.cc:
        proper fix for the bug #2077: accented characters in enum/defaul values are reported incorrectly
      sql/sql_show.cc:
        proper fix for the bug #2077: accented characters in enum/defaul values are reported incorrectly
      sql/table.cc:
        proper fix for the bug #2077: accented characters in enum/defaul values are reported incorrectly
      96636daf
    • unknown's avatar
      Fixes for last pull · 4bdfe0fb
      unknown authored
      
      libmysqld/lib_sql.cc:
        Fixed compilation error in embedded library (from last pull)
      sql/field.cc:
        Safer timestamp year checking (as 1969 can be in timestamp)
      4bdfe0fb
    • unknown's avatar
      Missed header added · 029e30b4
      unknown authored
      
      heap/hp_hash.c:
        header added
      029e30b4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · bfb6add2
      unknown authored
      into mysql.com:/my/mysql-4.0
      
      
      bfb6add2
    • 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
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · b26fd7b9
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      b26fd7b9
    • unknown's avatar
      Fix for BUG#2083 · e97722e4
      unknown authored
      "EE_ error codes (EE_DELETE, EE_WRITE) end up in the binlog, making slave stop".
      The problem was that during execution of the command on the master, an error
      can occur (for example, not space left on device, then mysqld waits and when
      there is space it completes successfully: so finally it worked but the error
      EE_WRITE remains in thd->net.last_errno and thd->net.last_error).
      To know if finally the command succeeded, we test the 'error' variable in
      every place, and if it shows no failure we reset thd->net.last_err* using
      the function THD::clear_error() which is backported from 4.1.
      A new test to see if now only real errors get to the binlog (note: the test
      uses "rm").
      
      Also a bit of memory free/alloc saving in log_event.cc (do not free the whole
      mem_root after every query in the slave SQL thread: we can keep the initial
      block of it; which will be freed when the thread terminates).
      
      
      sql/log_event.cc:
        In the slave SQL thread, it's a waste to free the initial block of the mem_root
        after every query. We can instead keep it. It will be freed when the thread
        terminates (in THD::~THD()).
      sql/sql_acl.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_base.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_class.h:
        Backport of THD::clear_error() from 4.1:
        clears the error in thd->net.last_errno
      sql/sql_db.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_delete.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_insert.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_parse.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_rename.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_table.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_update.cc:
        clear the error in thd->net.last_errno as there was no error
      e97722e4
    • unknown's avatar
      Some minor code clean up. · 2c2c409a
      unknown authored
      2c2c409a
    • unknown's avatar
      Added support for multi statement tests. Use mysqltest internal · 3467862b
      unknown authored
      command delimiter to change the default delimiter (;) to something
      else, a string upto 16 characters is allowed. Separate the sub
      queries with ';' and end the whole statement with your own delimiter.
      
      
      3467862b
    • unknown's avatar
      Cleanup · caf4fd96
      unknown authored
      
      client/mysqltest.c:
        Remove not needed include files
      caf4fd96
  5. 15 Dec, 2003 6 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 52a39105
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      52a39105
    • unknown's avatar
      Updated results · c3617bb8
      unknown authored
      c3617bb8
    • unknown's avatar
      part one of the fix for the bug #2077: accented characters in enum/defaul... · 987d8ff9
      unknown authored
      part one of the fix for the bug #2077: accented characters in enum/defaul values are reported incorrectly
      
      
      mysql-test/r/type_enum.result:
        test for the bug #2077: accented characters in enum/defaul values are reported incorrectly
      mysql-test/t/type_enum.test:
        test for the bug #2077: accented characters in enum/defaul values are reported incorrectly
      987d8ff9
    • unknown's avatar
      Merge · 385b14cd
      unknown authored
      
      client/mysql.cc:
        SCCS merged
      385b14cd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 082953ec
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      mysql-test/r/create.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      082953ec
    • 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
  6. 14 Dec, 2003 3 commits
    • unknown's avatar
      Portablity fix · 38df192e
      unknown authored
      
      mysql-test/r/have_met_timezone.require:
        Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone)
      mysql-test/r/timezone.result:
        Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone)
      mysql-test/t/mysqldump.test:
        Portablity fix (Some machines like OSF doesn't read a big double as 'inf'
      mysql-test/t/timezone.test:
        Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone)
      38df192e
    • unknown's avatar
      Fixed bug in last push found by valgrind · c324fddc
      unknown authored
      
      myisam/mi_dbug.c:
        Added comment to warn about probabably unimportant valgrind warning
      sql/opt_range.cc:
        Fixed bug in last push (did not fill max string properly with end space)
      sql/sql_update.cc:
        Initalize not initialized variable
      c324fddc
    • 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
  7. 13 Dec, 2003 7 commits