1. 03 Dec, 2004 1 commit
  2. 02 Dec, 2004 21 commits
    • 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 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
      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
      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
      Bug #6815 SHOW CREATE TABLE hangs after upgrading to 4.1 · ce1621b6
      unknown authored
      A test doesn't seem to be possible.
      
      ce1621b6
  3. 01 Dec, 2004 8 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
    • unknown's avatar
      bug#6871 - ndb · 1c5a01e1
      unknown authored
        replace with charsets
        check update of primary key wo/ normalizing
        
      
      
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Make sure tXfrmFlag is false when checking for update of primary key
      1c5a01e1
    • unknown's avatar
      openssl_1.result, have_openssl_1.require, openssl_1.test: · 82a908d8
      unknown authored
        Update SSL Cipher so that 'openssl_1' test passes (BUG#6152)
      
      
      mysql-test/t/openssl_1.test:
        Update SSL Cipher so that 'openssl_1' test passes (BUG#6152)
      mysql-test/r/have_openssl_1.require:
        Update SSL Cipher so that 'openssl_1' test passes (BUG#6152)
      mysql-test/r/openssl_1.result:
        Update SSL Cipher so that 'openssl_1' test passes (BUG#6152)
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      82a908d8
  4. 30 Nov, 2004 10 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 378cff13
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      378cff13
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · a9c794f1
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      mysql-test/r/flush_block_commit.result:
        Auto merged
      mysql-test/t/flush_block_commit.test:
        Auto merged
      sql/lock.cc:
        Auto merged
      a9c794f1
    • unknown's avatar
      two-line fix for BUG#6732 "FLUSH TABLES WITH READ LOCK + COMMIT makes next... · fff5c910
      unknown authored
      two-line fix for BUG#6732 "FLUSH TABLES WITH READ LOCK + COMMIT makes next FLUSH...LOCK hang forever"
      (originally reported as "second run of innobackup hangs forever and can even hang server").
      Plus testcase for the bugfix and comments about global read locks.
      
      
      mysql-test/r/flush_block_commit.result:
        result update
      mysql-test/t/flush_block_commit.test:
        testing bugfix (originally: second run of innobackup hangs)
      sql/lock.cc:
        When we are in start_waiting_global_read_lock(), if we ourselves have
        the global read lock, there is nothing to start. This makes a pair with how 
        wait_if_global_read_lock() behaves when we ourselves have the global read lock.
        Previously, start_waiting_global_read_lock() decremented protect... whereas wait_if_global_read_lock()
        hadn't incremented it => very wrong => hangs.
        Descriptive comments on how global read lock works.
      fff5c910
    • unknown's avatar
      mysqld_safe.sh: · 791aac92
      unknown authored
        Fix calls to my_print_defaults.  Some how, --loose-verbose had been added before --no-defaults/defaults-file, which must be the first option.  
        NOTE: this may make some installations behave differently, if they depend on this broken behavior.
      
      
      scripts/mysqld_safe.sh:
        Fix calls to my_print_defaults.  Some how, --loose-verbose had been added before --no-defaults/defaults-file, which must be the first option.  
        NOTE: this may make some installations behave differently, if they depend on this broken behavior.
      791aac92
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · c7bcdbe1
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      innobase/include/lock0lock.h:
        Auto merged
      c7bcdbe1
    • unknown's avatar
      lock0lock.h: · 521ac46b
      unknown authored
        Rename lock_table_exclusive to lock_is_table_exclusive
        (somehow this change was omitted from last changeset)
      
      
      innobase/include/lock0lock.h:
        Rename lock_table_exclusive to lock_is_table_exclusive
        (somehow this change was omitted from last changeset)
      521ac46b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · a899d4e6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      a899d4e6
    • unknown's avatar
      fixed so that warning on missing support for engine only printed once even if... · 9cb139fa
      unknown authored
      fixed so that warning on missing support for engine only printed once even if option given multiple times
      
      
      9cb139fa
    • unknown's avatar
      typo fixed · db9837cc
      unknown authored
      db9837cc
    • unknown's avatar
      fixed error in test result · a668ea8f
      unknown authored
          added extra calls to retrieve connectstring used
          reengineered connect somewhat to make retries etc explicit
      
      
      mysql-test/r/ndb_index_unique.result:
        fixed error in test result
      ndb/include/mgmapi/mgmapi.h:
        added extra calls to retrieve connectstring used
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        added extra calls to retrieve connectstring used
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmapi/mgmapi.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved parse of quit to avoid connect before
      ndb/src/ndbapi/Ndbinit.cpp:
        reengineered connect somewhat to make retries etc explicit
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/tools/listTables.cpp:
        reengineered connect somewhat to make retries etc explicit
      sql/ha_ndbcluster.cc:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      a668ea8f