1. 28 Oct, 2004 8 commits
    • unknown's avatar
      scan should not send fragmented signal · e3ac81be
      unknown authored
          use new sendSignal method instead
          new send signal method which sends segments
          remove unused method sendFragmentedSignalUnCond
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        scan should not send fragmented signal
        use new sendSignal method instead
      ndb/src/ndbapi/TransporterFacade.cpp:
        new send signal method which sends segments
      ndb/src/ndbapi/TransporterFacade.hpp:
        new send signal method which sends segments
        remove unused method sendFragmentedSignalUnCond
      e3ac81be
    • unknown's avatar
      set set "CHUNK_SZ" for fragmented signal to real value · 51ad907d
      unknown authored
      added API_TRACE code
      removed old implementation of fragmented signal
      
      
      51ad907d
    • unknown's avatar
      Dbdict.cpp: · f944465b
      unknown authored
        changed to using fragmented signals for CREATE_TABLE_REQ
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        changed to using fragmented signals for CREATE_TABLE_REQ
      f944465b
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb · bbebacbf
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-local
      
      
      bbebacbf
    • unknown's avatar
      ndbapi_limits.h: · f6129385
      unknown authored
        corrected define for NDB_MAX_TUPLE_SIZE_IN_WORDS
      
      
      ndb/include/ndbapi/ndbapi_limits.h:
        corrected define for NDB_MAX_TUPLE_SIZE_IN_WORDS
      f6129385
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5d1e4704
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      
      5d1e4704
    • unknown's avatar
      added test for max limit of 128 attributes in table · 51cff67d
      unknown authored
          new define for long signal section size
         bumbed up limit for attributes to 128
          use new define in SectionSegment
          some bug fixing of send fragmented signal +
          make chunk size a multiple the dew define for SectionSegment size
      
      
      mysql-test/r/ndb_basic.result:
        added test for max limit of 128 attributes in table
      mysql-test/t/ndb_basic.test:
        added test for max limit of 128 attributes in table
      ndb/include/kernel/ndb_limits.h:
        new define for long signal section size
      ndb/include/ndbapi/ndbapi_limits.h:
        bumbed up limit for attributes to 128
      ndb/src/kernel/vm/LongSignal.hpp:
        use new define in SectionSegment
      ndb/src/ndbapi/TransporterFacade.cpp:
        some bug fixing of send fragmented signal +
        make chunk size a multiple the dew define for SectionSegment size
      51cff67d
    • unknown's avatar
      An extra "separator" class member was removed from Item_func_concat_ws. · a5087248
      unknown authored
      args[0] is now used instead.
      
      
      a5087248
  2. 27 Oct, 2004 10 commits
    • unknown's avatar
      Making the latest fix for Bug#6166 (key.test) work in prepared statements. · b9704849
      unknown authored
      
      sql/sql_prepare.cc:
        Catch another class of errors possible during yyparse:
        if thd->net.report_error is set, we need to send the message and 
        abort.
      b9704849
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · fbabd085
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
      
      
      fbabd085
    • unknown's avatar
      A fix and test case for Bug#6096 "field.max_length is always zero for · 447fef48
      unknown authored
      numeric columns (stmt_resultset_metadata)"
      
      
      libmysql/libmysql.c:
        A fix for Bug#6096 "field.max_length is always zero for numeric columns
         (stmt_resultset_metadata)": set field->max_lenght for numeric
        columns when we set up skip_result functions. A minor drawback for this 
        approach is that field->max_length  can be not zero even if 
        STMT_ATTR_UPDATE_MAX_LENGTH is not set.
      sql-common/my_time.c:
        Fix valgrind warning.
      tests/client_test.c:
        A test case for Bug#6096 "field.max_length is always zero for numeric 
        columns (stmt_resultset_metadata)
      447fef48
    • unknown's avatar
      Fixed access to freed memory · 8ace5310
      unknown authored
      
      innobase/srv/srv0srv.c:
        after merge fix
      sql/set_var.cc:
        after merge fix
      sql/sql_cache.cc:
        after merge fix
      8ace5310
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · a94c7639
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
      
      
      a94c7639
    • unknown's avatar
      removed incorrect error message about aggregate functions · 464da8f1
      unknown authored
      improved mechanisn of detection posibility to be NULL for single row queries
      switched off substitution optimisation for single row subqueries in PS due to problem in resolving substituted expressions
      (changes to make subselects test working with PS protocol)
      
      
      mysql-test/r/subselect.result:
        removed incorrect error message about aggregate functions
        improved mechanisn of detection posibility to be NULL for single row queries
      mysql-test/t/subselect.test:
        removed incorrect error message about aggregate functions
      sql/item_subselect.cc:
        removed incorrect error message about aggregate functions
        switched off substitution optimisation for single row subqueries in PS due to problem in resolving substituted expressions
        improved mechanisn of detection posibility to be NULL for single row queries
      sql/item_subselect.h:
        new method to help in NULL ability detection
      464da8f1
    • unknown's avatar
      Implemented fragmented signal from API · 5bef4550
      unknown authored
      primarily to enable creation of tables with more attributes than 91 (up to 128)
      
      Intermediate push for testing
      CHUNK_SZ will be set higher in real implementation and API_TRACE added
      
      
      5bef4550
    • unknown's avatar
      Merge with 4.0 · e646f8f2
      unknown authored
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Auto merged
      innobase/include/trx0sys.h:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/trx/trx0purge.c:
        Auto merged
      innobase/trx/trx0rseg.c:
        Auto merged
      mysql-test/r/innodb-lock.result:
        Auto merged
      mysql-test/t/innodb-lock.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/mysqld.cc:
        Use local version during merge
      e646f8f2
    • unknown's avatar
      Fix when compiling without InnoDB · 3bdd7e77
      unknown authored
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Delete: mysql-test/t/innodb-lock-master.opt
      3bdd7e77
    • unknown's avatar
      Backport innodb_max_purge_lag from 4.1 · 743597ea
      unknown authored
      
      innobase/include/srv0srv.h:
        Add configuration parameter srv_max_purge_lag.
        Add global variable srv_dml_needed_delay.
      innobase/include/trx0sys.h:
        Add trx_sys->rseg_history_len
      innobase/row/row0mysql.c:
        Add row_mysql_delay_if_needed() for delaying INSERTs, UPDATEs and
        DELETEs for srv_dml_needed_delay microseconds.
      innobase/srv/srv0srv.c:
        Define global variable srv_dml_needed_delay.
        Define configuration parameter srv_max_purge_lag.
      innobase/trx/trx0purge.c:
        Update trx_sys->rseg_history_len.
        trx_purge(): Compute srv_dml_needed_delay from srv_max_purge_lag
        and trx_sys->rseg_history_len.
      innobase/trx/trx0rseg.c:
        Initialize trx_sys->rseg_history_len at InnoDB start-up.
      sql/ha_innodb.h:
        Add configuration parameter srv_max_purge_lag.
      sql/mysqld.cc:
        Add startup option innodb_max_purge_lag,
        with default value 0 (meaning infinite, disabling the feature).
      sql/set_var.cc:
        Add global variable innodb_max_purge_lag.
      743597ea
  3. 26 Oct, 2004 22 commits
    • unknown's avatar
      after merge fix · 55833fb4
      unknown authored
      55833fb4
    • unknown's avatar
      merged · dec8b3c3
      unknown authored
      
      sql/field.cc:
        Auto merged
      dec8b3c3
    • unknown's avatar
      Playing with test_bug5399() to make it work on HPUX 64 bit: no · 91862626
      unknown authored
      reason for the failure was found, so the guess is that it is a 
      compiler bug.
      
      
      91862626
    • unknown's avatar
      Bug #6019 - SELECT tries to use too short prefix index on utf8 data · c882c261
      unknown authored
      Field_string::pack should respect max_length as Field_string::pack_key does
      
      
      c882c261
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1 · f907ab97
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      f907ab97
    • unknown's avatar
      fil0fil.c: · fd92c078
      unknown authored
        Print to the .err log a more detailed error message if in IMPORT TABLESPACE the .ibd file does not exist
      
      
      innobase/fil/fil0fil.c:
        Print to the .err log a more detailed error message if in IMPORT TABLESPACE the .ibd file does not exist
      fd92c078
    • unknown's avatar
      row0mysql.c: · a0df01fa
      unknown authored
        Print more warnings to the .err log if ALTER TABLE ... IMPORT TABLESPACE fails for some reason
      os0file.c:
        Do not call exit(1) if os_file_delete() fails; remove unused parameter from
      handle_error_no_exit()
      
      fil0fil.c:
        Allow DROP TABLE even if the .ibd file for the table does not exist
      
      
      innobase/fil/fil0fil.c:
        Allow DROP TABLE even if the .ibd file for the table does not exist
      innobase/os/os0file.c:
        Dono not call exit(1) if os_file_delete() fails; remove unused parameter from handle_error_no_exit()
      innobase/row/row0mysql.c:
        Print more warnings to the .err log if ALTER TABLE ... IMPORT TABLESPACE fails for some reason
      a0df01fa
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · eeb21a45
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      configure.in:
        Auto merged
      eeb21a45
    • unknown's avatar
      - Bumped up version number to 4.1.8 in configure.in · a8799231
      unknown authored
       - tagged ChangeSet 1.2029 as "mysql-4.1.7"
      
      
      configure.in:
         - Bumped up version number to 4.1.8
      a8799231
    • unknown's avatar
      Added missing initialier · 78ad0938
      unknown authored
      78ad0938
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e160646e
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      e160646e
    • unknown's avatar
      A lot of fixes for prepared statements (PS): · 853c2c78
      unknown authored
      New mysqltest that can run mysqltest with PS
      Added support for ZEROFILL in PS
      Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result()
      Updated test cases to support --ps-protocol
      (Some tests are still run using old protocol)
      Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2...
      Fixed crash in PS when using sub queries
      Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
      Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries)
      Fix for PS and SELECT ... PROCEDURE
      Reset all warnings when executing a new PS query
      group_concat(...ORDER BY) didn't work with PS
      Fixed problem with test suite when not using innodb
      
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Delete: mysql-test/t/innodb-lock-master.opt
      client/Makefile.am:
        mysqltest now uses regex
      client/mysqltest.c:
        Added support for testing of prepared statements (with --ps-protocol)
        Main code was done by Kent, I did mainly some cleanups and minor bug fixes
        New test commands:
        --disable_ps_protocol
        --enable_ps_protocol
        NOTE: new code still has some things that needs to be cleaned up.
        For example run_query_stmt_handle_error() should be made more general so that same code can be used also by 'normal' queries
      configure.in:
        mysqltest now uses regex
      libmysql/libmysql.c:
        Reset warning_count after prepare (safety). In the future we should also provide warnings on prepare
        integer -> string conversion now handles ZEROFILL
        double -> string conversion is now closer to the one in the server
        Fixed crash when one called mysql_stmt_store_result() without preceding mysql_stmt_bind_result()
      libmysqld/examples/Makefile.am:
        mysqltest now uses regex
      mysql-test/include/have_query_cache.inc:
        Fixes for --ps-protocol
      mysql-test/include/ps_conv.inc:
        Fixes for --ps-protocol
      mysql-test/mysql-test-run.sh:
        Added options --ps-protocol
      mysql-test/r/ctype_utf8.result:
        Fixed test case
      mysql-test/r/fulltext_cache.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/fulltext_left_join.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/fulltext_multi.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/innodb-lock.result:
        Fixed test to work even if Innodb is not compiled in.
      mysql-test/t/create.test:
        Fixes for --ps-protocol
      mysql-test/t/ctype_utf8.test:
        Remove warnings
      mysql-test/t/date_formats.test:
        Fixes for --ps-protocol
      mysql-test/t/fulltext_cache.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/fulltext_left_join.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/fulltext_multi.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/func_group.test:
        Fixes for --ps-protocol
      mysql-test/t/func_sapdb.test:
        Fixes for --ps-protocol
      mysql-test/t/innodb-lock.test:
        Fixed test to work even if Innodb is not compiled in.
      mysql-test/t/insert.test:
        Fixes for --ps-protocol
      mysql-test/t/insert_select.test:
        Fixes for --ps-protocol
      mysql-test/t/insert_update.test:
        Fixes for --ps-protocol
      mysql-test/t/metadata.test:
        Fixes for --ps-protocol
      mysql-test/t/multi_statement.test:
        Fixes for --ps-protocol
      mysql-test/t/ps_1general.test:
        Fixes for --ps-protocol
      mysql-test/t/rollback.test:
        Fixes for --ps-protocol
      mysql-test/t/rpl_redirect.test:
        Fixes for --ps-protocol
      mysql-test/t/rpl_user_variables.test:
        Fixes for --ps-protocol
      mysql-test/t/select.test:
        Fixes for --ps-protocol
      mysql-test/t/status.test:
        Fixes for --ps-protocol
      mysql-test/t/type_blob.test:
        Fixes for --ps-protocol
      mysql-test/t/type_float.test:
        Fixes for --ps-protocol
      mysql-test/t/union.test:
        Fixes for --ps-protocol
      mysql-test/t/warnings.test:
        Fixes for --ps-protocol
      mysys/my_alloc.c:
        More debugging information
      sql-common/client.c:
        More debugging information
      sql-common/my_time.c:
        TIME didn't support full range with PS
      sql/field.cc:
        TIME didn't support full range with PS
      sql/item_cmpfunc.cc:
        IN(constants,...) didn't work with PS
      sql/item_subselect.cc:
        Some subqueries didn't work with PS
      sql/item_sum.cc:
        group_concat(...ORDER BY) didn't work with PS
        Removed variable warning_available as 'warning' can be used for this.
      sql/item_sum.h:
        Removed not needed variable
      sql/protocol.cc:
        TIME didn't support full range with PS
      sql/set_var.cc:
        Style fix
      sql/sql_base.cc:
        setup_wild() didn't properly restore old arena, which caused core dump in PS when using
        SELECT * FROM t1 NATURAL JOIN t2...
      sql/sql_class.cc:
        Style fix
      sql/sql_error.cc:
        Style fix
      sql/sql_insert.cc:
        Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
      sql/sql_lex.h:
        Fix for PS and procedures
      sql/sql_parse.cc:
        More debugging information
        Make a copy of 'db' in PS as this may change
        Fixed wrong permissions check in PS and multi-table updates
      sql/sql_prepare.cc:
        Fix for PS and SELECT ... PROCEDURE
        Reset all warnings when executing a new query
      sql/sql_union.cc:
        Fixes for PS and SELECT ... PROCEDURE
        Reset 'with_wild' as 'wild' is resolved on prepare
      853c2c78
    • unknown's avatar
      8ee12417
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9ccbc5b7
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      9ccbc5b7
    • unknown's avatar
      removed compiler warning · 655ca160
      unknown authored
      655ca160
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · aace18af
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.1
      
      
      aace18af
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3e68b087
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      3e68b087
    • unknown's avatar
      compilation fix for AIX · b5039930
      unknown authored
      b5039930
    • unknown's avatar
      Typo fix · 28c59023
      unknown authored
      28c59023
    • unknown's avatar
      Bug 6206: ENUMs are not case sensitive even if declared BINARY · e948154c
      unknown authored
      The same problem with SET columns:
      
      find_set() now executes find_type2() to do charset aware search,
      instead of always using system_charset_info comparison.
      
      
      e948154c
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2e7b3801
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.1
      
      
      2e7b3801
    • unknown's avatar
      1ff580fe