1. 07 Apr, 2005 3 commits
  2. 04 Apr, 2005 17 commits
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-4.1-bug8877 · 903b59c7
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug8877-merge
      
      
      sql/sql_select.cc:
        Auto merged
      903b59c7
    • unknown's avatar
      Removed extra comment · 6d2e510a
      unknown authored
      6d2e510a
    • unknown's avatar
      Manually merged (will need a post-merge fix) · ed1f7d37
      unknown authored
      
      sql/sql_select.h:
        Auto merged
      ed1f7d37
    • unknown's avatar
      Fix for BUG#8877: Implementation of · 31f2f9bc
      unknown authored
      "Early NULL-values filtering for ref access" (attempt2+post-review fixes)
      1. update_ref_and_keys() accumulates info about null-rejecting
      predicates in in KEY_FIELD::null_rejecting, add_key_part saves
      these to KEYUSE.
      2. create_ref_for_key copies them to TABLE_REF.
      3. add_not_null_conds adds "x IS NOT NULL" to join_tab->select_cond of
      appropiate JOIN_TAB members.
      
      Includes code cleanups: 
      * add_key_field() params: s/COND/Item_func/ (as only Item_funcs are
      passed to it)
      * add_key_fields() params: JOIN_TAB *stat removed (wasn't used)
      
      
      sql/sql_select.cc:
        Fix for BUG#8877: Implementation of 
        "Early NULL-values filtering for ref access"
        1. update_ref_and_keys() accumulates info about null-rejecting
        predicates in in KEY_FIELD::null_rejecting, add_key_part saves
        these to KEYUSE.
        2. create_ref_for_key copies them to TABLE_REF.
        3. add_not_null_conds adds "x IS NOT NULL" to join_tab->select_cond
        of appropiate JOIN_TAB members.
        
        Includes code cleanups: 
        * add_key_field() params: s/COND/Item_func/ (as only Item_funcs are
        passed to it)
        * add_key_fields() params: JOIN_TAB *stat removed (wasn't used)
      sql/sql_select.h:
        Fix for BUG#8877: Implementation of 
        "Early NULL-values filtering for ref access" (attempt2)
      31f2f9bc
    • unknown's avatar
      Don't generate message in send_kill_message() if wrong data. (Caused core dump... · f3aa7770
      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
      f3aa7770
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 4ade7693
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      4ade7693
    • unknown's avatar
      Now one gets an error if one tries to insert an invalid value via a stored... · ae25f8df
      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
      ae25f8df
    • unknown's avatar
      ha_innodb.cc, row0sel.c: · 1b932713
      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
      1b932713
    • unknown's avatar
      Merge hundin.mysql.fi:/home/heikki/mysql-4.1 · b1a9b761
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-5.0
      
      
      sql/ha_innodb.cc:
        SCCS merged
      b1a9b761
    • unknown's avatar
      ha_innodb.cc: · a64487fc
      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
      a64487fc
    • unknown's avatar
      ha_innodb.cc: · 9ce74a80
      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
      9ce74a80
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · d17aebaa
      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
      d17aebaa
    • unknown's avatar
      Don't use -lsupc++ with gcc 3.3 and below as this gives linking problems when linking staticly · ce169a54
      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
      ce169a54
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · 73ddce6d
      unknown authored
      into mysql.com:/usr/home/bar/mysql-5.0
      
      
      strings/ctype-uca.c:
        Auto merged
      73ddce6d
    • unknown's avatar
      ctype_uca.result: · 07182f5a
      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.
      07182f5a
    • unknown's avatar
      Fix for bit type: · c2a3c289
      unknown authored
      we have to handle bit fields as well.
      
      
      c2a3c289
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 042a3ced
      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
      042a3ced
  3. 03 Apr, 2005 7 commits
  4. 02 Apr, 2005 8 commits
    • unknown's avatar
      - stackoverflow check added for view of view processing · a50bf2f0
      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
      a50bf2f0
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · ecf8732c
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      ecf8732c
    • unknown's avatar
      results updated · a77a2c83
      unknown authored
      a77a2c83
    • unknown's avatar
      merged · 5f8c654a
      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
      5f8c654a
    • unknown's avatar
      bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names · 7d865e0b
      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)
      7d865e0b
    • unknown's avatar
      postreview patch · cdad0890
      unknown authored
      
      sql/sql_view.cc:
        wording fixed
      cdad0890
    • unknown's avatar
      fix of required privileges for altering view VIEW (DELETE->DROP) (BUG#9260) · 9139be50
      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)
      9139be50
    • unknown's avatar
      mysqld.dsp: · ba8dc8e9
      unknown authored
        Corrected wrong exe naming from bad merge
      
      
      VC++Files/sql/mysqld.dsp:
        Corrected wrong exe naming from bad merge
      ba8dc8e9
  5. 01 Apr, 2005 5 commits