1. 28 Oct, 2004 1 commit
  2. 27 Oct, 2004 9 commits
    • unknown's avatar
      Making the latest fix for Bug#6166 (key.test) work in prepared statements. · 8600baf3
      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.
      8600baf3
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 0c8b05f7
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
      
      0c8b05f7
    • unknown's avatar
      A fix and test case for Bug#6096 "field.max_length is always zero for · 7c040432
      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)
      7c040432
    • unknown's avatar
      Fixed access to freed memory · f748b29f
      unknown authored
      
      innobase/srv/srv0srv.c:
        after merge fix
      sql/set_var.cc:
        after merge fix
      sql/sql_cache.cc:
        after merge fix
      f748b29f
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · faef7151
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
      
      faef7151
    • unknown's avatar
      removed incorrect error message about aggregate functions · 05a95f4d
      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
      05a95f4d
    • unknown's avatar
      Merge with 4.0 · 16f98d68
      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
      16f98d68
    • unknown's avatar
      Fix when compiling without InnoDB · 89dce2fb
      unknown authored
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Delete: mysql-test/t/innodb-lock-master.opt
      89dce2fb
    • unknown's avatar
      Backport innodb_max_purge_lag from 4.1 · 2d4bea72
      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.
      2d4bea72
  3. 26 Oct, 2004 26 commits
    • unknown's avatar
      after merge fix · b1789bea
      unknown authored
      b1789bea
    • unknown's avatar
      merged · 352c0b71
      unknown authored
      
      sql/field.cc:
        Auto merged
      352c0b71
    • unknown's avatar
      Playing with test_bug5399() to make it work on HPUX 64 bit: no · c93712f1
      unknown authored
      reason for the failure was found, so the guess is that it is a 
      compiler bug.
      
      c93712f1
    • unknown's avatar
      Bug #6019 - SELECT tries to use too short prefix index on utf8 data · 2d33c969
      unknown authored
      Field_string::pack should respect max_length as Field_string::pack_key does
      
      2d33c969
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1 · 46fbc6c6
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      46fbc6c6
    • unknown's avatar
      fil0fil.c: · f08073bf
      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
      f08073bf
    • unknown's avatar
      row0mysql.c: · aa6336c7
      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
      aa6336c7
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1f5ab856
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      configure.in:
        Auto merged
      1f5ab856
    • unknown's avatar
      - Bumped up version number to 4.1.8 in configure.in · ae24a7ff
      unknown authored
       - tagged ChangeSet 1.2029 as "mysql-4.1.7"
      
      
      configure.in:
         - Bumped up version number to 4.1.8
      ae24a7ff
    • unknown's avatar
      Added missing initialier · 66e494ea
      unknown authored
      66e494ea
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a6fd8994
      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
      a6fd8994
    • unknown's avatar
      A lot of fixes for prepared statements (PS): · 8255e5a3
      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
      8255e5a3
    • unknown's avatar
      5ca935d8
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2c051322
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      2c051322
    • unknown's avatar
      removed compiler warning · baa760cb
      unknown authored
      baa760cb
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · d78733a6
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.1
      
      d78733a6
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 27551754
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      27551754
    • unknown's avatar
      compilation fix for AIX · a34d8720
      unknown authored
      a34d8720
    • unknown's avatar
      Typo fix · b450155b
      unknown authored
      b450155b
    • unknown's avatar
      Bug 6206: ENUMs are not case sensitive even if declared BINARY · 812b723a
      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.
      
      812b723a
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · ddf0c8d4
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.1
      
      ddf0c8d4
    • unknown's avatar
      4a7dc4d3
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · cdaaebe5
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      cdaaebe5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · f2f93175
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      f2f93175
    • unknown's avatar
    • unknown's avatar
      Reuse more code: two equal pieces for ENUM and SET where moved · dcee528a
      unknown authored
      into a function.
      
      dcee528a
  4. 25 Oct, 2004 4 commits