1. 07 Dec, 2007 3 commits
  2. 06 Dec, 2007 8 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 458dff65
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my51-mrg
      
      458dff65
    • unknown's avatar
      partition_archive tests added · 50f44522
      unknown authored
      
      mysql-test/r/partition_archive.result:
        test results
      mysql-test/t/partition_archive.test:
        tests added
      50f44522
    • unknown's avatar
      Bug#31177: Server variables can't be set to their current values · 1d3d3893
      unknown authored
      initialise limits properly for getopt_ll_limit()
      (fixes falcon_opt test)
      
      
      sql/sql_plugin.cc:
        initialise limits properly for getopt_ll_limit()
      1d3d3893
    • unknown's avatar
      Merge mysql.com:/home/hf/work/32247/my51-32247 · 73724acb
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my51-mrg
      
      
      mysql-test/r/partition.result:
        merging
      mysql-test/t/partition.test:
        merging
      sql/ha_partition.cc:
        SCCS merged
      73724acb
    • unknown's avatar
      Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table). · b57893c9
      unknown authored
      ha_partition::update_create_info() just calls update_create_info
      of a first partition, so only get the autoincrement maximum
      of the first partition, so SHOW CREATE TABLE can show
      small AUTO_INCREMENT parameters.
      Fixed by implementing ha_partition::update_create_info() in a way
      other handlers work.
      HA_ARCHIVE:stats.auto_increment handling made consistent with other engines
      
      
      mysql-test/r/archive.result:
        Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table).
        
        test result fixed
      mysql-test/r/partition.result:
        Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table).
        
        test result
      mysql-test/suite/rpl/r/rpl_innodb_bug28430.result:
        Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table).
        
        test result fixed
      mysql-test/t/partition.test:
        Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table).
        
        test added as rpl_innodb_bug28430 is INNOBASE specific while
        the bug is not
      sql/ha_partition.cc:
        Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table).
        
        ha_partition::update_create_info() implemented
      storage/archive/ha_archive.cc:
        Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table).
        
        ha_archive.stats.auto_increment now contains next (not last used) value
        of auto_increment to be consistent with other engines
      b57893c9
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 631b58d8
      unknown authored
      into  mysql.com:/misc/mysql/31177/51-31177
      
      631b58d8
    • unknown's avatar
      Merge mysql.com:/misc/mysql/31177/50-31177 · a65665af
      unknown authored
      into  mysql.com:/misc/mysql/31177/51-31177
      
      
      BitKeeper/deleted/.del-ps_6bdb.result:
        Auto merged
      mysys/my_getopt.c:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        manual merge
      mysql-test/r/ps_3innodb.result:
        manual merge
      mysql-test/r/ps_4heap.result:
        manual merge
      mysql-test/r/ps_5merge.result:
        manual merge
      mysql-test/suite/ndb/r/ps_7ndb.result:
        manual merge
      mysql-test/t/variables.test:
        manual merge
      sql/mysqld.cc:
        NULL
      sql/item_func.cc:
        Signedness is already propagated properly for user-vars in 5.1.
      sql/set_var.cc:
        add correct handling of signedness when assigning 64-bit
        values to sysvars.
      sql/set_var.h:
        cleanliness.
      a65665af
    • unknown's avatar
      Bug#31177: Server variables can't be set to their current values · 240f0f27
      unknown authored
      additional fixes for BDB and correct assignment of both signed
      and unsigned 64-bit data to unsigned system variables
      
      
      mysql-test/r/ps_2myisam.result:
        account for UNSIGNED_FLAG
      mysql-test/r/ps_3innodb.result:
        account for UNSIGNED_FLAG
      mysql-test/r/ps_4heap.result:
        account for UNSIGNED_FLAG
      mysql-test/r/ps_5merge.result:
        account for UNSIGNED_FLAG
      mysql-test/r/ps_6bdb.result:
        account for UNSIGNED_FLAG
      mysql-test/r/ps_7ndb.result:
        account for UNSIGNED_FLAG
      mysys/my_getopt.c:
        We have correct signed/unsigned information now, so we no longer
        need to err on the side of caution.
      sql/item_func.cc:
        Copy unsigned info over from entry so the item's data
        correctly describe it.
      sql/mysqld.cc:
        BDB log buffer size: default can't be less than minimum
      sql/set_var.cc:
        Handle signedness of in-values correctly when assigning to
        unsigned types, all the way up to 64-bit. Use handler from
        all three unsigned sysvar types.
      sql/set_var.h:
        thd_ulonglong: Override default check with one for unsigned types
      240f0f27
  3. 04 Dec, 2007 3 commits
    • unknown's avatar
      Merge mhansson@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · f671f07e
      unknown authored
      into  dl145s.mysql.com:/data0/mhansson/my51-bug30234
      
      f671f07e
    • unknown's avatar
      test case fix · 739b8555
      unknown authored
      739b8555
    • unknown's avatar
      Bug#31177: Server variables can't be set to their current values · b2af1235
      unknown authored
      additional fixes for 64-bit
      ---
      Merge mysql.com:/misc/mysql/31177/50-31177
      into  mysql.com:/misc/mysql/31177/51-31177
      ---
      Bug#31177: Server variables can't be set to their current values
      
      additional 5.1 fixes (for plugins)
      
      
      mysql-test/t/variables.test:
        replace 32-bit and 64-bit values
        ---
        manual merge
      mysys/my_getopt.c:
        'mod' no longer used.
        on 64-bit, limit to (signed) (LONG)LONG_MAX to prevent badness
        in classes using longlong.
      sql/sql_plugin.cc:
        handle signedness in plugin-vars so we won't hit an assert()
        in getopt_*_limit_value()
      b2af1235
  4. 03 Dec, 2007 5 commits
  5. 02 Dec, 2007 2 commits
    • unknown's avatar
      Bug#31177: Server variables can't be set to their current values · 522dee3c
      unknown authored
      extra 5.1 fixes
      
      
      mysql-test/t/order_fill_sortbuf-master.opt:
        If we set the variable below minimum, we'll get a warning
        at start-up that we don't want in the tests.
      522dee3c
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · e617ba3f
      unknown authored
      into  mysql.com:/misc/mysql/31177/51-31177
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/index_merge_myisam.result:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/type_bit.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_plugin.cc:
        Auto merged
      e617ba3f
  6. 01 Dec, 2007 6 commits
    • unknown's avatar
      Bug#31177: Server variables can't be set to their current values · 549abb44
      unknown authored
      5.1+ specific fixes (plugins etc.)
      
      
      include/my_getopt.h:
        make both ull and ll global
      mysql-test/r/index_merge_myisam.result:
        we throw warnings to the client, yea, verily
      mysql-test/r/innodb.result:
        we throw warnings to the client, yea, verily
      mysql-test/r/variables.result:
        we throw warnings to the client, yea, verily
      mysql-test/t/variables.test:
        correct result, is multiple of variable's block_size now
      mysys/my_getopt.c:
        export getopt_ll_limit_value(), check for integer wrap-around
        in it, same as in ull variant.  Only print warnings to reporter
        when caller didn't ask for diagnostics, otherwise assume caller
        will handle any warnings (id est, throw them client-wards)
      sql/mysqld.cc:
        correct signedness of "concurrent-insert"
      sql/sql_plugin.cc:
        Throw sys-var out-of-range warnings client-wards for
        plugins, too.
      549abb44
    • unknown's avatar
      Merge mysql.com:/misc/mysql/31177/50-31177 · ae789bd6
      unknown authored
      into  mysql.com:/misc/mysql/31177/51-31177
      
      
      include/m_string.h:
        Auto merged
      include/my_getopt.h:
        Auto merged
      mysql-test/r/delayed.result:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/key_cache.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/type_bit.result:
        Auto merged
      mysql-test/r/type_bit_innodb.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      BitKeeper/deleted/.del-index_merge.result:
        Auto merged
      sql/set_var.cc:
        Auto merged
      mysql-test/r/variables.result:
        manual merge
      client/mysql.cc:
        manual merge
      client/mysqltest.c:
        manual merge
      mysql-test/r/subselect.result:
        manual merge
      mysys/my_getopt.c:
        manual merge
      sql/mysqld.cc:
        manual merge
      ae789bd6
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 31b601b8
      unknown authored
      into  mysql.com:/misc/mysql/32707/51-32707
      
      
      sql/protocol.cc:
        Auto merged
      31b601b8
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · 978757a8
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my51-mrg
      
      978757a8
    • unknown's avatar
      merging · 98d7aa32
      unknown authored
      98d7aa32
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 6f6ad7ad
      unknown authored
      into  mysql.com:/misc/mysql/32180/51-32180
      
      6f6ad7ad
  7. 30 Nov, 2007 13 commits
    • unknown's avatar
      Merge mysql.com:/home/hf/work/mrg/my50-mrg · b492cb09
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my51-mrg
      
      
      sql/mysqld.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      storage/federated/ha_federated.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      include/mysql_com.h:
        merging
      libmysqld/lib_sql.cc:
        merging
      mysql-test/r/federated.result:
        merging
      mysql-test/t/federated.test:
        merging
      storage/federated/ha_federated.h:
        mergin
      b492cb09
    • unknown's avatar
      Merge mysql.com:/home/hf/work/mrg/my41-mrg · 31549fa8
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my50-mrg
      
      
      include/mysql_com.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      31549fa8
    • unknown's avatar
      Merge mysql.com:/home/hf/work/32624/my50-32624 · 46be75f8
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my50-mrg
      
      46be75f8
    • unknown's avatar
      Merge mysql.com:/home/hf/work/32374/my50-32374 · b7c0474b
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my50-mrg
      
      b7c0474b
    • unknown's avatar
      Merge mysql.com:/home/hf/work/31890/my51-31890 · 9f20f559
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my51-mrg
      
      
      mysql-test/r/partition.result:
        SCCS merged
      mysql-test/t/partition.test:
        merging
      9f20f559
    • unknown's avatar
      Merge mysql.com:/home/hf/work/30430/my51-30430 · 4034fd11
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my51-mrg
      
      4034fd11
    • unknown's avatar
      Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc... · 8c18a8d0
      unknown authored
      PS-protocol data is stored in different format - the MYSQL_RECORDS->data
      contains the link to the record content, not to array of the links to
      the field's contents. So we have to handle it separately for
      embedded-server query cache.
      
      
      libmysqld/emb_qcache.cc:
        Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc...
        
        ps_protocol data now stored in it's particular way.
      libmysqld/emb_qcache.h:
        Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc...
        
        Querycache_stream::load_char/store_char  ->
          load_uchar/store_uchar
      mysql-test/r/func_misc.result:
        Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc...
        
        test result
      mysql-test/t/func_misc.test:
        Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc...
        
        the test uses t2 table, so let's make sure it doesn't exist befor the start
      8c18a8d0
    • unknown's avatar
      Merge mysql.com:/home/hf/work/31900/my41-31900 · ffb2c59c
      unknown authored
      into  mysql.com:/home/hf/work/mrg/my41-mrg
      
      ffb2c59c
    • unknown's avatar
      Merge polly.(none):/home/kaa/src/opt/bug9481/my51-bug9481 · d31817dd
      unknown authored
      into  polly.(none):/home/kaa/src/opt/mysql-5.1-opt
      
      
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      d31817dd
    • unknown's avatar
      Merge polly.(none):/home/kaa/src/opt/bug9481/my50-bug9481 · 59b32666
      unknown authored
      into  polly.(none):/home/kaa/src/opt/bug9481/my51-bug9481
      
      
      sql/sql_class.h:
        Null merge.
      sql/sql_insert.cc:
        Null merge.
      tests/mysql_client_test.c:
        Null merge.
      59b32666
    • unknown's avatar
      Bug #26921 Problem in mysql_insert_id() Embedded C API function. · 0aadce40
      unknown authored
      client library only sets mysql->insert_id when query returned
      no recordset. So the embedded library should behave the same way
      
      
      libmysqld/lib_sql.cc:
        Bug #26921 Problem in mysql_insert_id() Embedded C API function.
        
        only set 'affected_rows' and 'insert_id' fields when query
        didn't return a recordset
      tests/mysql_client_test.c:
        Bug #26921 Problem in mysql_insert_id() Embedded C API function.
        
        testcase added
      0aadce40
    • unknown's avatar
      Bug#32775 problems with SHOW EVENTS and Information_Schema · 93a1bac5
      unknown authored
      removed unnecessary privilege checks for I_S schema
      
      
      mysql-test/r/information_schema.result:
        test result
      mysql-test/t/information_schema.test:
        test case
      sql/events.cc:
        There is no events in I_S so we don't need to execute check_access here.
      sql/sql_parse.cc:
        removed unnecessary check
      93a1bac5
    • unknown's avatar
      Bug #32374 crash with filesort when selecting from federated table and view. · 17b47894
      unknown authored
      filesort() uses file->estimate_rows_upper_bound() call to allocate
      internal buffers. If this function returns a value smaller than
      a number of row that will be returned later in find_all_keys(),
      that can cause server crash.
      Fixed by implementing ha_federated::estimate_rows_upper_bound() to
      return maximum possible number of rows.
      Present estimation for FEDERATED always returns 0 if the linked to the VIEW.
      
      
      mysql-test/r/federated.result:
        Bug #32374 crash with filesort when selecting from federated table and view.
        
        test result
      mysql-test/t/federated.test:
        Bug #32374 crash with filesort when selecting from federated table and view.
        
        test case
      sql/ha_federated.cc:
        Bug #32374 crash with filesort when selecting from federated table and view.
        
        ha_federated::estimate_rows_upper_bound() implemented
      sql/ha_federated.h:
        Bug #32374 crash with filesort when selecting from federated table and view.
        
        ha_federated::estimate_rows_upper_bound() interface
      17b47894