1. 14 Jul, 2005 34 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 908ff34e
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      908ff34e
    • unknown's avatar
      take into account table lock mode when opening table: · 7f80ca54
      unknown authored
      try to find most suitable table, to avouid pickup table with too low locking mode or occupy table with write mode for select when it will be need for update later
      (BUG#9597)
      
      
      mysql-test/r/view.result:
        opening table in correct locking mode test
      mysql-test/t/view.test:
        opening table in correct locking mode test
      sql/sql_base.cc:
        take into account table lock mode when opening table:
        try to find most suitable table, to avouid pickup table with too low locking mode or occupy table with write mode for select when it will be need for update later
      7f80ca54
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · 3357d89b
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      mysql-test/t/ps.test:
        Manual merge
      3357d89b
    • unknown's avatar
      Fix ps.test in --ps-protocol · 951dacdc
      unknown authored
      
      mysql-test/t/ps.test:
        Disable prepared statements for a part of the test to avoid
        result mismatch.
      951dacdc
    • unknown's avatar
      Post-merge fixes. · ef095886
      unknown authored
      ef095886
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · b0641a3b
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      regex/regerror.c:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      mysql-test/r/ps.result:
        Manual merge
      mysql-test/t/ps.test:
        Manual merge
      sql/sql_yacc.yy:
        Manual merge
      b0641a3b
    • unknown's avatar
      Hastily remove an occasionally checked in symlink :( · 73386c15
      unknown authored
      
      BitKeeper/deleted/.del-var~507a9bd3b926223e:
        Delete: mysql-test/var
      73386c15
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · d9e44dc7
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-root
      
      
      d9e44dc7
    • unknown's avatar
      A fix and a test case for Bug#11299 "prepared statement makes wrong SQL · cb7a5b53
      unknown authored
       syntax in binlog which stops replication":
      disallow the use of parameter markers which can lead to generation
      of malformed binlog queries. 
      
      
      mysql-test/r/ps.result:
        Test results fixed: a test case for Bug#11299
      mysql-test/t/ps.test:
        A test case for Bug#11299
      sql/sql_lex.cc:
        Introduce a new parser token for a parameter marker. Make sure
        that a parameter marker can not be used in a query which, when
        transformed to a binlog query, becomes grammatically incorrect.
      sql/sql_yacc.yy:
        The check for COM_PREPARE has been moved into the lexer.
      mysql-test/var:
        New BitKeeper file ``mysql-test/var''
      cb7a5b53
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 77509050
      unknown authored
      into  mysql.com:/media/sda1/mysql/mysql-5.0-10760-new
      
      
      77509050
    • unknown's avatar
      Post-merge fixes. · d12fd45d
      unknown authored
      
      mysql-test/r/fulltext_order_by.result:
        A post-merge fix.
      mysql-test/t/fulltext_order_by.test:
        A post-merge fix (a different plan is chosen for a query in 5.0)
      sql/sql_select.cc:
        Post-merge fix.
      d12fd45d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 53bb8fa6
      unknown authored
      into  mysql.com:/media/sda1/mysql/mysql-5.0-10760-new
      
      
      sql/item_func.cc:
        Auto merged
      53bb8fa6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · a1a05ac8
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      a1a05ac8
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · 86ae5158
      unknown authored
      into  linux.site:/home/reggie/bk/mysql-4.1
      
      
      86ae5158
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · 841f71b1
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      libmysql/libmysql.c:
        Manual merge
      tests/mysql_client_test.c:
        Manual merge
      841f71b1
    • unknown's avatar
      A fix and a test case for Bug#11183 "mysql_stmt_reset() doesn't reset · bd44c99b
      unknown authored
      information about error".
      
      
      libmysql/libmysql.c:
        Clear the last error on the statement if mysql_stmt_reset succeeded.
      tests/mysql_client_test.c:
        A test case for Bug#11183 "mysql_stmt_reset() doesn't reset information 
        about error"
      bd44c99b
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · 5858a8cd
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      sql/field.cc:
        manual merge
      tests/mysql_client_test.c:
        manual merge
      mysql-test/r/select.result:
        manual merge
      mysql-test/t/select.test:
        manual merge
      sql/sql_select.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      5858a8cd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 69ecbbcb
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-root
      
      
      69ecbbcb
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-4.1-build-tree · 96dcb8c2
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-merge-from-build
      
      
      sql/item_func.cc:
        Auto merged
      96dcb8c2
    • unknown's avatar
      Get rid of checking for ETIME return value of pthread_cond_timedwait. · e4f2bd46
      unknown authored
      ETIME was returned by cond_timedwait (sic, the pre-POSIX1001b function) on 
      Solaris 2.6 and 2.7. pthread_cond_timedwait on Solaris returns ETIMEDOUT.
      The standard requirement is that the only additional return value
      of pthred_cond_timedwait compared to pthread_cond_wait is ETIMEDOUT.
      Let us not bloat the application code with redundant checks,
      and if we're ever to work on a platform that returns a non-standard 
      value, we should write a wrapper for that platform (like we do, e.g., for
      Windows).
      
      
      mysys/my_os2cond.c:
        - fix our implementation of pthread_cond_timedwait on OS2 to return
          ETIMEDOUT instead of ETIME.
      sql/item_func.cc:
        - don't check for ETIME
      sql/slave.cc:
        - don't check for ETIME
      sql/sql_insert.cc:
        - don't check for ETIME
      e4f2bd46
    • unknown's avatar
      Fix for BUG#11869: In Item_func_match::fix_index() handle the case when there is no · c0bcf503
      unknown authored
        source table present (this happens for ORDER BY after UNION)
      
      
      mysql-test/r/fulltext_order_by.result:
        Testcase for BUG#11869
      mysql-test/t/fulltext_order_by.test:
        Testcase for BUG#11869
      c0bcf503
    • unknown's avatar
      Fix for BUG#11700: in add_not_null_conds(), call full fix_fields() for the created NOT NULL. · d91c901f
      unknown authored
        This is needed because in some cases range optimization is performed twice and added 
        NOT NULL item must have correct const_table_map() value. 
      
      
      mysql-test/r/select.result:
        Testcase for BUG#11700
      mysql-test/t/select.test:
        Testcase for BUG#11700
      d91c901f
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 51b60984
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.clean
      
      
      51b60984
    • unknown's avatar
      Fix for bug #10929 (type_newdecimal.test requires InnoDB) · 43fff9d5
      unknown authored
      
      mysql-test/r/innodb.result:
        test result fixed
      mysql-test/r/type_newdecimal.result:
        test result fixed
      mysql-test/t/innodb.test:
        test moved here
      mysql-test/t/type_newdecimal.test:
        Innobase bug moved to the innodb.test
      43fff9d5
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 20d8170a
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      20d8170a
    • unknown's avatar
      item.cc: · 9f707ab2
      unknown authored
        After merge fix.
      
      
      sql/item.cc:
        After merge fix.
      9f707ab2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7e2defb6
      unknown authored
      into  mysql.com:/media/sda1/mysql/mysql-5.0-10760-new
      
      
      7e2defb6
    • unknown's avatar
      Implement MarkM optimization request to avoid redundnat packet exchange · fd9f67f8
      unknown authored
      in cursors.
      
      
      libmysql/libmysql.c:
        - reset_stmt_handle(): don't reset the server side just because we have 
          an open cursor: the server will close the cursor automatically if 
          needed
      sql/sql_prepare.cc:
        - implement Prepared_statement::close_cursor,
        - implicitly close an open cursor in mysql_stmt_execute instead of 
          issuing an error (to reduce the need to explicitly close cursors
          and save network bandwidth).
        - cleanup
      sql/sql_select.cc:
        Remove a destructor: cursor destruction can not be done by simply
        calling a destructor, because of cross-references between cursor
        and statement memory.
      sql/sql_select.h:
        - add an empty Cursor destructor
      tests/mysql_client_test.c:
        - remove a test for dropped functionality
      fd9f67f8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · eb4a309b
      unknown authored
      into  mysql.com:/opt/local/work/mysql-4.1-root
      
      
      eb4a309b
    • unknown's avatar
      A fix and a test case for Bug#9735. · a16a61d9
      unknown authored
      No separate typecode for MEDIUMTEXT/LONGTEXT is added, as we
      have no sound decision yet what typecodes and for what types are
      sent by the server (aka what constitutes a distinct type in MySQL).
      
      
      
      mysql-test/r/ps_2myisam.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_3innodb.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_4heap.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_5merge.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_6bdb.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_7ndb.result:
        Test results fixed: new longtext/longblob length (2^32)
      sql/field.cc:
        A fix for Bug#9735 "mysql_fetch_fields() acts strange on 
        LONGBLOB/LONGTEXT": fix wrong initialization of field_length
        in case of BLOB fields.
      tests/mysql_client_test.c:
        A test case for Bug#9735  "mysql_fetch_fields() acts strange on 
        LONGBLOB/LONGTEXT"
      a16a61d9
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.num-conv · 212345b4
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/item.cc:
        After merge fix.
      212345b4
    • unknown's avatar
      valgrind error fix(uninitialiased variable) · c0e325a3
      unknown authored
      removed unnecessary operation
      
      
      sql/sql_lex.cc:
        valgrind error fix(uninitialiased variable)
      sql/sql_parse.cc:
        removed unnecessary operation
      c0e325a3
    • unknown's avatar
      b0d97b2c
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 86cb32b7
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.num-conv
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      86cb32b7
  2. 13 Jul, 2005 6 commits