1. 05 May, 2004 1 commit
    • unknown's avatar
      Merge fixes · 316c128f
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Updated use of extra ordered index after merge
        Removed TODO note in swedish
      316c128f
  2. 30 Apr, 2004 13 commits
    • unknown's avatar
      Merge neptunus.(none):/home/magnus/mysql-4.1 · d540f0c0
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1-insert
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      d540f0c0
    • unknown's avatar
      Merge neptunus.(none):/home/magnus/mysql-4.1 · ddbef950
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1-sql-bench
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      ddbef950
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4960b897
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1
      
      
      4960b897
    • unknown's avatar
      WL#1727 Implement read_range_first and read_range_next · 08676716
      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
      08676716
    • unknown's avatar
      Only calculate MYSQL_FIELD->max_length if mysql_stmt_attr_set(...,... · 7bf15f4b
      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)
      7bf15f4b
    • unknown's avatar
      Merge · 72c7b352
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      tests/client_test.c:
        Auto merged
      include/mysql.h:
        SCCS merged
      72c7b352
    • unknown's avatar
      Update 'MYSQL_FIELD->max_length' on mysql_stmt_store_result() (Bug #1647) · 15c2bb61
      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
      15c2bb61
    • unknown's avatar
      Addded test files for NDB · 6415ba8a
      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
      6415ba8a
    • unknown's avatar
      Merge neptunus.(none):/home/magnus/mysql-4.1 · 74a46d13
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1-sql-bench
      
      
      74a46d13
    • unknown's avatar
      Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-4.1 · e25228dd
      unknown authored
      into neptunus.(none):/home/magnus/mysql-4.1
      
      
      e25228dd
    • unknown's avatar
      Add extra ordered index in when UNIQUE and PRIMARY KEY are specified. · 0f0635ec
      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
      0f0635ec
    • unknown's avatar
      Removed define NDB_MAX_CONNECTIONS · 11538b81
      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.
      11538b81
    • unknown's avatar
      Updated default NDB config to work better with sql-bench · 92d98840
      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
      92d98840
  3. 29 Apr, 2004 14 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · be5d750a
      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
      be5d750a
    • unknown's avatar
      Fix for Bug#3035 "Prepared statement integer inserts": now unsigned · d5237fd0
      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.
      d5237fd0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 258a3d16
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.1-root
      
      
      258a3d16
    • unknown's avatar
      Implementation of mysql_stmt_attr_get and mysql_stmt_attr_set · e73e26f3
      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
      e73e26f3
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f9038942
      unknown authored
      into mc05.(none):/space/tomas/mysql-4.1-make
      
      
      f9038942
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 242fe78d
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-my-ps-bugs
      
      
      tests/client_test.c:
        Auto merged
      242fe78d
    • unknown's avatar
      SrcDist.sh, Epilogue.mk: · 6de9b596
      unknown authored
        improved distdir
      
      
      ndb/Epilogue.mk:
        improved distdir
      ndb/SrcDist.sh:
        improved distdir
      6de9b596
    • unknown's avatar
      configure.in: · 9d3d017c
      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
      9d3d017c
    • unknown's avatar
      SrcDist.sh: · a8dfb78d
      unknown authored
        new file
      
      
      a8dfb78d
    • unknown's avatar
      - added option for building/packaging the NDB cluster to Do-compile · e3a6ef83
      unknown authored
      
      Build-tools/Do-compile:
         - added option for building/packaging the NDB cluster
      e3a6ef83
    • unknown's avatar
      WL#1737 Removed superfluous "NoCommit" from insert · 155f8b3d
      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.
      155f8b3d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · c5daed7c
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      c5daed7c
    • unknown's avatar
      postreview fixes · 709a4a9f
      unknown authored
      709a4a9f
    • unknown's avatar
      Added new mysql-test files for NDB · 540c19bd
      unknown authored
      540c19bd
  4. 28 Apr, 2004 2 commits
    • unknown's avatar
      Allow one to send empty strings with mysql_stmt_send_long_data() · ae629fff
      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
      ae629fff
    • unknown's avatar
      removed ndb odbc from compile and release · 5605374b
      unknown authored
      5605374b
  5. 27 Apr, 2004 6 commits
    • unknown's avatar
      f1ab98d4
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2976f954
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-bug3567
      
      
      2976f954
    • unknown's avatar
      after-merge fix: make concurrent-insert-skip code ft2-aware · e35880e0
      unknown authored
      
      mysql-test/t/func_group.test:
        no innodb is not an error
      e35880e0
    • unknown's avatar
      Fixed results for previous patch · 39ec9e1e
      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)
      39ec9e1e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 4f44862b
      unknown authored
      into mishka.local:/home/my/mysql-4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/set_var.cc:
        Auto merged
      4f44862b
    • unknown's avatar
      After merge fixes · a3828081
      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
      a3828081
  6. 26 Apr, 2004 4 commits