1. 02 Jun, 2006 1 commit
    • unknown's avatar
      First push for WL#3146 "less locking in auto_increment". It is a 0-real-change patch. · e63f3779
      unknown authored
      New prototype for get_auto_increment() (but new arguments not yet used), to be able
      to reserve a finite interval of auto_increment values from cooperating engines.
      A hint on how many values to reserve is found in handler::estimation_rows_to_insert,
      filled by ha_start_bulk_insert(), new wrapper around start_bulk_insert().
      NOTE: this patch changes nothing, for all engines. But it makes the API ready for those
      engines which will want to do reservation.
      More csets will come to complete WL#3146.
      
      
      sql/ha_berkeley.cc:
        update to new prototype of get_auto_increment
      sql/ha_berkeley.h:
        update to new prototype of get_auto_increment
      sql/ha_heap.cc:
        update to new prototype of get_auto_increment
      sql/ha_heap.h:
        update to new prototype of get_auto_increment
      sql/ha_innodb.cc:
        update to new prototype of get_auto_increment
      sql/ha_innodb.h:
        update to new prototype of get_auto_increment
      sql/ha_myisam.cc:
        update to new prototype of get_auto_increment
      sql/ha_myisam.h:
        update to new prototype of get_auto_increment
      sql/ha_ndbcluster.cc:
        update to new prototype of get_auto_increment
      sql/ha_ndbcluster.h:
        update to new prototype of get_auto_increment
      sql/ha_partition.cc:
        update to new prototype of get_auto_increment
      sql/ha_partition.h:
        update to new prototype of get_auto_increment
      sql/handler.cc:
        new prototype of get_auto_increment, comments, preparation for when the MySQL layer is capable
        of getting finite auto_increment intervals from cooperating engines.
      sql/handler.h:
        a wrapper around start_bulk_insert(): ha_bulk_insert(), which stores the argument (number
        of rows expected for insertion) into a member of handler: estimation_rows_to_insert.
        This member will soon be used to decide how much auto_increment values we want to reserve
        from cooperating engines.
        New prototype for get_auto_increment, preparing for cooperating engines to reserve finite auto_increment
        intervals.
        release_auto_increment() will be used by the MySQL layer to inform the engine that it has
        not used all of the interval (engine can reclaim it).
      sql/log.cc:
        note for the future
      sql/log_event.cc:
        name of wrapper
      sql/sql_insert.cc:
        name of wrapper. When done with inserting, return unused auto_inc values to engine.
      sql/sql_load.cc:
        name of wrapper. When done with inserting, return unused auto_inc values to engine.
      sql/sql_select.cc:
        name of wrapper
      sql/sql_table.cc:
        name of wrapper
      storage/archive/ha_archive.cc:
        update to new prototype of get_auto_increment.
        Archive reserves only one value (Archive's god - Brian - told me that's the truth).
      storage/archive/ha_archive.h:
        update to new prototype of get_auto_increment()
      e63f3779
  2. 30 May, 2006 1 commit
  3. 29 May, 2006 10 commits
    • unknown's avatar
      Merge ngrishakin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 3416732d
      unknown authored
      into  mysql.com:/home/ndbdev/ngrishakin/mysql-5.1-new
      
      
      3416732d
    • unknown's avatar
      f765e794
    • unknown's avatar
      update show authors · 000a603f
      unknown authored
      000a603f
    • unknown's avatar
      Merge lmy004.:/work/mysql-5.1-new-vanilla · e7515ef7
      unknown authored
      into lmy004.:/work/mysql-5.1-runtime
      
      
      e7515ef7
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/tmp/tmp_merge · 745a579d
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      mysql-test/t/information_schema.test:
        Merge
      mysql-test/t/wait_timeout.test:
        Merge
      sql/mysqld.cc:
        Merge
      sql/slave.cc:
        Null merge
      sql/sp_head.cc:
        Merge
      745a579d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · f41db8b0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
      
      
      sql/mysqld.cc:
        Auto merged
      f41db8b0
    • unknown's avatar
      Merge lmy004.:/work/mysql-5.1-new-vanilla · f32d0ec6
      unknown authored
      into lmy004.:/work/mysql-5.1-runtime
      
      
      sql/event_scheduler.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      f32d0ec6
    • unknown's avatar
      add missing events_grant test · 606abf25
      unknown authored
      606abf25
    • unknown's avatar
      local variable interval to interval_tmp because it hides · 4f295835
      unknown authored
      Event_timed::interval
      
      
      4f295835
    • unknown's avatar
      Fix for bug #17394 - Events namespace is wrong · bdda0116
      unknown authored
      
      mysql-test/lib/init_db.sql:
        remove definer from PK
      mysql-test/r/events.result:
        update results
      mysql-test/r/system_mysql_db.result:
        update results
      mysql-test/t/events.test:
        remove I_S.EVENTS test and move it to events_grant.test
      scripts/mysql_fix_privilege_tables.sql:
        change table definition
      sql/event.cc:
        make events non-user specific (namespace change)
      sql/event.h:
        make events non-user specific (namespace change)
      sql/event_priv.h:
        make events non-user specific (namespace change)
      sql/event_scheduler.cc:
        make events non-user specific (namespace change)
      sql/event_timed.cc:
        make events non-user specific (namespace change)
      sql/sql_parse.cc:
        make events non-user specific (namespace change)
      sql/sql_show.cc:
        SHOW EVENTS is available to everyone who has EVENT on specific schema.
        No additional privileges are needed to see others' events.
        - user A has events in db1 and db2
        - user B has events in db1 and db3
        A will see all his events from db1 and db2 as well as B's events
        from db1 but not from db3.
        B will see her events from db1 and db3. In addition B will see
        only A's events from db1 but not db2.
      bdda0116
  4. 27 May, 2006 2 commits
  5. 26 May, 2006 4 commits
  6. 25 May, 2006 11 commits
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 88d10859
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      
      88d10859
    • unknown's avatar
      Removing ./r/rpl_ndb_dd_partitions.result & ./t/rpl_ndb_dd_partitions.test... · f7f36fc0
      unknown authored
      Removing ./r/rpl_ndb_dd_partitions.result & ./t/rpl_ndb_dd_partitions.test since NDB only will support key partitions and moving them to the test-extra tree for safe keeping
      
      
      BitKeeper/deleted/.del-rpl_ndb_dd_partitions.result~9b09a8594e474be5:
        Delete: mysql-test/r/rpl_ndb_dd_partitions.result
      BitKeeper/deleted/.del-rpl_ndb_dd_partitions.test~9a3f50999ab31151:
        Delete: mysql-test/t/rpl_ndb_dd_partitions.test
      f7f36fc0
    • unknown's avatar
      ndb - compile fix for Solaris 10 AMD64 -max GCC [ ulonglong != Uint64 ] v5.1 · 93be6c25
      unknown authored
      
      sql/ha_ndbcluster.cc:
        compile fix for Solaris 10 AMD64 -max GCC [ ulonglong != Uint64 ]
      93be6c25
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1-new · 20334ba6
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-kt
      
      
      sql/share/errmsg.txt:
        Auto merged
      20334ba6
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 2e0f0d2d
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my51
      
      
      2e0f0d2d
    • unknown's avatar
      test fix · 597ceb3b
      unknown authored
      597ceb3b
    • unknown's avatar
      Merge mysql.com:/space/pekka/ndb/version/my51 · d749d905
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my51-bug14509
      
      
      mysql-test/r/ndb_basic.result:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      storage/ndb/include/ndbapi/Ndb.hpp:
        Auto merged
      storage/ndb/src/ndbapi/DictCache.cpp:
        Auto merged
      storage/ndb/src/ndbapi/DictCache.hpp:
        Auto merged
      storage/ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Auto merged
      d749d905
    • unknown's avatar
      after merge fix · 644efa51
      unknown authored
      
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/r/type_ranges.result:
        Auto merged
      mysql-test/t/strict.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      mysql-test/r/information_schema.result:
        manual merge
      mysql-test/t/information_schema.test:
        manual merge
      644efa51
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 52078846
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19304
      
      
      52078846
    • unknown's avatar
      ndb - bug#14509 v5.1 part 2/2 : handler level · 2aa3ff8e
      unknown authored
      
      mysql-test/r/ndb_basic.result:
        put auto-incr range under NDB_SHARE until otherwise decided..
        makes auto-incr process-global per table.  each use requires mutex
      mysql-test/t/ndb_alter_table.test:
        put auto-incr range under NDB_SHARE until otherwise decided..
        makes auto-incr process-global per table.  each use requires mutex
      sql/ha_ndbcluster.cc:
        put auto-incr range under NDB_SHARE until otherwise decided..
        makes auto-incr process-global per table.  each use requires mutex
      sql/ha_ndbcluster.h:
        put auto-incr range under NDB_SHARE until otherwise decided..
        makes auto-incr process-global per table.  each use requires mutex
      2aa3ff8e
    • unknown's avatar
      ndb - bug#14509 v5.1 part 1/2 : ndb api level [requires part 2/2] · 75839941
      unknown authored
      
      storage/ndb/src/ndbapi/ndberror.c:
        delete non-sense error 4336
      storage/ndb/include/ndbapi/Ndb.hpp:
        add auto-incr methods which take explicit Ndb::TupleIdRange & argument
        for NDB API programs the range is under local dict cache (as in 5.0)
        the handler level uses its own Ndb objects and ranges
      storage/ndb/src/ndbapi/DictCache.cpp:
        add auto-incr methods which take explicit Ndb::TupleIdRange & argument
        for NDB API programs the range is under local dict cache (as in 5.0)
        the handler level uses its own Ndb objects and ranges
      storage/ndb/src/ndbapi/DictCache.hpp:
        add auto-incr methods which take explicit Ndb::TupleIdRange & argument
        for NDB API programs the range is under local dict cache (as in 5.0)
        the handler level uses its own Ndb objects and ranges
      storage/ndb/src/ndbapi/Ndb.cpp:
        add auto-incr methods which take explicit Ndb::TupleIdRange & argument
        for NDB API programs the range is under local dict cache (as in 5.0)
        the handler level uses its own Ndb objects and ranges
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        add auto-incr methods which take explicit Ndb::TupleIdRange & argument
        for NDB API programs the range is under local dict cache (as in 5.0)
        the handler level uses its own Ndb objects and ranges
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        add auto-incr methods which take explicit Ndb::TupleIdRange & argument
        for NDB API programs the range is under local dict cache (as in 5.0)
        the handler level uses its own Ndb objects and ranges
      75839941
  7. 24 May, 2006 11 commits