1. 15 Mar, 2005 1 commit
    • unknown's avatar
      include/my_global.h · c286b086
      unknown authored
          define _XOPEN_SOURCE=500 for solaris
      include/my_sys.h
          remove a cast
      
      
      include/my_global.h:
        define _XOPEN_SOURCE=500 for solaris
      include/my_sys.h:
        remove a cast
      c286b086
  2. 14 Mar, 2005 14 commits
  3. 13 Mar, 2005 11 commits
    • unknown's avatar
      Item_func_isnotnull::not_null_tables - return 0 if not top-level item · d2c943b0
      unknown authored
      
      mysql-test/r/join_outer.result:
        test for some obscure usage of IS NOT NULL
      mysql-test/t/join_outer.test:
        test for some obscure usage of IS NOT NULL
      d2c943b0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · a67e6d53
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-5.0-926
      
      a67e6d53
    • unknown's avatar
      print xa recovery progress · c99dfbd8
      unknown authored
      add names to handlertons
      trans_need_2pc() macro
      
      
      sql/examples/ha_archive.cc:
        add names to handlertons
      sql/ha_berkeley.cc:
        add names to handlertons
      sql/ha_innodb.cc:
        add names to handlertons
      sql/ha_ndbcluster.cc:
        add names to handlertons
      sql/handler.cc:
        print xa recovery progress
      sql/handler.h:
        add names to handlertons
        trans_need_2pc() macro
      sql/log.cc:
        add names to handlertons
      c99dfbd8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c9796185
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-5.0-926
      
      
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      c9796185
    • unknown's avatar
      WL#926 "SUM(DISTINCT) and AVG(DISTINCT)": improvement of SUM(DISTINCT) and · 56012000
      unknown authored
       implementation of AVG(DISTINCT) which utilizes the approach with Fields.
      The patch implemented in October is portede to the up-to-date tree 
      containing DECIMAL type.
      Tests for AVG(DISTINCT) (although there is not much to test provided
      that SUM(DISTINCT) works), cleanups for COUNT(DISTINCT) and GROUP_CONCAT()
      will follow in another changeset.
      
      
      sql/field.cc:
        A handy way to init create_field used for use with virtual tmp tables.
        Feel free to extend it for your own needs.
      sql/field.h:
        Declaration for create_field::init_for_tmp_table()
      sql/item.cc:
        Implementation for a framework used to easily handle different result
        types of SQL expressions. Instead of having instances of each possible 
        result type (integer, decimal, double) in every item, variables
        of all used types are moved to struct Hybrid_type.
        Hybrid_type can change its dynamic type in runtime, and become,
        for instance, DECIMAL from INTEGER.
        All type-specific Item operations are moved to the class hierarchy
        Hybrid_type_traits. Item::decimals and Item::max_length can
        be moved to Hybrid_type as well.
      sql/item.h:
        Declaration for Hybrid_type framework. See also comments for item.cc
        in this changeset.
      sql/item_sum.cc:
        Rewritten implementation for Item_sum_sum_distinct (SUM(DISTINCT))
        and added implementation for Item_sum_avg_distinct (AVG(DISTINCT)).
        The classes utilize Hybrid_type class hierarchy and Fields to
        convert SUM/AVG arguments to binary representation and store in a RB-tree.
      sql/item_sum.h:
        Declarations for Item_sum_distinct (the new intermediate class used
        for SUM and AVG distinct), Item_sum_sum_distinct, Item_sum_avg_distinct.
      sql/sql_select.cc:
        Implementatio of create_virtual_tmp_table().
      sql/sql_select.h:
        Declaration for create_virtual_tmp_table.
      sql/sql_yacc.yy:
        Grammar support for Item_sum_avg_distinct.
      56012000
    • unknown's avatar
      row0mysql.c: · b47ac187
      unknown authored
        Correct web links
      fil0fil.c:
        Correct (?) English grammar
      
      
      innobase/fil/fil0fil.c:
        Correct (?) English grammar
      innobase/row/row0mysql.c:
        Correct web links
      b47ac187
    • unknown's avatar
      correct not_null_tables() for XOR and AND · 416f0686
      unknown authored
      correct top_level_item for XOR
      
      
      mysql-test/r/join_outer.result:
        one more test
      mysql-test/t/join_outer.test:
        one more test
      416f0686
    • unknown's avatar
      set_var.cc, mysqld.cc, ha_innodb.cc, sql_class.h: · 7f6658db
      unknown authored
        Add a settable session variable innodb_support_xa; setting it to 0 can save up to 10 % of CPU time and 150 bytes of space in each undo log
      trx0trx.h, trx0undo.c, trx0trx.c, trx0roll.c:
        Enable XA if innodb_support_xa is not set to 0; make prepare to do log fsync's according to innodb_flush_log_at_trx_commit
      
      
      innobase/trx/trx0roll.c:
        Enable XA if innodb_support_xa is not set to 0; make prepare to do log fsync's according to innodb_flush_log_at_trx_commit
      innobase/trx/trx0trx.c:
        Enable XA if innodb_support_xa is not set to 0; make prepare to do log fsync's according to innodb_flush_log_at_trx_commit
      innobase/trx/trx0undo.c:
        Enable XA if innodb_support_xa is not set to 0; make prepare to do log fsync's according to innodb_flush_log_at_trx_commit
      innobase/include/trx0trx.h:
        Enable XA if innodb_support_xa is not set to 0; make prepare to do log fsync's according to innodb_flush_log_at_trx_commit
      sql/sql_class.h:
        Add a settable session variable innodb_support_xa; setting it to 0 can save up to 10 % of CPU time and 150 bytes of space in each undo log
      sql/ha_innodb.cc:
        Add a settable session variable innodb_support_xa; setting it to 0 can save up to 10 % of CPU time and 150 bytes of space in each undo log
      sql/mysqld.cc:
        Add a settable session variable innodb_support_xa; setting it to 0 can save up to 10 % of CPU time and 150 bytes of space in each undo log
      sql/set_var.cc:
        Add a settable session variable innodb_support_xa; setting it to 0 can save up to 10 % of CPU time and 150 bytes of space in each undo log
      7f6658db
    • unknown's avatar
      join_outer.test: · d83bb4ed
      unknown authored
        Correction after manual merge.
      
      
      mysql-test/t/join_outer.test:
        Correction after manual merge.
      d83bb4ed
    • unknown's avatar
      Manual merge · 9c892564
      unknown authored
      
      sql/item_cmpfunc.h:
        Auto merged
      9c892564
    • unknown's avatar
      join_outer.result, join_outer.test: · 017f7897
      unknown authored
        Added a test case for bug #9017.
      item_cmpfunc.h:
        A wrong not_null_tables method for Item_cond_xor
        caused a conversion of a left join into an inner join
        that was not valid.
      
      
      sql/item_cmpfunc.h:
        A wrong not_null_tables method for Item_cond_xor
        caused a conversion of a left join into an inner join
        that was not valid.
      mysql-test/t/join_outer.test:
        Added a test case for bug #9017.
      mysql-test/r/join_outer.result:
        Added a test case for bug #9017.
      017f7897
  4. 12 Mar, 2005 2 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · a598ceaf
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/mysql_priv.h:
        Auto merged
      a598ceaf
    • unknown's avatar
      if no xa recovery (or after it): · 40beb7cd
      unknown authored
        warning on startup if prepared foreign xids
        error on startup if prepared our xids
        temporarily: always rollback prepared our xids instead of an error
      
      
      sql/mysql_priv.h:
        opt_tc_log_file made extern
      sql/mysqld.cc:
        opt_tc_log_file made extern
        always call ha_recover() even if no previous crash was detected
      40beb7cd
  5. 11 Mar, 2005 12 commits
    • unknown's avatar
      Update tests and test results after merge, disable broken NDB tests · 79ccef07
      unknown authored
      
      mysql-test/r/information_schema.result:
        Update test result
      mysql-test/r/query_cache.result:
        Reset query_cache_type for test
      mysql-test/t/query_cache.test:
        Update test result
      mysql-test/t/ndb_alter_table.disabled:
        ***MISSING WEAVE***
      mysql-test/t/ndb_autodiscover.disabled:
        ***MISSING WEAVE***
      mysql-test/t/ndb_autodiscover2.disabled:
        ***MISSING WEAVE***
      mysql-test/t/ndb_cache_multi.disabled:
        ***MISSING WEAVE***
      mysql-test/t/ndb_cache_multi2.disabled:
        ***MISSING WEAVE***
      mysql-test/t/ndb_multi.disabled:
        ***MISSING WEAVE***
      mysql-test/t/ndb_restore.disabled:
        ***MISSING WEAVE***
      79ccef07
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 7425503c
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      mysql-test/r/join_outer.result:
        Auto merged
      mysql-test/t/join_outer.test:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      7425503c
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-8902 · 0104e6cb
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/mysql_priv.h:
        Auto merged
      0104e6cb
    • unknown's avatar
      Merge query_cache tests · 93b6c38f
      unknown authored
      
      Build-tools/Do-compile:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/join_outer.result:
        Auto merged
      mysql-test/t/join_outer.test:
        Auto merged
      scripts/make_win_src_distribution.sh:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/query_cache.result:
        Update results
      mysql-test/t/query_cache.test:
        Merge test
      93b6c38f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · e0092462
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      e0092462
    • unknown's avatar
      BUG#9101 - RELEASE/ROLLBACK TO SAVEPOINT did not forget savepoints correctly · fd8f368d
      unknown authored
      
      mysql-test/r/innodb.result:
        more savepoint tests
      mysql-test/t/innodb.test:
        more savepoint tests
      fd8f368d
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-8513 · 98e0d2a2
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      98e0d2a2
    • unknown's avatar
      Merge test and results · 876b433e
      unknown authored
      
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/query_cache.result:
        Update results
      mysql-test/t/query_cache.test:
        Merge tests
      876b433e
    • unknown's avatar
      row0sel.c: · 5b9c44c0
      unknown authored
        row_sel_store_mysql_rec(): Remove unused variable "index".
      
      
      innobase/row/row0sel.c:
        row_sel_store_mysql_rec(): Remove unused variable "index".
      5b9c44c0
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · ac748c78
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      ac748c78
    • unknown's avatar
      Keep the Perl version of 'mysql-test-run' in sync with the shell script. · 76fdf47b
      unknown authored
      
      mysql-test/lib/mtr_report.pl:
        Keep the Perl version in sync with the shell script so that 'Do-compile' will call
        PS and ES tests even after some previous test failures.
        (See previous change to 'mysql-test-run.sh' and 'Do-compile'.)
      76fdf47b
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 06e3f874
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0.b9029
      
      06e3f874