1. 02 Dec, 2004 34 commits
    • unknown's avatar
      Merge · 790974f3
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      mysql-test/t/insert_select.test:
        Auto merged
      sql/sql_class.h:
        Auto merged
      mysql-test/r/insert_select.result:
        SCCS merged
      sql/sql_insert.cc:
        merge changes
      sql/sql_table.cc:
        e
        merge changes
      790974f3
    • unknown's avatar
      Prevent adding 'CREATE TABLE .. SELECT' query to the binary log when the · e11175b7
      unknown authored
      insertion of new records partially failed. It would get logged because of the
      logic to log a partially-failed 'INSERT ... SELECT' (which can't be rolled back
      in non-transactional tables), but 'CREATE TABLE ... SELECT' is always rolled
      back on failure, even for non-transactional tables. (Bug #6682)
      (Original fix reimplemented after review by Serg and Guilhem.)
      
      
      mysql-test/t/insert_select.test:
        Add test case for Bug #6682
      mysql-test/r/insert_select.result:
        Add results for test case for Bug #6682
      sql/sql_table.cc:
        moved tmp_disable_binlog() and reenable_binlog macros to sql/sql_class.h
      sql/sql_insert.cc:
        disable binlog during call to super's ::send_error in select_create class
      sql/sql_class.h:
        add select_create::send_error()
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e11175b7
    • unknown's avatar
      - updated lowercase_table3 test result (T1.InnoDB -> T1.ibd). Failure was · 49156ca2
      unknown authored
        discovered on Mac OS X
      
      
      mysql-test/r/lowercase_table3.result:
        - updated test result (T1.InnoDB -> T1.ibd). Failure was discovered on
          Mac OS X
      49156ca2
    • unknown's avatar
      compatibility fix · 98ed7263
      unknown authored
      98ed7263
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · d9da3326
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      d9da3326
    • unknown's avatar
      62469786
    • unknown's avatar
    • unknown's avatar
      Change to prevent the failure of "make distclean" on the missing... · cea897da
      unknown authored
      Change to prevent the failure of "make distclean" on the missing 'regex/Makefile' (and, later, 'strings/Makefile').
      
      
      configure.in:
        The subdirectories 'strings' and 'regex' were each contained in both the 'sql_client_dirs' and the 'sql_server_dirs' macro.
        As these are used to form the (Makefile) macro 'SUBDIRS' and 'DIST_SUBDIRS', these subdirectories will get listed there twice.
        This causes a failure of the (recursive) "make distclean", so this double inclusion must be prevented.
      cea897da
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · b3e60f76
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      b3e60f76
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · d408c29e
      unknown authored
      into build.mysql.com:/users/tsmith/m/41/b
      
      d408c29e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · b5d3dff7
      unknown authored
      into build.mysql.com:/users/tsmith/m/41/b
      
      
      client/mysqldump.c:
        Auto merged
      b5d3dff7
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · 58b102bc
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      58b102bc
    • unknown's avatar
      myisam/mi_packrec.c · 91116601
      unknown authored
          more robust checks (catch more corruptions)
      
      
      myisam/mi_packrec.c:
        more robust checks (catch more corruptions)
      91116601
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · a8685404
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      a8685404
    • unknown's avatar
      merge (new code fixed the ALTER TABLE problem) · fb995cb8
      unknown authored
      fb995cb8
    • unknown's avatar
      merged on pull · 9cc9d514
      unknown authored
      
      mysql-test/r/rpl_start_stop_slave.result:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/type_enum.result:
        merged test cases
      mysql-test/t/type_enum.test:
        merged test cases
      9cc9d514
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2e34e083
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.clean
      
      2e34e083
    • unknown's avatar
      Cleanups during review stage · 9589175a
      unknown authored
      Added auto-correct of field length for enum/set tables for ALTER TABLE
      This is becasue of a bug in previous MySQL 4.1 versions where the length for enum/set was set incorrectly after ALTER TABLE
      
      
      mysql-test/r/rpl_start_stop_slave.result:
        Fixed wrong test
      mysql-test/r/type_enum.result:
        Added test for wrong enum/set length after alter table
      mysql-test/t/ps.test:
        removed empty line
      mysql-test/t/type_enum.test:
        Added test for wrong enum/set length after alter table
      sql/field.cc:
        Added auto-correct of field length for enum/set tables.
        This is becasue of a bug in previous MySQL 4.1 versions where the length for enum/set was set incorrectly after ALTER TABLE
      sql/item_cmpfunc.cc:
        Simple optimization
      sql/mysql_priv.h:
        Made local function global
      sql/set_var.cc:
        Simple cleanup
      sql/sql_table.cc:
        Simple cleanups & optimizations
      9589175a
    • unknown's avatar
      Fixes to make mysql-test-run --embedded-server working · f9c1ad60
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Tests that can't be fixed now showed in the ignore-list
      mysql-test/r/query_cache.result.es:
        test result renewed
      mysql-test/r/select.result.es:
        test result renewed
      mysql-test/r/type_blob.result.es:
        test result renewed
      mysql-test/r/type_float.result.es:
        test result renewed
      sql/sql_prepare.cc:
        time values sending fixed
      tests/client_test.c:
        that doesnt work in embedded server
      BitKeeper/etc/ignore:
        Added libmysqld/ha_archive.cc libmysqld/ha_example.cc libmysqld/ha_tina.cc to the ignore list
      f9c1ad60
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · bce9b072
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      bce9b072
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · 383dc854
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.clean
      
      383dc854
    • unknown's avatar
      Fix for Bug#6377 "Password Generation Discrepancy" · 233e9bbf
      unknown authored
      
      client/mysqladmin.cc:
        Fix for Bug#6377 "Password Generation Discrepancy":
        this is not a MySQL bug.
        The problem is that Windows command line client doesn't trim single quotes
        from arguments, as any UNIX shell does.
        The fix just checks for this condition and gives a warning if it is true.
      233e9bbf
    • unknown's avatar
      A fix (bug #6878: Crash with engine=memory). · 8104d698
      unknown authored
      
      heap/hp_create.c:
        A fix (bug #6878: Crash with engine=memory).
        Record length should be >= sizeof(byte*).
      8104d698
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 7d16302c
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      7d16302c
    • unknown's avatar
      7c824847
    • unknown's avatar
      mysqld.cc: · e8e3cd02
      unknown authored
        innodb_autoextend_increment: set a maximum limit of 1000 (Bug #6904)
      
      
      sql/mysqld.cc:
        innodb_autoextend_increment: set a maximum limit of 1000 (Bug #6904)
      e8e3cd02
    • unknown's avatar
      A fix (bug #6878: Crash with engine=memory). · 53fd2fda
      unknown authored
      
      heap/hp_open.c:
        A fix (bug #6878: Crash with engine=memory).
        Record length should be >= sizeof(byte*).
      53fd2fda
    • unknown's avatar
      Fixes (bug #6932: 'revoke all privileges...' doesn't remove all proper columns from columns_priv · d44f2d35
      unknown authored
             bug #6933: error in the tests/grant.pl test).
      
      
      mysql-test/r/grant.result:
        A fix (bug #6932: 'revoke all privileges...' doesn't remove all proper columns from columns_priv).
      mysql-test/t/grant.test:
        A fix (bug #6932: 'revoke all privileges...' doesn't remove all proper columns from columns_priv).
      sql/sql_acl.cc:
        A fix (bug #6932: 'revoke all privileges...' doesn't remove all proper columns from columns_priv).
        The problem is that we use whole key length (including 'Column_name' keypart)                          
        during scanning the 'columns_priv' table in case of revoke_grant.
      tests/grant.pl:
        A fix (bug #6933: error in the tests/grant.pl test).
      d44f2d35
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7b8e632d
      unknown authored
      into mysql.com:/usr/home/bar/mysql-4.1-enum
      
      7b8e632d
    • unknown's avatar
      mgmapi.cpp: · 728bf9bd
      unknown authored
        bug #6919
      
      
      ndb/src/mgmapi/mgmapi.cpp:
        bug #6919
      728bf9bd
    • unknown's avatar
      - fixed file permissions (need execute bits set) · cbfee4a6
      unknown authored
      
      BUILD/compile-ppc-debug-max:
        Change mode to -rwxrwxr-x
      BUILD/compile-ppc-debug:
        Change mode to -rwxrwxr-x
      BUILD/compile-ppc-max:
        Change mode to -rwxrwxr-x
      BUILD/compile-ppc:
        Change mode to -rwxrwxr-x
      cbfee4a6
    • unknown's avatar
      Bug #6379: ENUM values are incorrectly converted · 842f56bf
      unknown authored
      - add_field_to_list() now uses <List>String
      instead of TYPELIB to be able to distinguish
      literals 'aaa' and hex literals 0xaabbcc.
      - move some code from add_field_to_list() where
        we don't know column charset yet, to 
        mysql_prepare_table(), where we do.
      
      842f56bf
    • unknown's avatar
      - added some BUILD/compile-ppc* build scripts to ease building on LinuxPPC · 2495f21a
      unknown authored
      - added ppc_cflags to BUILD/SETUP.sh
      
      
      BUILD/SETUP.sh:
        - added ppc_cflags for compiling on Linux/PPC
      2495f21a
    • unknown's avatar
      Bug #6815 SHOW CREATE TABLE hangs after upgrading to 4.1 · ce1621b6
      unknown authored
      A test doesn't seem to be possible.
      
      ce1621b6
  2. 01 Dec, 2004 6 commits
    • unknown's avatar
      a38f6ce9
    • unknown's avatar
      configure.in: · 62446e4c
      unknown authored
        Let MySQL check the existence of readdir_r with 3 arguments; Solaris seems to have just 2 args
        Check the existence of readdir_r and localtime_r; even though MySQL does check these too, we need our own check for Hot Backup code
      os0file.c:
        Use re-entrant readdir_r where available
      ut0ut.c:
        Make a function to use thread-safe localtime_r where available; that particular function was not called from anywhere, though
      
      
      innobase/ut/ut0ut.c:
        Make a function to use thread-safe localtime_r where available; the function was not called from anywhere, though
      innobase/os/os0file.c:
        Use re-entrant readdir_r where available
      innobase/configure.in:
        Let MySQL check the existence of readdir_r with 3 arguments; Solaris seems to have just 2 args
      62446e4c
    • unknown's avatar
      Move common trailing space checks into an include file. · b72c899e
      unknown authored
      Check UCS2 trailing spaces.
      
      
      mysql-test/r/ctype_ucs.result:
        Move common trailing space checks into an include file.
        Check UCS2 trailing spaces.
        Fix UCS2 to handle trailing spaces in PAD way.
      mysql-test/t/ctype_ucs.test:
        Move common trailing space checks into an include file.
        Check UCS2 trailing spaces.
        Fix UCS2 to handle trailing spaces in PAD way.
      mysql-test/t/endspace.test:
        Move common trailing space checks into an include file.
        Check UCS2 trailing spaces.
        Fix UCS2 to handle trailing spaces in PAD way.
      strings/ctype-ucs2.c:
        Move common trailing space checks into an include file.
        Check UCS2 trailing spaces.
        Fix UCS2 to handle trailing spaces in PAD way.
      b72c899e
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 542e2e66
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      542e2e66
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 3d3b5084
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      3d3b5084
    • unknown's avatar
      testcase for bug#6871, ndb, replace with collations · 3887dd5b
      unknown authored
      
      mysql-test/r/ndb_charset.result:
        testcase for bug#6871
      mysql-test/t/ndb_charset.test:
        testcase for bug#6871
      3887dd5b