1. 06 Apr, 2005 1 commit
    • unknown's avatar
      Fixed errors descovered by valgrind 2.4 · 752c8b97
      unknown authored
      Added suppression file for some valgrind warnings that are not real errors
      
      
      mysql-test/mysql-test-run.sh:
        Added suppression of some valgrind warnings that are not real errors
      mysql-test/r/heap.result:
        Cleanup old tests and added new tests
      mysql-test/t/heap.test:
        Cleanup old tests and added new tests
      mysys/default.c:
        Removed duplicate fn_format()
      scripts/make_binary_distribution.sh:
        Added valgrind suppress file
      sql/ha_federated.cc:
        Ensure that 'socket' is initialized properly
      sql/ha_heap.cc:
        Ensure that with_auto_increment is initialized properly
      sql/mysqld.cc:
        Ensure that create_time is initialized for cached threads
      sql/sql_parse.cc:
        Indentation fix
      strings/decimal.c:
        Fixed wrong tests
      752c8b97
  2. 04 Apr, 2005 13 commits
    • unknown's avatar
      Don't generate message in send_kill_message() if wrong data. (Caused core dump... · 40518fd0
      unknown authored
      Don't generate message in send_kill_message() if wrong data. (Caused core dump for wrong data in ALTER TABLE on some system)
      
      
      sql/item_timefunc.cc:
        Removed warning reported by valgrind
      sql/sql_error.cc:
        Fixed comment
      sql/sql_table.cc:
        Fixed comment
      40518fd0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · f2ce46ee
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      f2ce46ee
    • unknown's avatar
      Now one gets an error if one tries to insert an invalid value via a stored... · 7d8f2916
      unknown authored
      Now one gets an error if one tries to insert an invalid value via a stored procedure in STRICT mode. (Bug #5907)
      
      
      client/mysqldump.c:
        Changed some function and variable names to MySQL syntax
        Fixed indentation for last few pushes
        (No logic changes)
      mysql-test/r/strict.result:
        Test for bug #5907 (Traditional mode: invalid value can be inserted via a stored procedure)
      mysql-test/t/strict.test:
        Test for bug #5907 (Traditional mode: invalid value can be inserted via a stored procedure)
      sql/sql_base.cc:
        More comments
      sql/sql_error.cc:
        Ensure that PS gives error for invalid values in 'strict' mode
      7d8f2916
    • unknown's avatar
      ha_innodb.cc, row0sel.c: · 68ddf8f9
      unknown authored
        Fix Bug #9526 in 5.0: MySQL ENUM and SET columns are internally actually unsigned integer types; we must take care that old tables still treat ENUM and SET (incorrectly) as a character string, while new created tables treat it correctly as an unsigned integer
      
      
      innobase/row/row0sel.c:
        Fix Bug #9526 in 5.0: MySQL ENUM and SET columns are internally actually unsigned integer types; we must take care that old tables still treat ENUM and SET (incorrectly) as a character string, while new created tables treat it correctly as an unsigned integer
      sql/ha_innodb.cc:
        Fix Bug #9526 in 5.0: MySQL ENUM and SET columns are internally actually unsigned integer types; we must take care that old tables still treat ENUM and SET (incorrectly) as a character string, while new created tables treat it correctly as an unsigned integer
      68ddf8f9
    • unknown's avatar
      Merge hundin.mysql.fi:/home/heikki/mysql-4.1 · 3e6dbfc1
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      sql/ha_innodb.cc:
        SCCS merged
      3e6dbfc1
    • unknown's avatar
      ha_innodb.cc: · 120a04e0
      unknown authored
        Correct the fix of Bug #9526 : InnoDB must use its own internal type info for old tables, so that old ENUMs and SETs still are (incorrectly) seen as char strings; we do not dare to allow InnoDB sometimes to see the type as an integer type for those old tables
      
      
      sql/ha_innodb.cc:
        Correct the fix of Bug #9526 : InnoDB must use its own internal type info for old tables, so that old ENUMs and SETs still are (incorrectly) seen as char strings; we do not dare to allow InnoDB sometimes to see the type as an integer type for those old tables
      120a04e0
    • unknown's avatar
      ha_innodb.cc: · 9c875883
      unknown authored
        Fix bug #9526 in InnoDB: the internal type of an ENUM or SET is an unsigned integer type, not a character string
      
      
      sql/ha_innodb.cc:
        Fix bug #9526 in InnoDB: the internal type of an ENUM or SET is an unsigned integer type, not a character string
      9c875883
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · aaa85242
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      aaa85242
    • unknown's avatar
      Don't use -lsupc++ with gcc 3.3 and below as this gives linking problems when linking staticly · 7c85077f
      unknown authored
      Fix that mysql.proc works with new VARCHAR fields
      Give warnings for wrong zero dates
      
      
      configure.in:
        Don't use -lsupc++ with gcc 3.3 and below as this gives linking problems when linking staticly
      mysql-test/r/func_time.result:
        New warnings
      mysql-test/r/row.result:
        Moved code around to get things to work with --ps-protocol
        Note that one on warning disappered, but it should appear again when bug #9600 is fixed
      mysql-test/r/strict.result:
        enabled more tests
        Added more tests
      mysql-test/r/union.result:
        Test that UNION generates correct row format
      mysql-test/t/row.test:
        Moved test to get things to work with --ps-protocol
      mysql-test/t/strict.test:
        enabled more tests
        Added more tests
      mysql-test/t/union.test:
        Test that UNION generates correct row format
      sql/item.cc:
        Removed compiler warning
        Simple cleanup
      sql/sp.cc:
        Fix that mysql.proc works with new VARCHAR fields
      sql/time.cc:
        Give warnings for wrong zero dates
      tests/mysql_client_test.c:
        More startup information
      7c85077f
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · 9c1b1fc3
      unknown authored
      into mysql.com:/usr/home/bar/mysql-5.0
      
      
      strings/ctype-uca.c:
        Auto merged
      9c1b1fc3
    • unknown's avatar
      ctype_uca.result: · dd44998b
      unknown authored
        fixing test results accordingly.
      ctype-uca.c:
        It appeared that in traditional Spanish collation
        'RR' is not equal to 'R', as Unicode and Mimer state.
        We'll go Oracle and IBM way instead:
        No special rules to 'RR'.
      
      
      strings/ctype-uca.c:
        It appeared that in traditional Spanish collation
        'RR' is not equal to 'R', as Unicode and Mimer state.
        We'll go Oracle and IBM way instead:
        No special rules to 'RR'.
      mysql-test/r/ctype_uca.result:
        fixing test results accordingly.
      dd44998b
    • unknown's avatar
      Fix for bit type: · d65e52d8
      unknown authored
      we have to handle bit fields as well.
      
      d65e52d8
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · c35717a1
      unknown authored
      into eagle.intranet.mysql.r18.ru:/home/gluh/MySQL/Bugs/mysql-5.0.9344
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/sql_show.cc:
        Auto merged
      c35717a1
  3. 03 Apr, 2005 7 commits
  4. 02 Apr, 2005 8 commits
    • unknown's avatar
      - stackoverflow check added for view of view processing · 145b6d72
      unknown authored
      - fixed bug in join view processing
      - postreview fixes (BUG#9398 & BUG#8703)
      
      
      sql/sql_base.cc:
        used original TABLE object to get correct name of table and db
      sql/sql_view.cc:
        fixed bug of assigning select_lex for join view
      sql/table.cc:
        comment fixed
        stack overflow check added
        new method for underlying base table finding
      sql/table.h:
        comment fixed
        new method for underlying base table finding
      145b6d72
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · dc0b577f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      dc0b577f
    • unknown's avatar
      results updated · b2ec82bb
      unknown authored
      b2ec82bb
    • unknown's avatar
      merged · 4aad34b1
      unknown authored
      
      mysql-test/r/drop.result:
        Auto merged
      mysql-test/t/drop.test:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      4aad34b1
    • unknown's avatar
      bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names · ee2923fc
      unknown authored
      sql/sql_table.cc: print an error with a function that respects width modifiers (%.64s)
      
      
      mysql-test/r/drop.result:
        bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
      mysql-test/t/drop.test:
        bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
      sql/share/english/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/share/russian/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/share/ukrainian/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/sql_table.cc:
        print an error with a function that respects width modifiers (%.64s)
      ee2923fc
    • unknown's avatar
      postreview patch · 1c1def2e
      unknown authored
      
      sql/sql_view.cc:
        wording fixed
      1c1def2e
    • unknown's avatar
      fix of required privileges for altering view VIEW (DELETE->DROP) (BUG#9260) · 9c347ebd
      unknown authored
      
      mysql-test/r/view.result:
        fix of required privileges for altering view VIEW (DELETE->DROP)
        new test of altering view
      mysql-test/t/view.test:
        fix of required privileges for altering view VIEW (DELETE->DROP)
        new test of altering view
      sql/sql_view.cc:
        fix of required privileges for altering view VIEW (DELETE->DROP)
      9c347ebd
    • unknown's avatar
      mysqld.dsp: · 624c50ef
      unknown authored
        Corrected wrong exe naming from bad merge
      
      
      VC++Files/sql/mysqld.dsp:
        Corrected wrong exe naming from bad merge
      624c50ef
  5. 01 Apr, 2005 11 commits
    • unknown's avatar
      Added more types · 40dec712
      unknown authored
      40dec712
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4988e0c9
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      4988e0c9
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2b8d5e18
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      2b8d5e18
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · e0d18878
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      e0d18878
    • unknown's avatar
      Fix for bug#9435: TIMESTAMP columns don't update · 60bf96c6
      unknown authored
      60bf96c6
    • unknown's avatar
      Merge · dddad632
      unknown authored
      
      client/mysqldump.c:
        merged changes for bug #9175
      dddad632
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · 562c59f8
      unknown authored
      into mdk10.(none):/home/reggie/bk/mysql-4.1
      
      562c59f8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2fcf31fb
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      2fcf31fb
    • unknown's avatar
      Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) · ec6be08b
      unknown authored
      CAST() now produces warnings when casting a wrong INTEGER or CHAR values. This also applies to implicite string to number casts. (Bug #5912)
      ALTER TABLE now fails in STRICT mode if it generates warnings.
      Inserting a zero date in a DATE, DATETIME or TIMESTAMP column during TRADITIONAL mode now produces an error. (Bug #5933)
      
      
      mysql-test/r/bigint.result:
        New warning added
      mysql-test/r/cast.result:
        Added testing of wrong CAST's of strings to numbers and numbers to strings
      mysql-test/r/create.result:
        Added test for wrong default values (#5902)
      mysql-test/r/func_if.result:
        Changed tests to produce less warnings
      mysql-test/r/func_misc.result:
        New warning
      mysql-test/r/func_str.result:
        Added missing drop table
        Changed test to produce less warnings
        New warnings
      mysql-test/r/ndb_index_unique.result:
        Removed wrong default usage
      mysql-test/r/ps_1general.result:
        Changed tests to produce less warnings
      mysql-test/r/row.result:
        New warnings
      mysql-test/r/rpl_session_var.result:
        Changed tests to produce less warnings
      mysql-test/r/strict.result:
        New tests for CAST() and zero date handling
      mysql-test/r/subselect.result:
        Changed tests to produce less warnings
      mysql-test/r/type_ranges.result:
        Changed tests to produce less warnings
      mysql-test/t/cast.test:
        Added testing of wrong CAST's of strings to numbers and numbers to strings
      mysql-test/t/create.test:
        Added test for wrong default values (#5902)
      mysql-test/t/func_if.test:
        Changed tests to produce less warnings
      mysql-test/t/func_str.test:
        Added missing drop table
        Changed test to produce less warnings
        New warnings
      mysql-test/t/ndb_index_unique.test:
        Removed wrong default usage
      mysql-test/t/ps_1general.test:
        Changed tests to produce less warnings
      mysql-test/t/rpl_session_var.test:
        Changed tests to produce less warnings
      mysql-test/t/strict.test:
        New tests for CAST() and zero date handling
      mysql-test/t/subselect.test:
        Changed tests to produce less warnings
      mysql-test/t/type_ranges.test:
        Changed tests to produce less warnings
      sql/Makefile.am:
        Added new include file
      sql/field.cc:
        Added warnings for zero dates for DATE, DATETIME and TIMESTAMP
        Moved Field_blob::max_length() to a more appropriate position
        Changed type for 'level' in set_warning() to avoid casts
      sql/field.h:
        Changed type for 'level' in set_warning() to avoid casts
      sql/field_conv.cc:
        Copy date and datetime fields through string in 'traditional' mode to detect zero dates
      sql/item.cc:
        Removed compiler warnings
        Give warnings for wrong CAST of strings -> number
      sql/item.h:
        Moved Item_string::val_real() and ::val_int() to item.cc
      sql/item_row.cc:
        Better detection of null values (which doesn't produce warnings)
      sql/item_sum.cc:
        Better detection of null values (which doesn't produce warnings)
      sql/item_timefunc.cc:
        Give warnings for wrong CAST of number -> string
      sql/my_decimal.cc:
        Fixed typo in comment
      sql/mysql_priv.h:
        Removed prototype for static function
        Moved defines for error handling to sql_error.h (to be able to use these in field.h)
      sql/mysqld.cc:
        Simplify code
      sql/sql_class.h:
        Moved to sql_error.h
      sql/sql_load.cc:
        Removed wrong cast
      sql/sql_parse.cc:
        Fixed wrong printf()
      sql/sql_table.cc:
        Made mysql_prepare_table() static
        Changed references to pointers to make code more readable
        ALTER TABLE now aborts if one gets warnings in STRICT mode
      sql/time.cc:
        Fixed possible wrong call
      sql/unireg.cc:
        Removed one call to current_thd
        Give errors if one uses a wrong DEFAULT value
      ec6be08b
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · 64455348
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/ha_berkeley.cc:
        Auto merged
      64455348
    • unknown's avatar
      Manual merge · 9c645d81
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/ha_berkeley.cc:
        Manual merge, fix already applied to 4.1
      9c645d81