1. 24 Oct, 2006 4 commits
  2. 23 Oct, 2006 19 commits
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 4d419ecb
      unknown authored
      into  example.com:/work/bug23037/my51
      
      4d419ecb
    • unknown's avatar
      after merge fix · 85ffefa1
      unknown authored
      85ffefa1
    • unknown's avatar
      Merge example.com:/work/bug23037/my50 · ca026086
      unknown authored
      into  example.com:/work/bug23037/my51
      
      
      sql/sql_show.cc:
        Auto merged
      mysql-test/r/information_schema.result:
        manual merge
      mysql-test/t/information_schema.test:
        manual merge
      ca026086
    • unknown's avatar
      Netware uses size_t as socklen_t · 4919bc20
      unknown authored
      4919bc20
    • unknown's avatar
      Fix for bug#23037 Bug in field "Default" of query "SHOW COLUMNS FROM table" · 6acfa1cd
      unknown authored
        
      To the documentor: The DEFAULT value in SHOW COLUMNS/SELECT FROM I_S.COLUMNS
      was truncated to NAME_LEN (which effectively is 64) characters.
      
      
      mysql-test/r/information_schema.result:
        Update result
        
        Because the length of I_S.COLUMNS.COLUMN_DEFAULT was increased to
        65535 the column changed it's type from varchar(64) to longtext
        The type is longtext if the length is > 65532 (the max varchar len)
      mysql-test/t/information_schema.test:
        test case for bug#23037: Bug in field "Default" of
        query "SHOW COLUMNS FROM table"
        
        Both SHOW COLUMNS and I_S.COLUMNS is TESTED as well the
        value returned by both. Using --replace_regex is unfeasible
        as the repetition value cannot be > 255.
        --replace_regex /A{256}/VALUE/ doesn't work, not to talk about
          /A{65532}/VALUE/
        /(A{255}){255}/VALUE/ is awfully slow. Thus, simple function with
        cursor is used to extract the value.
      sql/sql_show.cc:
        Default value can have TIMESTAMP, CHAR, VARCHAR, ENUM
        VARCHAR can have the longest value, up to 65535. However, because
        of table handler limitations the actual limit is 65532 characters,
        latin1 charset. However, here is used MAX_FIELD_VARCHARLENGTH macro,
        because there could be a storage engine without such limitation.
      6acfa1cd
    • unknown's avatar
      When looking for libc the path need to be converted from wine to unix format... · 20181332
      unknown authored
      When looking for libc the path need to be converted from wine to unix format before test that directory exists
      
      
      20181332
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · e6cf2196
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      e6cf2196
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 353ab15e
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      353ab15e
    • unknown's avatar
      If "var" is a symlink which does not point to anything, remove it before creating real var · 0660e18b
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        If "var" is a symlink which does not point to anything, remove it
      0660e18b
    • unknown's avatar
      As both ndb and im are components that may be disabled as well as the binaries... · 386ba0d8
      unknown authored
      As both ndb and im are components that may be disabled as well as the binaries may not exist. Look for 
      their binaries in a separate function and produce test casea failures for the test thet needs these components
      
      
      386ba0d8
    • unknown's avatar
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 3e3df78d
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug20732/my41-bug20732
      
      3e3df78d
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · df9d1085
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug20732/my50-bug20732
      
      df9d1085
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · bbeb75e6
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug20732/my51-bug20732
      
      bbeb75e6
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · bf1cf67f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      mysql-test/extra/rpl_tests/rpl_log.test:
        Auto merged
      mysql-test/extra/rpl_tests/rpl_max_relay_size.test:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/lib/mtr_misc.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/r/rpl_000015.result:
        Auto merged
      mysql-test/r/rpl_change_master.result:
        Auto merged
      mysql-test/r/rpl_err_ignoredtable.result:
        Auto merged
      mysql-test/r/rpl_loaddata.result:
        Auto merged
      mysql-test/r/rpl_replicate_do.result:
        Auto merged
      mysql-test/r/rpl_stm_log.result:
        Auto merged
      mysql-test/r/rpl_stm_max_relay_size.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/lock_multi.test:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/rpl_000015.test:
        Auto merged
      mysql-test/t/rpl_change_master.test:
        Auto merged
      mysql-test/t/rpl_drop_db.test:
        Auto merged
      mysql-test/t/rpl_err_ignoredtable.test:
        Auto merged
      mysql-test/t/rpl_loaddata.test:
        Auto merged
      mysql-test/t/rpl_replicate_do.test:
        Auto merged
      mysql-test/t/rpl_stm_log-master.opt:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      bf1cf67f
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-4.1-maint · e2a521d8
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug20732/my41-bug20732
      
      e2a521d8
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-5.0-maint · 8e48f915
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug20732/my50-bug20732
      
      8e48f915
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-5.1-maint · 6e28c214
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug20732/my51-bug20732
      
      6e28c214
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/bug20732/my50-bug20732 · 3bc5dd86
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug20732/my51-bug20732
      
      
      mysql-test/r/range.result:
        Auto merged
      mysql-test/t/range.test:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/opt_range.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        manual merging.
      3bc5dd86
  3. 21 Oct, 2006 1 commit
  4. 20 Oct, 2006 16 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 78a2743e
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/50
      
      78a2743e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 441076c3
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/51
      
      441076c3
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint-afterbreak · b1524da5
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_view.cc:
        ur
      b1524da5
    • unknown's avatar
      Fix bad merge from #14262. · 1436bfb0
      unknown authored
      
      sql/sql_trigger.cc:
        Correct previous patch regarding binlog-entry type.
      1436bfb0
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/emergency/mysql-5.0.26a-release · 728baff0
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      728baff0
    • unknown's avatar
      Bug #23427: incompatible ABI change in 5.0.26? · aaf7228f
      unknown authored
      Revert 1 June change enough to restore ABI compatibility with previous
      versions.
      
      
      include/mysql.h:
        Revert patch that breaks ABI compatibility
      libmysqld/lib_sql.cc:
        Remove useless assignment.
      aaf7228f
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/50 · ae560717
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/51
      
      
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      mysql-test/extra/rpl_tests/rpl_log.test:
        Auto merged
      mysql-test/extra/rpl_tests/rpl_max_relay_size.test:
        Auto merged
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/mtr_misc.pl:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/r/rpl_000015.result:
        Auto merged
      mysql-test/r/rpl_change_master.result:
        Auto merged
      mysql-test/r/rpl_err_ignoredtable.result:
        Auto merged
      mysql-test/r/rpl_loaddata.result:
        Auto merged
      mysql-test/r/rpl_replicate_do.result:
        Auto merged
      mysql-test/r/rpl_stm_log.result:
        Auto merged
      mysql-test/r/rpl_stm_max_relay_size.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/lock_multi.test:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/rpl_000015.test:
        Auto merged
      mysql-test/t/rpl_change_master.test:
        Auto merged
      mysql-test/t/rpl_drop_db.test:
        Auto merged
      mysql-test/t/rpl_err_ignoredtable.test:
        Auto merged
      mysql-test/t/rpl_loaddata.test:
        Auto merged
      mysql-test/t/rpl_replicate_do.test:
        Auto merged
      mysql-test/t/rpl_stm_log-master.opt:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Manual merge (use local)
      mysql-test/r/create.result:
        SCCS merged
      mysql-test/r/innodb_mysql.result:
        !bkm
        Manual merge (use local)
      mysql-test/t/sp.test:
        Manual merge (use local)
      ae560717
    • unknown's avatar
      Applied InnoDB snapshot 5.1-ss927 · a0f9b0b9
      unknown authored
      Fixes:
      - Bug #23368: crash during insert, table has foreign key pointing into other schema,permission
      
      
      storage/innobase/dict/dict0dict.c:
        Applied InnoDB snapshot 5.1-ss927
        
        Revision r927:
        dict_print_info_on_foreign_key_in_create_format(): Use ut_print_name()
        instead of passing the wrong length to ut_print_namel().  (Bug #23368)
        
        ut_print_name(), ut_print_namel(): Document the special treatment of '/'.
        
        ut_print_namel(): Replace strchr() with memchr(), as the string might
        not be NUL-terminated.
      storage/innobase/include/ut0ut.h:
        Applied InnoDB snapshot 5.1-ss927
        
        Revision r927:
        dict_print_info_on_foreign_key_in_create_format(): Use ut_print_name()
        instead of passing the wrong length to ut_print_namel().  (Bug #23368)
        
        ut_print_name(), ut_print_namel(): Document the special treatment of '/'.
        
        ut_print_namel(): Replace strchr() with memchr(), as the string might
        not be NUL-terminated.
      storage/innobase/ut/ut0ut.c:
        Applied InnoDB snapshot 5.1-ss927
        
        Revision r927:
        dict_print_info_on_foreign_key_in_create_format(): Use ut_print_name()
        instead of passing the wrong length to ut_print_namel().  (Bug #23368)
        
        ut_print_name(), ut_print_namel(): Document the special treatment of '/'.
        
        ut_print_namel(): Replace strchr() with memchr(), as the string might
        not be NUL-terminated.
      a0f9b0b9
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/inno/51 · ac757078
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/51
      
      ac757078
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/inno/50 · e530ffb1
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/50
      
      e530ffb1
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/inno/50 · 43402f6c
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/inno/51
      
      
      storage/innobase/handler/ha_innodb.cc:
        null merge (use local)
      43402f6c
    • unknown's avatar
      Apply InnoDB snapshot ss923 · 2378f5d2
      unknown authored
      Fixes:
      - Bug #18077: InnoDB uses full explicit table locks in stored FUNCTION
      
      
      storage/innobase/btr/btr0btr.c:
        Apply InnoDB snapshot ss923
        
        Revision r919:
        btr_page_get_father_for_rec(): Remove bogus comment about removed dict_tree_t.
      storage/innobase/dict/dict0dict.c:
        Apply InnoDB snapshot ss923
        
        Revision r892:
        Merge changes from MySQL AB.
        
        dict_col_copy_type_noninline(): Remove the return statement.
        Some compilers do not allow return expressions of void type.
        
        innobase_start_or_create_for_mysql(): Do not cap srv_max_threads to 1000
        on Windows.
        
        Makefile.am (EXTRA_DIST): Add plug.in
        
        
        Revision r897:
        dict_index_get_if_in_cache(): Enclose in #ifdef UNIV_DEBUG.
        Replace the search loop with a call to dict_index_find_on_id_low().
      storage/innobase/handler/ha_innodb.cc:
        Apply InnoDB snapshot ss923
        
        Revision r887:
        storage/innobase/handler: Merge changes from MySQL AB:
        
        ChangeSet
          2006/09/30 18:44:42-07:00 brian@zim.(none) 
          Merge zim.(none):/home/brian/mysql/merge-5.1
          into  zim.(none):/home/brian/mysql/arch-5.1
        
        ChangeSet
          2006/09/30 12:49:46-07:00 brian@zim.(none) 
          This patch adds handlerton passing to functions. NDB and Innodb still require a global hanlderton in the main code due to the nature of the sql_cache call back function (should be solveable... another patch).
          Partitioning now has a flag to allow disabling of engines from being compatible with partitioning. Cleaned up heap naming convention on panic call. 
        
        ChangeSet
          2006/09/29 17:19:02-07:00 brian@zim.(none) 
          This removes the passing of global hton to engine instance. 
        
        ChangeSet
          2006/09/28 13:22:56+02:00 gbichot@dl145h.mysql.com 
          Merge gbichot@bk-internal:/home/bk/mysql-5.1-arch
          into  dl145h.mysql.com:/users/gbichot/mysql-5.1-arch
        
        ChangeSet
          2006/09/28 13:19:43+02:00 gbichot@dl145h.mysql.com 
          In the handlerton, cursor creation function don't have an argument
          and so the engine calls current_thd to derive transaction information;
          instead we now pass THD to those functions, it looks more logical
          (it makes the implicit current_thd parameter more visible).
          Approved by Brian and Monty.
        
        ChangeSet
          2006/09/26 22:51:53-07:00 brian@zim.(none) 
          Merge zim.(none):/home/brian/mysql/merge-5.1
          into  zim.(none):/home/brian/mysql/arch-5.1
        
        
        Revision r895:
        Merge changes from MySQL AB, and remove two compilation warnings.
        
        ha_innodb.cc: innodb_mutex_show_status(): Add (ulong) casts to
        ulonglong expressions being passed to fprintf %lu.  The warnings
        were apparently introduced by MySQL AB developers.
        
        mysql_declare_plugin(innobase): Add PLUGIN_LICENSE_GPL.
        
        have_innodb.inc: Merge changes from MySQL AB.
        
        
        Revision r923:
        ha_innobase::store_lock(): When downgrading table locks, do not
        check thd->in_lock_tables but test if
        thd->lex->sql_command == SQLCOM_LOCK_TABLES
        instead.  Otherwise, stored functions will use table locks.  (Bug #18077)
        
        This patch is from Heikki.
      storage/innobase/include/dict0dict.h:
        Apply InnoDB snapshot ss923
        
        Revision r897:
        dict_index_get_if_in_cache(): Enclose in #ifdef UNIV_DEBUG.
        Replace the search loop with a call to dict_index_find_on_id_low().
      storage/innobase/include/mem0dbg.h:
        Apply InnoDB snapshot ss923
        
        Revision r901:
        Enclose some mem debug functions in #ifdef UNIV_DEBUG or #ifdef UNIV_MEM_DEBUG.
      storage/innobase/include/mtr0mtr.h:
        Apply InnoDB snapshot ss923
        
        Revision r866:
        mtr_print(), mtr_memo_contains(): Disable unless #ifdef UNIV_DEBUG.
      storage/innobase/include/mtr0mtr.ic:
        Apply InnoDB snapshot ss923
        
        Revision r866:
        mtr_print(), mtr_memo_contains(): Disable unless #ifdef UNIV_DEBUG.
      storage/innobase/include/sync0rw.h:
        Apply InnoDB snapshot ss923
        
        Revision r907:
        Send all SHOW ENGINE INNODB STATUS information to the client also when
        UNIV_SYNC_DEBUG is defined.
        
        rw_lock_list_print_info(): Add parameter "file".
        
        mutex_list_print_info(): Add parameter "file".  Make the function static.
      storage/innobase/include/sync0sync.h:
        Apply InnoDB snapshot ss923
        
        Revision r907:
        Send all SHOW ENGINE INNODB STATUS information to the client also when
        UNIV_SYNC_DEBUG is defined.
        
        rw_lock_list_print_info(): Add parameter "file".
        
        mutex_list_print_info(): Add parameter "file".  Make the function static.
      storage/innobase/include/univ.i:
        Apply InnoDB snapshot ss923
        
        Revision r894:
        univ.i: Indent some of the directives, and remove conditions about Windows
        in the "#else" branch of "#if building on Windows".
      storage/innobase/mem/mem0dbg.c:
        Apply InnoDB snapshot ss923
        
        Revision r901:
        Enclose some mem debug functions in #ifdef UNIV_DEBUG or #ifdef UNIV_MEM_DEBUG.
        
        
        Revision r902:
        mem0dbg.c: Enclose some more function definitions in #ifdef UNIV_MEM_DEBUG.
        The declarations were already enclosed in #ifdef UNIV_MEM_DEBUG.
      storage/innobase/mem/mem0pool.c:
        Apply InnoDB snapshot ss923
        
        Revision r896:
        mem0pool.c: Remove obsolete comments about the dictionary cache being
        managed with an LRU algorithm.
      storage/innobase/mtr/mtr0mtr.c:
        Apply InnoDB snapshot ss923
        
        Revision r866:
        mtr_print(), mtr_memo_contains(): Disable unless #ifdef UNIV_DEBUG.
      storage/innobase/row/row0purge.c:
        Apply InnoDB snapshot ss923
        
        Revision r869:
        row_purge_parse_undo_rec(): Correct a faulty condition.  Luckily, this
        bug would only surface if the InnoDB SQL interpreter were used for
        updating fixed-length columns.  Currently (as the UPD_NODE_NO_SIZE_CHANGE
        flag is never set), cmpl_info can only be 0 or UPD_NODE_NO_ORD_CHANGE.
        Luckily, UPD_NODE_NO_ORD_CHANGE is 1, and the condition was simplified
        to !cmpl_info.
      storage/innobase/sync/sync0rw.c:
        Apply InnoDB snapshot ss923
        
        Revision r907:
        Send all SHOW ENGINE INNODB STATUS information to the client also when
        UNIV_SYNC_DEBUG is defined.
        
        rw_lock_list_print_info(): Add parameter "file".
        
        mutex_list_print_info(): Add parameter "file".  Make the function static.
      storage/innobase/sync/sync0sync.c:
        Apply InnoDB snapshot ss923
        
        Revision r907:
        Send all SHOW ENGINE INNODB STATUS information to the client also when
        UNIV_SYNC_DEBUG is defined.
        
        rw_lock_list_print_info(): Add parameter "file".
        
        mutex_list_print_info(): Add parameter "file".  Make the function static.
      2378f5d2
    • unknown's avatar
      Apply InnoDB snapshot ss923 · 596730c6
      unknown authored
      Fixes:
      - Bug #18077: InnoDB uses full explicit table locks in stored FUNCTION
      
      
      sql/ha_innodb.cc:
        Apply InnoDB snapshot ss923
        
        Revision r922:
        ha_innobase::store_lock(): When downgrading table locks, do not
        check thd->in_lock_tables but test if
        thd->lex->sql_command == SQLCOM_LOCK_TABLES
        instead.  Otherwise, stored functions will use table locks.  (Bug #18077)
      596730c6
    • unknown's avatar
      Init some variables that changes between test cases direclty in run_testcase · ccb62b7a
      unknown authored
      This can not be done in run_testcase_start_servers as embedded never starts a server
      Add error if mysqld_start is called in embedded mode 
      
      ccb62b7a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 82118c43
      unknown authored
      into  polly.local:/home/kaa/src/maint/m41-maint--07OGk
      
      82118c43
    • unknown's avatar
      Merge polly.local:/tmp/maint/bug23256/mysql-5.0-maint · fb130bf1
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.0-maint
      
      fb130bf1