1. 24 Nov, 2004 30 commits
    • unknown's avatar
      Merging 4.1 to 5.0 · ad5d5b4b
      unknown authored
      
      Build-tools/Do-compile:
        Auto merged
      client/Makefile.am:
        Auto merged
      client/mysqladmin.cc:
        Auto merged
      configure.in:
        Auto merged
      ndb/src/common/util/version.c:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      ndb/src/mgmsrv/main.cpp:
        Resolved NDB conflict between 4.1 and 5.0
      ad5d5b4b
    • unknown's avatar
      A fix. Why didn't we use UINT_MAX32? · 9a4cb312
      unknown authored
      9a4cb312
    • unknown's avatar
      configure.in: · a0e87092
      unknown authored
        Fix linking error in 5.0: the build system for Linux/S390 does not have inlining working in the compiler; remove inlining on that system
      
      
      innobase/configure.in:
        Fix linking error in 5.0: the build system for Linux/S390 does not have inlining working in the compiler; remove inlining on that system
      a0e87092
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · d67814fe
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      d67814fe
    • unknown's avatar
      added explanation of error code 4335 · 3a731e7e
      unknown authored
      3a731e7e
    • unknown's avatar
      Merge from 4.0 for immediate use in the current 5.0 builds. · 69d27cb0
      unknown authored
      
      client/mysqladmin.cc:
        Auto merged
      Build-tools/Do-compile:
        Merged the default "--force" for the call to 'mysql-test-run' from 4.0, for immediate use in the current 5.0 builds.
      69d27cb0
    • unknown's avatar
      Fixed bug related to lower case table names on Power Mac · 1987e3f4
      unknown authored
      'information_schema' test is splitted because of innodb  
      
      
      mysql-test/r/information_schema.result:
        Test is splitted because of innodb
      mysql-test/t/information_schema.test:
        Test is splitted because of innodb
      sql/sql_show.cc:
        Fixed bug related to lower case table names on Power Mac
      sql/table.h:
        Fixed bug related to lower case table names on Power Mac
      tests/client_test.c:
        Don't check field length for blob filed
      1987e3f4
    • unknown's avatar
      a1185b75
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · de1e5753
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      de1e5753
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 752bb51b
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      752bb51b
    • unknown's avatar
      also backup needs triggers · 05182572
      unknown authored
      05182572
    • unknown's avatar
      calculation of noOfTriggers · 4ecf5536
      unknown authored
      4ecf5536
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · e95f9d5d
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      e95f9d5d
    • unknown's avatar
      bug#6775 - ndb · ef5d0be3
      unknown authored
      Queue scan on real fragment.
        Index fragment for range scans
        Table fragment for table scans
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Document meaning of fragPtrI and how it differs
          from scanTcRec->fragmentptr
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Queue scan on real fragment.
          Index fragment for range scans
          Table fragment for table scans
      ndb/src/ndbapi/NdbConnection.cpp:
        Check tOp before assigning
      ef5d0be3
    • unknown's avatar
      Merge mysql.com:/M40/mysql-4.0 into mysql.com:/M41/mysql-4.1 · 46d972b7
      unknown authored
      
      client/mysqladmin.cc:
        Auto merged
      46d972b7
    • unknown's avatar
      Ensure consistent sources up to 5.0 where a C++ problem occurs. · 89785675
      unknown authored
      
      client/mysqladmin.c:
        Cast to overcome a C vs. C++ signature problem, occurring in 5.0 where this is a C++ file.
      89785675
    • unknown's avatar
      b347aeac
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 90207c47
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      90207c47
    • unknown's avatar
      Merged 4.0 change into 4.1 · 31627b46
      unknown authored
      
      Build-tools/Do-compile:
        Merged new default "--force" (can be switched off using "--one-error") from 4.0 into 4.1
      31627b46
    • unknown's avatar
      merge error · 6a1442ae
      unknown authored
      6a1442ae
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/wl2077 · 62df203f
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      62df203f
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 2f035be5
      unknown authored
      into mysql.com:/home/jonas/src/wl2077
      
      2f035be5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 69d569ea
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-bg5888
      
      69d569ea
    • unknown's avatar
      ndb - 4.1.8 is not online software upgradable with 4.1.7 (due to close scan optimizations) · 6f07c1bb
      unknown authored
      
      ndb/src/common/util/version.c:
        4.1.8 is not online software upgradable with 4.1.7 (due to close scan optimizations)
      6f07c1bb
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · fe5fd881
      unknown authored
      into mysql.com:/home/jonas/src/wl2077
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      fe5fd881
    • unknown's avatar
      A small cleanup in sql_select.h · 5050de0f
      unknown authored
      
      sql/sql_select.h:
        Remove double assingment of fields_list.
      5050de0f
    • unknown's avatar
      uca-dump.c: · 3b0578fe
      unknown authored
        Use less wide spaces on the primary level,
        to avoid big diff for ctype-uca.c.
      
      
      strings/uca-dump.c:
        Use less wide spaces on the primary level,
        to avoid big diff for ctype-uca.c.
      3b0578fe
    • unknown's avatar
      Fix for bug #5888 "Triggers with nonexistent columns cause packets · 245fa6cb
      unknown authored
      out of order". (final version)
      
      Now instead of binding Item_trigger_field to TABLE objects during
      trigger definition parsing at table open, we perform pass through
      special list of all such objects in trigger. This allows easily check
      all references to fields in old/new version of row in trigger during
      execution of CREATE TRIGGER statement (this is more courtesy for users
      since we can't check everything anyway).
      We also report that such reference is bad by returning error from
      Item_trigger_field::fix_fields() method (instead of setup_field())
      This means that if trigger is broken we will bark during trigger
      execution instead of trigger definition parsing at table open.
      (i.e. now we allow to open tables with broken triggers).
      
      
      mysql-test/r/trigger.result:
        Added test which attempts to create trigger for table referencing to
        field which does not exist in this table.
      mysql-test/t/trigger.test:
        Added test which attempts to create trigger for table referencing to
        field which does not exist in this table.
      sql/item.cc:
        Item_trigger_field::setup_field() now returns void. If any error
        will occur we will report it at fix_fields() stage.
      sql/item.h:
        Item_trigger_field:
        - Added next_trg_field member for linking all such objects in trigger
          in one list.
        - Also setup_field() now returns void. If any error will occur we will
          report it at fix_fields() stage.
      sql/mysql_priv.h:
        Added SQL_LIST::push_back() method which allows to add another SQL_LIST
        to the end of this SQL_LIST.
      sql/sp_head.cc:
        sp_head::init()/reset_lex()/restore_lex():
         In order to fill global LEX::trg_table_fields (list of all 
         Item_trigger_field objects for trigger) we should init the same list
         in LEX of substatement before its parsing and merge it to global list
         after parsing.
      sql/sp_head.h:
        sp_instr_trigger_field:
          Made trigger_field member public to be able to add it more easily to
          global list of all Item_trigger_field objects in trigger.
      sql/sql_lex.cc:
        LEX::trg_table was removed.
      sql/sql_lex.h:
        Now we are binding Item_trigger_field's to TABLE object by passing
        through specially constructed list of all such objects in this trigger
        instead of doing this during trigger definition parsing at table open.
        So we no longer need LEX::trg_table, we use LEX::trg_table_fields list
        instead.
      sql/sql_parse.cc:
        mysql_execute_command():
          Since now we use trigger body for some checks in
          mysql_create_or_drop_trigger() we should destroy it only
          after calling this function.
      sql/sql_trigger.cc:
        Now instead of binding Item_trigger_field to TABLE objects during
        trigger definition parsing at table open, we perform pass through
        special list of all such objects in trigger. This allows easily check
        all references to fields in old/new version of row in trigger during
        execution of CREATE TRIGGER statement (this is more courtesy for users
        since we can't check everything anyway).
        We also report that such reference is bad by returning error from
        Item_trigger_field::fix_fields() method (instead of setup_field())
        This means that if trigger is broken we will bark during trigger
        execution instead of trigger definition parsing at table open.
        (i.e. now we allow to open tables with broken triggers).
        
        Table_triggers_list::prepare_old_row_accessors() method was added to be
        able to reuse code creating Field objects referencing TABLE::record[1]
        buffer instead of TABLE::record[0].
      sql/sql_trigger.h:
        Added Table_triggers_list::prepare_old_row_accessors() method to be
        able to reuse code creating Field objects referencing to TABLE::record[1]
        instead of record[0].
      sql/sql_yacc.yy:
        Now instead of performing binding of Item_trigger_field objects
        to TABLE object during trigger definition parsing at table open,
        we perform this binding by passing through specially constructed
        list of all such items in trigger.
        We also check value returned from memory allocation functions.
      245fa6cb
    • unknown's avatar
      ndb - Add testcase to autotest · 4048a76d
      unknown authored
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        print on state on rare crash
      ndb/test/run-test/daily-basic-tests.txt:
        more test cases
      4048a76d
    • unknown's avatar
      ndb - debug printout · c49bfac1
      unknown authored
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        print state on rare crash
      c49bfac1
  2. 23 Nov, 2004 10 commits
    • unknown's avatar
      ha_myisammrg was missing index_type() method bug#6756 · 2064a1fc
      unknown authored
      
      sql/ha_myisammrg.cc:
        ha_myisammrg was missing index_type() method
      sql/ha_myisammrg.h:
        ha_myisammrg was missing index_type() method
      2064a1fc
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 0d589f49
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      0d589f49
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · d7d06313
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      d7d06313
    • unknown's avatar
      Fix compiler warnings on some systems. (Unused variables) · 0e8aae4a
      unknown authored
      Fixed bug in DROP FUNCTION for UDFs.
      Note: It still doesn't work properly, but that bug is somewhere else.
      
      
      sql/sp.cc:
        Fix compiler warning on some systems. (Unused variable)
      sql/sql_parse.cc:
        Fix compiler warning on some systems. (Unused variable)
        Fixed bug in DROP FUNCTION for UDFs.
        Note: It still doesn't work properly, but that bug is somewhere else.
      0e8aae4a
    • unknown's avatar
      Change "Do-compile" to make automatic build log analysis easier and · b03daf97
      unknown authored
      to run the standard tests with "--force" (default, can be switched off).
      
      
      Build-tools/Do-compile:
        1) For an automated log analysis, we need a clear marker in the build log
           whether compile + link succeeded: Write it after successful "make".
        2) Ensure the standard tests are run with "--force" in the default case,
           but allow the old behaviour by an option "--one-error".
        3) Correct a typing error in the usage message.
      b03daf97
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · d050c1ec
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      d050c1ec
    • unknown's avatar
      don't crash when trp=0 · ed5188b0
      unknown authored
      ed5188b0
    • unknown's avatar
      Merge serg.mylan:/usr/home/serg/Abk/mysql-4.1 · f0261c1d
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/mysqld.cc:
        Auto merged
      f0261c1d
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · a9c603f4
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-clean
      
      a9c603f4
    • unknown's avatar
      More test cases are added · 2999284a
      unknown authored
      Fixed bug 'using of alias with information schema tables in views'
      removed compiler warnings
      
      
      mysql-test/r/information_schema.result:
        More test cases are added
      mysql-test/t/information_schema.test:
        More test cases are added
      sql/sql_select.cc:
        Fixed bug 'using of alias with information schema tables in views'
      sql/sql_show.cc:
        Fixed bug 'using of alias with information schema tables in views'
        Changed length of some columns
      sql/table.h:
        Fixed bug 'using of alias with information schema tables in views'
      tests/client_test.c:
        Changed length of some columns
      2999284a