1. 14 Apr, 2005 1 commit
    • unknown's avatar
      information_schema.result, information_schema.test: · 99584b9d
      unknown authored
        Added a test in connection with the fix for
        bug #6106.
      view.result, view.test:
        Added test cases for bugs #6106/6107.
      sql_show.cc:
        The addition of the case for items of the type REF_ITEM in the
        function uses_only_table_name_fields became necessary after
        the fix for bug #6106.
      sql_base.cc:
        The problem was due to the fact that two different column
        references were glued together though one of them belonged to
        a subquery while another to an outer query. This caused
        eventually a wrong calculation of values for the used_tables
        attribute.
      
      
      sql/sql_base.cc:
        The problem was due to the fact that two different column
        references were glued together though one of them belonged to
        a subquery while another to an outer query. This caused
        eventually a wrong calculation of values for the used_tables
        attribute.
      sql/sql_show.cc:
        The addition of the case for items of the type REF_ITEM in the
        function uses_only_table_name_fields became necessary after
        the fix for bug #6106.
      mysql-test/t/view.test:
        Added test cases for bugs #6106/6107.
      mysql-test/r/view.result:
        Added test cases for bugs #6106/6107.
      mysql-test/t/information_schema.test:
        Added a test in connection with the fix for
        bug #6106.
      mysql-test/r/information_schema.result:
        Added a test in connection with the fix for
        bug #6106.
      99584b9d
  2. 13 Apr, 2005 23 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 9f5ebec5
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      9f5ebec5
    • unknown's avatar
      Allow SQLCOM_CALL in prepared mode. · 67d8d63d
      unknown authored
      
      mysql-test/r/ps.result:
        Test results: adding tests for CALL statement in prepared mode.
      mysql-test/t/ps.test:
        Adding tests for CALL statement in prepared mode.
      67d8d63d
    • unknown's avatar
      Merge from 4.1 · e251a1d8
      unknown authored
      
      innobase/fil/fil0fil.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/t/ctype_ucs_binlog.test:
        Auto merged
      e251a1d8
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6f0f7231
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      6f0f7231
    • unknown's avatar
      Fix ctype_ucs_binlog test when ucs2 not available · f4d1c474
      unknown authored
      
      mysql-test/t/ctype_ucs_binlog.test:
        Require ucs support
      f4d1c474
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 98440227
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      98440227
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · db00ad74
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      db00ad74
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · a335580f
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      a335580f
    • unknown's avatar
      Fixed BUG#9674: Stored Procs: Using declared vars in algebric operation · bc63127d
      unknown authored
                      causes system crash.
      
      
      mysql-test/r/sp.result:
        Added test case for BUG#9674.
      mysql-test/t/sp.test:
        Added test case for BUG#9674.
      sql/item.cc:
        Returning a pointer to a local variable is not a good idea.
        Better to use parameter which is there for exactly this purpose.
      bc63127d
    • unknown's avatar
      Merge · 59d31e7f
      unknown authored
      
      ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      59d31e7f
    • unknown's avatar
      Fixed BUG#9856: Stored procedures: crash if handler for sqlexception, not found. · d6f420e9
      unknown authored
      
      mysql-test/r/sp.result:
        Added test case for BUG#6129.
      mysql-test/t/sp.test:
        Added test case for BUG#6129.
      sql/sp_pcontext.h:
        Only need one handler counter.
      sql/sql_yacc.yy:
        Count handlers correctly.
      d6f420e9
    • unknown's avatar
      Merge · da6b8a01
      unknown authored
      
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/dict/dict0load.c:
        Auto merged
      innobase/include/dict0dict.h:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/mi_dynrec.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      mysql-test/r/kill.result:
        Auto merged
      mysql-test/t/kill.test:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      da6b8a01
    • unknown's avatar
      fil0fil.c: · 921eb204
      unknown authored
        At the shutdown, write the latest lsn only to the first pages of the ibdata files of the system tablespace, NOT to the .ibd files; writing to tens of thousands .ibd files can take minutes
      
      
      innobase/fil/fil0fil.c:
        At the shutdown, write the latest lsn only to the first pages of the ibdata files of the system tablespace, NOT to the .ibd files; writing to tens of thousands .ibd files can take minutes
      921eb204
    • unknown's avatar
      Added test case for BUG#6129: Stored procedure won't display @@sql_mode value. · b0242911
      unknown authored
      
      mysql-test/r/sp.result:
        Added testcase for BUG#6129: Check that sql_mode is really set in mysql.proc.
      mysql-test/t/sp.test:
        Added testcase for BUG#6129: Check that sql_mode is really set in mysql.proc.
      b0242911
    • unknown's avatar
      row0sel.c: · 7294af60
      unknown authored
        Fix the patch of Jan to optimize next-key locking in searches of type 'primary key >= some value'
      
      
      innobase/row/row0sel.c:
        Fix the patch of Jan to optimize next-key locking in searches of type 'primary key >= some value'
      7294af60
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1 · 49d388b6
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      49d388b6
    • unknown's avatar
      row0sel.c: · 1f3bfc88
      unknown authored
        Do not test the value of err if the lock operation was skipped because innodb_logs_unsafe_for_binlog was TRUE; though this did not cause any bugs visible to the user, because err is inited to DB_SUCCESS at the start of the function row_search_for_mysql()
      
      
      innobase/row/row0sel.c:
        Do not test the value of err if the lock operation was skipped because innodb_logs_unsafe_for_binlog was TRUE; though this did not cause any bugs visible to the user, because err is inited to DB_SUCCESS at the start of the function row_search_for_mysql()
      1f3bfc88
    • unknown's avatar
      Merge · 1eab61f2
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      1eab61f2
    • unknown's avatar
      Fixed failed merge · 599aebd9
      unknown authored
      599aebd9
    • unknown's avatar
      Merge · 37172400
      unknown authored
      
      sql/mysqld.cc:
        Auto merged
      37172400
    • unknown's avatar
    • unknown's avatar
      Fixed a bug where next-key locking doesn't allow the insert which does · 502c6766
      unknown authored
      not produce phantom (bug #9354).
      
      502c6766
    • unknown's avatar
      Remove references to result.es files · 9666088f
      unknown authored
      
      mysql-test/Makefile.am:
        Remove reference to result.es
      scripts/make_binary_distribution.sh:
        Remove references to result.es
      9666088f
  3. 12 Apr, 2005 16 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · aa2c93a6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      aa2c93a6
    • unknown's avatar
      mysql-test/r/flush_block_commit.result · 33d26895
      unknown authored
          correct result after bugfix
      sql/sql_class.cc
          initialize net.query_cache_query
      
      
      mysql-test/r/flush_block_commit.result:
        correct result after bugfix
      sql/sql_class.cc:
        initialize net.query_cache_query
      sql/sql_yacc.yy:
        oops
      33d26895
    • unknown's avatar
      Bit type: code clean-up. · bd5c737c
      unknown authored
      
      sql/field.h:
        Field_bit_as_char::size_of() added - we use it in the ::new_key_field().
      sql/sql_table.cc:
        We have to set pack_flag for bit fields in the mysql_prepare_table()
        as we use it in the create_length_to_internal_length().
      bd5c737c
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · ebd0964c
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      ebd0964c
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 069c62a7
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      069c62a7
    • unknown's avatar
      FLUSH TABLES WITH READ LOCK should block writes to binlog too · 784847d9
      unknown authored
      
      mysql-test/r/flush_block_commit.result:
        FLUSH TABLES WITH READ LOCK should block writes to binlog too
        it does not yet
      mysql-test/t/flush_block_commit.test:
        FLUSH TABLES WITH READ LOCK should block writes to binlog too
        it does not yet
      784847d9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 8b88f3e5
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      8b88f3e5
    • unknown's avatar
      Bit type: code cleanup. · 5900eb79
      unknown authored
      
      sql/field.cc:
        We have to use memcmp() here to get determinate results.
      sql/sql_table.cc:
        Should set pack_flag here instead of doing |=
      5900eb79
    • unknown's avatar
      Fixed BUG#7185: Stored procedure crash if identifier is AVG · 97307798
      unknown authored
      
      mysql-test/r/sp.result:
        Added test case for BUG#7185.
      mysql-test/t/sp.test:
        Added test case for BUG#7185.
      sql/sql_yacc.yy:
        Allow non-reserved words as stored procedure names.
      97307798
    • unknown's avatar
      InnoDB: Ignore character set mismatch in ALTER TABLE and RENAME TABLE · ae6b947b
      unknown authored
      if foreign_key_checks=0. (Bug #9802)
      
      
      innobase/dict/dict0dict.c:
        dict_foreign_add_to_cache(): Add flag check_types.
        If the flag is FALSE, ignore character set mismatch.
      innobase/dict/dict0load.c:
        dict_load_foreign(), dict_load_foreigns(): Add flag check_types.
        If the flag is FALSE, differences in character sets will be ignored.
      innobase/include/dict0dict.h:
        dict_foreign_add_to_cache(): Add flag check_types.
        If the flag is FALSE, differences in character sets will be ignored.
      innobase/include/dict0load.h:
        dict_load_foreigns(): Add flag check_types.
        If the flag is FALSE, differences in character sets will be ignored.
      innobase/row/row0mysql.c:
        row_table_add_foreign_constraints(), row_rename_table_for_mysql():
        Pass trx->check_foreigns to dict_load_foreigns()
      sql/ha_innodb.cc:
        ha_innobase::rename_table(): Clear trx->check_foreign if necessary.
      ae6b947b
    • unknown's avatar
      Fixed BUG#6663: Stored Procedures code report non-selected DB · 3bda6e58
      unknown authored
                      when CREATE but not when ALTER
      
      
      sql/sql_parse.cc:
        Return more consistent error message for alter/drop procedure/function
        when no current database and no qualified name.
      3bda6e58
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 31ae09fc
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      mysql-test/r/heap.result:
        Auto merged
      mysql-test/t/heap.test:
        Auto merged
      31ae09fc
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · bb85fdaf
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      bb85fdaf
    • unknown's avatar
      bug#9757 - ndb - post review · 795cd673
      unknown authored
        use DBUG_RETURN
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        bug#9757 - ndb
          use DBUG_RETURN
      795cd673
    • unknown's avatar
      Merge grichter@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3135c9c0
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-5.0
      
      3135c9c0
    • unknown's avatar
      bug#9757 - ndb · ecdd8997
      unknown authored
        Impl. stupid mgm lock against shutting down 2 nodes simultaniously
        Add some more dump
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Impl. 2 new dump 
        1) to query nf handling state
        2) that impl. sending of arbitrary signal...
           to be used with extreme care
      ndb/src/kernel/main.cpp:
        enable critical and warnings in out file
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        call handleStopReply on nfCompleteRep instead
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        call handleStopReply on nfCompleteRep instead
      ecdd8997