1. 17 Mar, 2005 10 commits
    • unknown's avatar
      Manual merge. · 5c3dd871
      unknown authored
      5c3dd871
    • unknown's avatar
      after merge fix · d21e8ac0
      unknown authored
      d21e8ac0
    • unknown's avatar
      Merge 4.1 -> 5.0 · a262409b
      unknown authored
      
      heap/hp_create.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/olap.result:
        Auto merged
      mysql-test/t/func_str.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/key.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_string.h:
        Auto merged
      client/mysqldump.c:
        Manual merge
      mysql-test/r/func_gconcat.result:
        Manual merge
      mysql-test/r/func_str.result:
        Manual merge
      mysql-test/t/func_gconcat.test:
        Manual merge
      sql/ha_heap.cc:
        Manual merge
      sql/sql_select.cc:
        Manual merge
      a262409b
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 71cd1f9d
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
      
      71cd1f9d
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · b5bdb802
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
      
      b5bdb802
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 8d55ca32
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      8d55ca32
    • unknown's avatar
      Merge · c9fa277d
      unknown authored
      
      sql/key.cc:
        Auto merged
      mysql-test/r/update.result:
        SCCS merged
      mysql-test/t/update.test:
        SCCS merged
      c9fa277d
    • unknown's avatar
      A fix (bug #8942: SUBSTRING_INDEX in UPDATE causes internal loop). · eb771658
      unknown authored
      
      sql/key.cc:
        A fix (bug #8942: SUBSTRING_INDEX in UPDATE causes internal loop).
        For "partial" key parts (e.g. key(a(20), ...) we create different
        key_part->field, see sql/table.cc; so we have to use the eq() 
        function here to compare fields.
      eb771658
    • unknown's avatar
      Fixed two bugs in MySQL ACL. · 5de05a3a
      unknown authored
      First one is related to Bug#7905. One should not be allowed to
      create new user with password without UPDATE privilege to
      MySQL database. Furthermore, executing the same GRANT statement
      twice would actually crash the server and corrupt privilege database.
      
      Other bug was that one could update a column, using the existing
      value as basis to calculate the new value (e.g. UPDATE t1 SET a=a+1)
      without SELECT privilege to the field (a in the above example)
      
      Fixed tests grant.pl and grant2, which were wrong.
      
      5de05a3a
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · e7dae8eb
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      sql/item.h:
        Auto merged
      e7dae8eb
  2. 16 Mar, 2005 30 commits
    • unknown's avatar
      olap.result, olap.test: · 56c345f4
      unknown authored
        Added a test for bug #8615.
      sql_select.cc:
        Fixed bug #8615.
        This fix only removed the cause of the reported crash.
        It does not resolve other problems of rollup queries
        with DISTINCT. They were fixed in the previous patch 
        for bug 8616.
      
      
      sql/sql_select.cc:
        Fixed bug #8615.
        This fix only removed the cause of the reported crash.
        It does not resolve other problems of rollup queries
        with DISTINCT. They were fixed in the previous patch 
        for bug 8616.
      mysql-test/t/olap.test:
        Added a test for bug #8615.
      mysql-test/r/olap.result:
        Added a test for bug #8615.
      56c345f4
    • unknown's avatar
      Merge with global tree · 0436eb08
      unknown authored
      
      mysql-test/r/federated.result:
        merge
      sql/ha_federated.cc:
        merge
      0436eb08
    • unknown's avatar
      Move handler dependent tests to the specific handler (myisam, bdb, innodb) · de53c2b3
      unknown authored
      Enabled VARCHAR testing for innodb
      
      NOTE: innodb.test currently fails becasue of a bug in InnoDB. 
      I have informed Heikki about this and expect him to fix this ASAP
      
      
      mysql-test/include/varchar.inc:
        Move handler dependent tests to the specific handler (myisam, bdb, innodb)
      mysql-test/r/innodb.result:
        Added varchar tests
      mysql-test/r/myisam.result:
        Update results
      mysql-test/t/bdb.test:
        Move handler dependent tests to the specific handler (myisam, bdb, innodb)
      mysql-test/t/innodb.test:
        Enabled VARCHAR testing
      mysql-test/t/myisam.test:
        Move handler dependent tests to the specific handler (myisam, bdb, innodb)
      sql/sql_parse.cc:
        Indentation fixes
      sql/sql_table.cc:
        Fixed bug introduced when doing cleanup
      de53c2b3
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 157e3ada
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/item_func.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      157e3ada
    • unknown's avatar
      Fixes after Sinisa and Serg comments after push of patch for BUG#9123. · 1ea12fb8
      unknown authored
      BUG#9123 is solved earlier than this patch though.
      
      1ea12fb8
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 292edcdd
      unknown authored
      into krsna.:/home/patg/test/mysql-5.0
      
      292edcdd
    • unknown's avatar
      Fixed binlog.test failure which occured after patch implementing · b32ecfc4
      unknown authored
      WL#874 "Extended LOAD DATA" was pushed.
      
      
      mysql-test/r/binlog.result:
        Addition of two new types of binary log events shifted binlog positions.
        Updated test's results and made it more robust for future similar
        changes.
      mysql-test/t/binlog.test:
        Addition of two new types of binary log events shifted binlog positions.
        Updated test's results and made it more robust for future similar
        changes.
      b32ecfc4
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0505c67e
      unknown authored
      into krsna.:/home/patg/test/mysql-5.0
      
      0505c67e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b09934b1
      unknown authored
      into pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug8670.3
      
      b09934b1
    • unknown's avatar
      Merge pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug8670.2 · 0feec36b
      unknown authored
      into pcgem.rdg.cyberkinetica.com:/var/db/bk/work-acurtis/bug8670.3
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      0feec36b
    • unknown's avatar
      data0data.c: · 316f2d66
      unknown authored
        Allow also long VARCHARs to be stored externally, not just BLOBs; fixes a bug reported by Trudy Pelzer; needs more testing
      
      
      innobase/data/data0data.c:
        Allow also long VARCHARs to be stored externally, not just BLOBs; fixes a bug reported by Trudy Pelzer; needs more testing
      316f2d66
    • unknown's avatar
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7a5f168f
      unknown authored
      into krsna.:/home/patg/test/mysql-5.0
      
      7a5f168f
    • unknown's avatar
      Small fix to innodb.test that Heikki probably simply forgot to commit. · 84e9ab66
      unknown authored
      
      mysql-test/r/innodb.result:
        Added proper cleanup after test.
      mysql-test/t/innodb.test:
        We don't expect error if we create varchar(16384) column in Innodb
        table anymore. (Heikki already removed error message from .result
        file.) Also we should do proper cleanup after the test.
      84e9ab66
    • unknown's avatar
      8bd9cfda
    • unknown's avatar
      Add information to the log file written by 'Do-compile' that allows to calculate · 2e62104c
      unknown authored
      the time spent in the various steps.
      
      
      Build-tools/Do-compile:
        Add information to the log file that allows to calculate the time spent in the
        various steps:
        
        1) Introduce a global variable 'global_step'.
        2) Before each major step, set it to some descriptive value.
        3) Expand the 'log_timestamp()' function to take a parameter (typical: "START",
           "DONE", or "ABORT") and append that to the timestamp in the log file,
           followed by the contents of 'global_step'.
        4) Add the "START" string as parameter to the 'log_timestamp' calls preceding a step.
        5) Add 'log_timestamp("DONE");' calls after the relevant steps.
        6) Add 'log_timestamp("ABORT");' calls to the error exits.
      2e62104c
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · a8a49be2
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
      
      a8a49be2
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 01222e08
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0
      
      01222e08
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · aa31ea79
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-eld-exp
      
      aa31ea79
    • unknown's avatar
      Cleanup during reviews · 1637a873
      unknown authored
      Removed some optional arguments
      Fixed portability problem in federated tests
      
      
      client/sql_string.cc:
        update from sql/sql_string.cc
      client/sql_string.h:
        update from sql/sql_string.h
      mysql-test/r/federated.result:
        Fixed error message
      sql/field.cc:
        Cleanup during review
        Remove const in 'const unsigned int'
      sql/field.h:
        Remove const in 'const unsigned int'
      sql/ha_federated.cc:
        Better error string.  Add missing argument to error (before 'errno' was picked up from stack)
      sql/handler.cc:
        Removed compiler warning
      sql/item_func.cc:
        Cleanup during review
      sql/item_sum.cc:
        Cleanup during review
      sql/lock.cc:
        Remove optional arguments
      sql/log_event.cc:
        Remove optional arguments
      sql/mysql_priv.h:
        Remove optional arguments
        cahnge preapre_create_fields to use pointers instead of references
      sql/opt_range.cc:
        Fix arguments so that return value is last
      sql/sql_base.cc:
        Remove optional arguments
      sql/sql_delete.cc:
        Remove optional arguments
      sql/sql_error.cc:
        Remove optional arguments
      sql/sql_help.cc:
        Remove optional arguments
      sql/sql_parse.cc:
        Remove optional arguments
      sql/sql_prepare.cc:
        Remove optional arguments
      sql/sql_rename.cc:
        Remove optional arguments
      sql/sql_select.cc:
        Remove optional arguments
      sql/sql_show.cc:
        Cleanup during review
      sql/sql_string.cc:
        Simple optimization
      sql/sql_table.cc:
        Remove optional arguments
        Fixed indentation
      sql/sql_update.cc:
        Remove optional arguments
      sql/sql_yacc.yy:
        Change references to pointers
      1637a873
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 84f259a4
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-eld-exp
      
      84f259a4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 23f587b9
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      23f587b9
    • unknown's avatar
      Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-4.1 · fa3127c0
      unknown authored
      into mysql.com:/home/bkroot/mysql-4.1
      
      fa3127c0
    • unknown's avatar
      Bugs#9129: CHARSET(), COLLATION(), COERCIBILITY() · 7a4f68e7
      unknown authored
      not always correct for NULL values.
      Now they always result a non NULL value even
      the argument is NULL. It is more usefull for 
      debugging purposes.
      
      
      mysql-test/r/func_str.result:
        Bugs#9129: CHARSET(), COLLATION(), COERCIBILITY()
        not always correct for NULL values.
        
        Also, a mistake in EXPORT_SET was fixed.
      mysql-test/t/func_str.test:
        Bugs#9129: CHARSET(), COLLATION(), COERCIBILITY()
        not always correct for NULL values.
      sql/item_func.cc:
        Bugs#9129: CHARSET(), COLLATION(), COERCIBILITY()
        not always correct for NULL values.
      sql/item_strfunc.cc:
        Bugs#9129: CHARSET(), COLLATION(), COERCIBILITY()
        not always correct for NULL values.
        
        A minor mistake in EXPORT_SET() was fixed.
      7a4f68e7
    • unknown's avatar
      Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8da5038e
      unknown authored
      into mysql.com:/home/bkroot/mysql-4.1
      
      8da5038e
    • unknown's avatar
      Fix for bug#8656: Crash with group_concat on alias in outer table · 4c98f4d4
      unknown authored
      fixed result_field support of Item_ref
      
      4c98f4d4
    • unknown's avatar
      Fix to get --skip-ndb to work · 44341dea
      unknown authored
      44341dea
    • unknown's avatar
      subselect2.result: · aeba80b7
      unknown authored
        Update key lengths in EXPLAIN to reflect true VARCHARs
      
      
      mysql-test/r/subselect2.result:
        Update key lengths in EXPLAIN to reflect true VARCHARs
      aeba80b7
    • unknown's avatar
      ha_innodb.cc: · e4c10e5d
      unknown authored
        Fix bug: InnoDB created all indexes on true VARCHARs as column prefix keys because field->pack_length() for a true VARCHAR is bigger than key_part->length; FOREIGN KEYs could not be created on true VARCHARs then
      
      
      sql/ha_innodb.cc:
        Fix bug: InnoDB created all indexes on true VARCHARs as column prefix keys because field->pack_length() for a true VARCHAR is bigger than key_part->length; FOREIGN KEYs could not be created on true VARCHARs then
      e4c10e5d