1. 05 May, 2004 1 commit
    • unknown's avatar
      Merge fixes · e146d99c
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Updated use of extra ordered index after merge
        Removed TODO note in swedish
      e146d99c
  2. 30 Apr, 2004 13 commits
    • unknown's avatar
      Merge neptunus.(none):/home/magnus/mysql-4.1 · 3d8703e5
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1-insert
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      3d8703e5
    • unknown's avatar
      Merge neptunus.(none):/home/magnus/mysql-4.1 · 8641fe14
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1-sql-bench
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      8641fe14
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4019527a
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1
      
      4019527a
    • unknown's avatar
      WL#1727 Implement read_range_first and read_range_next · 55881c41
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Added new function set_bounds, used to set bounds in NDB from a key_range
        Updated ordered_index_scan to take start_key and end_key as parameters
        Override of functions read_range_first and read_range_next, to call appropriate access function in NDB
      sql/ha_ndbcluster.h:
        Added functions set_bounds, read_range_first and read_range_next
        Changed declaration of ordered_index_scan
      55881c41
    • unknown's avatar
      Only calculate MYSQL_FIELD->max_length if mysql_stmt_attr_set(...,... · b8dc907a
      unknown authored
      Only calculate MYSQL_FIELD->max_length if mysql_stmt_attr_set(..., STMT_ATTR_UPDATE_MAX_LENGTH) is done.
      
      
      tests/client_test.c:
        Test mysql_stmt_attr_set(...STMT_ATTR_UPDATE_MAX_LENGTH)
      b8dc907a
    • unknown's avatar
      Merge · 70557a67
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      tests/client_test.c:
        Auto merged
      include/mysql.h:
        SCCS merged
      70557a67
    • unknown's avatar
      Update 'MYSQL_FIELD->max_length' on mysql_stmt_store_result() (Bug #1647) · 72163289
      unknown authored
      Added checking of cut read lines in bootstrap thread (Bug #2874)
      
      
      include/mysql.h:
        Added length to MYSQL_ROWS to enable sanity checking of packets
        Update 'MYSQL_FIELD->max_length' on mysql_stmt_store_result()
      libmysql/libmysql.c:
        Update 'MYSQL_FIELD->max_length' on mysql_stmt_store_result() (Bug #1647)
      scripts/fill_help_tables.sh:
        Added checking of maximum length of line in output (Bug #2874)
      scripts/mysql_install_db.sh:
        Added error message if help tables couldn't be done (Bug #2874)
      sql/sql_parse.cc:
        Added checking of cut read lines in bootstrap thread (Bug #2874)
      tests/client_test.c:
        Added --debug
        Changed some strange define names
        Less output
        Added testing of max_length for prepared statements
      72163289
    • unknown's avatar
      Addded test files for NDB · 4def00a8
      unknown authored
      Updated stop_ndbcluster script
      
      
      mysql-test/ndb/stop_ndbcluster:
        Allow script to run even if pidfile does not exist
        This is done so that it will try to connect to mgmtsrvr an stop all running ndb nodes.
        NOTE! It would be good if also the mgmtsrv could "stop itself"
      mysql-test/r/ndb_index_ordered.result:
        Add table with two index columns to test
      mysql-test/t/ndb_index_ordered.test:
        Add table with two index columns to test
      4def00a8
    • unknown's avatar
      Merge neptunus.(none):/home/magnus/mysql-4.1 · 2eb12ccc
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1-sql-bench
      
      2eb12ccc
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · c1577692
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1
      
      c1577692
    • unknown's avatar
      Add extra ordered index in when UNIQUE and PRIMARY KEY are specified. · 874f4d9f
      unknown authored
      Extra ordered indexes are created primarily 
      to support partial key scan/read and range scans of hash indexes.
      I.e. the ordered index are used instead of the hash indexes for 
      these queries.
      
      
      sql/ha_ndbcluster.cc:
        Add creation and use of extra ordered indexes on pk and unique indexes.
      sql/ha_ndbcluster.h:
        Added new functions for creating extra ordered indexes
      874f4d9f
    • unknown's avatar
      Removed define NDB_MAX_CONNECTIONS · 9d58917b
      unknown authored
      
      ndb/include/ndbapi/ndbapi_limits.h:
        Removed define for NDB_MAX_CONNECTIONS, wrong value+it's not needed to be defined here. User will get error if creating too many Ndb objects.
      9d58917b
    • unknown's avatar
      Updated default NDB config to work better with sql-bench · 9374c2d6
      unknown authored
      Updated sql-bench configs to take NDB's limitations into account
      
      
      mysql-test/mysql-test-run.sh:
        Instruct run-all-tests to create tables in NDB if USE_NDBCLUSTER is set
      mysql-test/ndb/ndb_config_2_node.ini:
        Increase MaxNumberOfOperations to 100000 to support large deletes and inserts.
      sql-bench/server-cfg.sh:
        Add settings and limitations for NDB
      9374c2d6
  3. 29 Apr, 2004 14 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9cba14c1
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-u2
      
      
      include/mysql.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      tests/client_test.c:
        Auto merged
      9cba14c1
    • unknown's avatar
      Fix for Bug#3035 "Prepared statement integer inserts": now unsigned · b8585472
      unknown authored
      flag is sent to server with placeholder types.
      There were no need to extend the protocol as one additional byte
      was reserved for placeholder code, when placeholder code is in range 0-255.
      So this byte is now used for flags. Post-review fixes added.
      
      
      include/config-win.h:
        added floaststore implementation
      include/my_global.h:
        added floatstore implementation
      include/mysql.h:
        Bug#3035:
        added 'is_unsigned' member
        binary_data wasn't used, removed
        null_field wasn't necessary, removed
      include/mysql_com.h:
        Unused defines were removed.
      libmysql/libmysql.c:
        Function store_param_type was removed - too much for a function, especially
        with bug in it.
        New implementation is inline and takes into account signedness of 
        placeholder.
        Fixed store functions to not perform double network-host order conversion
        on high-byte-first systems (should also fix Bug#3578 "Prepared statement 
        integer conversions work wrong in 64-bit Power Mac G5 CPUs").
        null_field removed.
      sql/sql_prepare.cc:
        Placeholder sign is taken into account when reading data from network.
      tests/client_test.c:
        Test for BUG#3035 added: insert and retrieve minimum and maximum of all
        integer types.
      b8585472
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1d36e9ff
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      1d36e9ff
    • unknown's avatar
      Implementation of mysql_stmt_attr_get and mysql_stmt_attr_set · 858856d5
      unknown authored
      requested by Monty for Bug#1647 (No way to determine what size 
      blob/clob is being returned into bound buffer)
      
      
      include/mysql.h:
        Implementation of mysql_stmt_attr_get and mysql_stmt_attr_set 
        requested by Monty for Bug#1647.
      libmysql/libmysql.c:
        Implementation of mysql_stmt_attr_get and mysql_stmt_attr_set 
        requested by Monty for Bug#1647.
      libmysql/libmysql.def:
        Windows .defs added for new API calls
      858856d5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 082383f1
      unknown authored
      into mc05.(none):/space/tomas/mysql-4.1-make
      
      082383f1
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 429f996a
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-my-ps-bugs
      
      
      tests/client_test.c:
        Auto merged
      429f996a
    • unknown's avatar
      SrcDist.sh, Epilogue.mk: · 834aa383
      unknown authored
        improved distdir
      
      
      ndb/Epilogue.mk:
        improved distdir
      ndb/SrcDist.sh:
        improved distdir
      834aa383
    • unknown's avatar
      configure.in: · be96b613
      unknown authored
        added configure options PACKAGE and VERSION for ndb
      GuessConfig.sh:
        added options for PACKAGE and VERSION
      Epilogue.mk:
        Added target distdir
      
      
      ndb/Epilogue.mk:
        Added target distdir
      ndb/config/GuessConfig.sh:
        added options for PACKAGE and VERSION
      configure.in:
        added configure options PACKAGE and VERSION for ndb
      be96b613
    • unknown's avatar
      SrcDist.sh: · 8a8acc6b
      unknown authored
        new file
      
      8a8acc6b
    • unknown's avatar
      - added option for building/packaging the NDB cluster to Do-compile · 09b44a9e
      unknown authored
      
      Build-tools/Do-compile:
         - added option for building/packaging the NDB cluster
      09b44a9e
    • unknown's avatar
      WL#1737 Removed superfluous "NoCommit" from insert · 1e95577e
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Added 3 new variables for keeping track of insert batching
      sql/ha_ndbcluster.h:
        Send more inserts per roundtrip to NDB
        Regulate how many inserts are sent by calculating number of bytes in each row.
      1e95577e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · ef19df96
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      ef19df96
    • unknown's avatar
      postreview fixes · cca7fc87
      unknown authored
      cca7fc87
    • unknown's avatar
      Added new mysql-test files for NDB · d6de7937
      unknown authored
      d6de7937
  4. 28 Apr, 2004 2 commits
    • unknown's avatar
      Allow one to send empty strings with mysql_stmt_send_long_data() · 752f4e7b
      unknown authored
      mysql_stmt_reset() now resets param->long_data_used
      Abort if --defaults-file=path-name uses a non-existing file (Bug #3413)
      Fixed problem with symlink test (bug in 4.1.2)
      
      
      libmysql/libmysql.c:
        Allow one to send empty strings with mysql_stmt_send_long_data()
        mysql_stmt_reset() now resets param->long_data_used
      mysys/default.c:
        Abort if --defaults-file=path-name uses a non-existing file (Bug #3413)
      sql/unireg.cc:
        Fixed problem with symlink test:  .frm table was not properly deleted if handler create failed
      752f4e7b
    • unknown's avatar
      removed ndb odbc from compile and release · 9c2b3277
      unknown authored
      9c2b3277
  5. 27 Apr, 2004 6 commits
    • unknown's avatar
      e8d9e882
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · f46ec79a
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-bug3567
      
      f46ec79a
    • unknown's avatar
      after-merge fix: make concurrent-insert-skip code ft2-aware · a5f4bc77
      unknown authored
      
      mysql-test/t/func_group.test:
        no innodb is not an error
      a5f4bc77
    • unknown's avatar
      Fixed results for previous patch · 967d5a39
      unknown authored
      Ensure that mysqldump doesn't give an error about missing Index.xml when it's not needed
      
      
      client/mysqldump.c:
        Added better default --debug option
      mysql-test/r/show_check.result:
        Fixed result after Type->Engine conversion
      mysys/charset.c:
        Don't give error if Index.xml doesn't exists
        (If we can't find the character set, the later error will include the used patch to the Index.xml file)
      967d5a39
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 89cb7623
      unknown authored
      into mishka.local:/home/my/mysql-4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/set_var.cc:
        Auto merged
      89cb7623
    • unknown's avatar
      After merge fixes · 6fdb9848
      unknown authored
      Changed 'SHOW FIELD STATUS' to use 'Engine' instead of 'Type'
      
      
      client/client_priv.h:
        Added option 'create_options' for mysqldump
      client/mysqldump.c:
        Changed '--all' to '--create-options' as the old name was meaningless
      innobase/buf/buf0buf.c:
        After merge fixes
      innobase/buf/buf0lru.c:
        After merge fixes
      innobase/buf/buf0rea.c:
        After merge fixes
      innobase/dict/dict0load.c:
        After merge fixes
      innobase/fil/fil0fil.c:
        After merge fixes
      innobase/ibuf/ibuf0ibuf.c:
        After merge fixes
      innobase/include/fil0fil.h:
        After merge fixes
      innobase/include/row0mysql.h:
        After merge fixes
      innobase/include/ut0mem.h:
        After merge fixes
      innobase/log/log0recv.c:
        After merge fixes
      innobase/row/row0mysql.c:
        After merge fixes
      innobase/row/row0sel.c:
        After merge fixes
      innobase/srv/srv0start.c:
        After merge fixes
      innobase/sync/sync0rw.c:
        After merge fixes
      innobase/sync/sync0sync.c:
        After merge fixes
      myisam/ft_boolean_search.c:
        After merge fixes
      myisam/ft_nlq_search.c:
        After merge fixes
      mysql-test/r/mysqldump.result:
        After merge fixes
      mysql-test/t/mysqldump.test:
        Make result file smaller
        Some new tests
      sql/ha_innodb.cc:
        After merge fixes
      sql/set_var.cc:
        Removed compiler warning
      sql/slave.cc:
        After merge fixes
      sql/slave.h:
        After merge fixes
      sql/sql_show.cc:
        Type -> Engine
      6fdb9848
  6. 26 Apr, 2004 4 commits