1. 15 Mar, 2006 1 commit
    • unknown's avatar
      Bug #17722 Test 'partition_02myisam' hangs on Windows · 5cb93cc3
      unknown authored
      The problem where is that Visual Studio 8 includes new security features to help write more secure code.  One of these features is parameter validation.  Many of the CRT functions, including lseek, assert on illegal parameter values in debug builds.  They also call parameter validation callback routines that can be registered.  We solve this problem by defaulting the error value to -1 and then only calling lseek if the fd != -1.
      
      my_seek.c:
        Only call lseek if the fd is not -1 on Windows
      
      
      mysys/my_seek.c:
        Only call lseek if the fd is not -1 on Windows
      5cb93cc3
  2. 14 Mar, 2006 19 commits
  3. 13 Mar, 2006 20 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 6048eb31
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      6048eb31
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 628e86df
      unknown authored
      into  production.mysql.com:/usersnfs/gbichot/mysql-5.1-new
      
      
      628e86df
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new · ed0442b0
      unknown authored
      into  zim.(none):/home/mikael/bug16370
      
      
      sql/sql_yacc.yy:
        Auto merged
      ed0442b0
    • unknown's avatar
      mysqld.cc: · d0b16b6e
      unknown authored
        Revise option description. And let's put it in the proper
        lexical order within the option list.
      
      
      sql/mysqld.cc:
        Revise option description. And let's put it in the proper
        lexical order within the option list.
      d0b16b6e
    • unknown's avatar
      BUG #16810: Error on coalesce partition · c472bdba
      unknown authored
      New test case (bug was already fixed)
      
      
      mysql-test/r/ndb_partition_key.result:
        New test case
      mysql-test/t/ndb_partition_key.test:
        New test case
      c472bdba
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 70fbbd47
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      70fbbd47
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 819d0dba
      unknown authored
      into  mysql.com:/usr/local/mysql/tmpbuild-5.1
      
      
      819d0dba
    • unknown's avatar
      28255aac
    • unknown's avatar
      post-commit: · 2b8d142f
      unknown authored
        Small change to enable sending of mails from Windows bk clones
      
      
      BitKeeper/triggers/post-commit:
        Small change to enable sending of mails from Windows bk clones
      2b8d142f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · b6248680
      unknown authored
      into  mysql.com:/usr/local/mysql/mysql-5.1-new
      
      
      b6248680
    • unknown's avatar
      Misc. portability compile fixes. · 357007b3
      unknown authored
      
      sql/log_event.cc:
        Fix Windows compile errors.
      storage/innobase/btr/btr0sea.c:
        Fix AIX compile error (declarations must come before code in traditional C).
      sql/sql_class.h:
        Fix HPUX compile problem (HP compiler bug).
        Local class of member in derived class has no access to protected members,
        so make the class global and a friend.
      sql/sql_insert.cc:
        Fix HPUX compile problem (HP compiler bug).
        Local class of member in derived class has no access to protected members,
        so make the class global and a friend.
      357007b3
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 43da9989
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
      
      
      43da9989
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 3debde2b
      unknown authored
      into  production.mysql.com:/usersnfs/gbichot/mysql-5.1-new
      
      
      sql/sql_yacc.yy:
        Auto merged
      3debde2b
    • unknown's avatar
      Fixes to the replication mixed mode (patch approved by Monty): · b9f6f9bc
      unknown authored
      - detect the need for row-based binlogging not at execution stage but earlier at parsing stage; needed for example for CREATE TABLE SELECT UUID().
      - more tests of this mixed mode.
      
      
      mysql-test/r/rpl_switch_stm_row_mixed.result:
        result update
      mysql-test/t/rpl_switch_stm_row_mixed.test:
        testing more scenarios for the mixed replication mode.
        Added support for manual testing of UDFs vs the mixed mode (behind a variable in the test).
        Changing old file names to better ones.
      sql/item_create.cc:
        at parse time, when we see a UUID(), put up a flag in LEX to say this binlogs properly only with row-based binlogging.
      sql/item_func.cc:
        it's not perfect to put up the flag at this execution stage, better do it at parse stage.
      sql/item_strfunc.cc:
        it's not perfect to put up the flag at this execution stage, better do it at parse stage
      sql/set_var.cc:
        this assertion is wrong, this piece of code can happen in RBR mode too.
      sql/sql_lex.cc:
        when we reinitialize the LEX members before every query, we have to reinitialize the new flag
      sql/sql_lex.h:
        A new flag, set at parsing stage, which tells if some items seen during parsing stage require row-based replication to binlog/replicate correctly
        when this statement is later executed.
        It has to be in LEX and not directly in THD, for this to work in prepared statements.
      sql/sql_parse.cc:
        Parsing stage happened at some time in the past and set up the flag in LEX, now that we execute the statement we actually turn on row-based binlogging
        if the thread's binlog format is "mixed". We then turn it off when leaving mysql_execute_command().
        Some cleanup code was not executed if leaving mysql_execute_command() at the "error" label, fixing this. A better fix than the "goto end" would be
        to modify each "goto error" to "res=1; goto end" but it required changing many lines which I don't want to do now ("make smallest possible patch").
      sql/sql_yacc.yy:
        When at parsing stage we see a UDF we put up a flag to say that row-based binlogging is preferred.
      b9f6f9bc
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 27b07096
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1
      
      
      27b07096
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.1-17097 · 51cae921
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      sql/sql_partition.cc:
        Auto merged
      mysql-test/r/partition.result:
        e
        Resolve conflict
      mysql-test/t/partition.test:
        Resolve conflict
      51cae921
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.1-17497 · 06092085
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/partition.result:
        SCCS merged
      mysql-test/t/partition.test:
        SCCS merged
      06092085
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.1-14526 · 360c7818
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      mysql-test/r/partition.result:
        Resolve conflict
      mysql-test/t/partition.test:
        Resolve conflict
      sql/ha_partition.cc:
        Resolve conflict
      360c7818
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.1-14673 · 99b49c32
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      mysql-test/r/partition.result:
        SCCS merged
      mysql-test/t/partition.test:
        SCCS merged
      99b49c32
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.1-new · abb6bf4b
      unknown authored
      into  production.mysql.com:/usersnfs/rburnett/mysql-5.1-bug17173
      
      
      abb6bf4b