1. 10 Dec, 2004 18 commits
    • unknown's avatar
      Merge hundin.mysql.fi:/home/marko/k/mysql-4.0 · 0dd70dea
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      innobase/srv/srv0srv.c:
        Auto merged
      0dd70dea
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.0 · 5fcdf0b7
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.0
      
      5fcdf0b7
    • unknown's avatar
      Merge · 2d1acd35
      unknown authored
      
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/include/dict0dict.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/sql_class.cc:
        SCCS merged
      2d1acd35
    • unknown's avatar
      manually merged · e561aa8c
      unknown authored
      
      innobase/dict/dict0dict.c:
        merged (ul)
      innobase/include/dict0dict.h:
        merged (ul)
      sql/ha_innodb.cc:
        merged (ul)
      sql/log.cc:
        automerged
      e561aa8c
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 124b463a
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1
      
      124b463a
    • unknown's avatar
      row0mysql.h: · 02f2a82b
      unknown authored
        Remove accidentally pushed unnecessary change
      
      
      innobase/include/row0mysql.h:
        Remove accidentally pushed unnecessary change
      02f2a82b
    • unknown's avatar
      A fix (bug #7129: Test failure: 'type_ranges' when using '--ps-protocol' · 84a999fa
      unknown authored
             bug #7126: Test failure: 'func_str' when using '--ps-protocol'
             bug #7130: Test failure: 'type_uint' when using '--ps-protocol').
      
      84a999fa
    • unknown's avatar
      dict0dict.c, log.cc: · 2c600679
      unknown authored
        Remove accidentally merged 4.0 changes
      dict0dict.c:
        Remove the 4.0 fix accidentally auto-merged to 4.1
      row0mysql.h, dict0dict.h:
        Remove a change auto-merged from 4.0
      
      
      innobase/include/dict0dict.h:
        Remove a change auto-merged from 4.0
      innobase/include/row0mysql.h:
        Remove a change auto-merged from 4.0
      sql/log.cc:
        Remove accidentally merged 4.0 changes
      innobase/dict/dict0dict.c:
        Remove accidentally merged 4.0 changes
      2c600679
    • unknown's avatar
      Merge · 80e9d865
      unknown authored
      
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/include/dict0dict.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/ha_innodb.cc:
        SCCS merged
      sql/sql_class.cc:
        SCCS merged
      80e9d865
    • unknown's avatar
      dict0dict.h, dict0dict.c, ha_innodb.cc: · e641e53f
      unknown authored
        Fix for the 0xA0 character problem in the InnoDB FOREIGN KEY parser: if my_isspace() treats 0xA0 as space, then let InnoDB do the same; this might break some multi-byte charset id's, though for big5, ujis, sjis this seems not to change the current behavior (I checked the tables in /share/charsets); this fix must NOT be merged to 4.1 because in 4.1 everything is in UTF-8
      
      
      sql/ha_innodb.cc:
        Fix for the 0xA0 character problem in the InnoDB FOREIGN KEY parser: if my_isspace() treats 0xA0 as space, then let InnoDB do the same; this might break some multi-byte charset id's, though for big5, ujis, sjis this seems not to change the current behavior (I checked the tables in /share/charsets); this fix must NOT be merged to 4.1 because in 4.1 everything is in UTF-8
      innobase/dict/dict0dict.c:
        Fix for the 0xA0 character problem in the InnoDB FOREIGN KEY parser: if my_isspace() treats 0xA0 as space, then let InnoDB do the same; this might break some multi-byte charset id's, though for big5, ujis, sjis this seems not to change the current behavior (I checked the tables in /share/charsets); this fix must NOT be merged to 4.1 because in 4.1 everything is in UTF-8
      innobase/include/dict0dict.h:
        Fix for the 0xA0 character problem in the InnoDB FOREIGN KEY parser: if my_isspace() treats 0xA0 as space, then let InnoDB do the same; this might break some multi-byte charset id's, though for big5, ujis, sjis this seems not to change the current behavior (I checked the tables in /share/charsets); this fix must NOT be merged to 4.1 because in 4.1 everything is in UTF-8
      e641e53f
    • unknown's avatar
      dict0dict.c: · 117af520
      unknown authored
        In the FOREIGN KEY parser, do not cut 0xC2A0 from the end of an identifier if it was quoted
      
      
      innobase/dict/dict0dict.c:
        In the FOREIGN KEY parser, do not cut 0xC2A0 from the end of an identifier if it was quoted
      117af520
    • unknown's avatar
      Privileges columns were removed from output to be able · fae50344
      unknown authored
      to reuse test results for both server and --embedded-server
      versions.
      
      
      BitKeeper/deleted/.del-ctype_big5.result.es~f75ebc9f8836316f:
        Delete: mysql-test/r/ctype_big5.result.es
      BitKeeper/deleted/.del-ctype_uca.result.es~9fab42f7561fa166:
        Delete: mysql-test/r/ctype_uca.result.es
      fae50344
    • unknown's avatar
      mysql-test-run.sh: · c98fa031
      unknown authored
        Use different TESTS_BINDIR for --embedded-server
      
      
      mysql-test/mysql-test-run.sh:
        Use different TESTS_BINDIR for --embedded-server
      c98fa031
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 034b1086
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-patches
      
      034b1086
    • unknown's avatar
      Bug #6819 Some ujis characters cannot be inserted into table · 5dc2d8c8
      unknown authored
      Allow to insert not-assigned UJIS codes. 
      
      5dc2d8c8
    • unknown's avatar
      Makefile.am: · c2b85ea0
      unknown authored
        Moved "../regex/libregex.a" before "../libmysql/libmysqlclient.la"
        when linking. For -all-static linking libtool put -lc after the .la
        file and this put the libc regex functions before our regex functions
        when linking on Linux.
      
      
      client/Makefile.am:
        Moved "../regex/libregex.a" before "../libmysql/libmysqlclient.la"
        when linking, for static linking libtool put -lc after the .la
        and this put the libc regex functions before out regex functions
        in the link on Linux.
      c2b85ea0
    • unknown's avatar
      Fix for bug #6516 (Server crash loading spatial data) · ea7a9d1a
      unknown authored
      (after discussion with SerG)
      
      
      include/my_base.h:
        Handler error code added
      myisam/mi_write.c:
        New error code handled
      myisam/rt_index.c:
        check for zero length added
      myisam/sp_key.c:
        zero length check added
      mysql-test/r/gis-rtree.result:
        appropriate test result
      mysql-test/t/gis-rtree.test:
        test case
      sql/handler.cc:
        new error code handling added
      ea7a9d1a
    • unknown's avatar
      dict0dict.c: · f9c25fa9
      unknown authored
        Fix the bug that the character 0xA0 that EMS MySQL Manager in ALTER TABLE adds after a table name confuses the InnoDB FOREIGN KEY parser, causing an error 121 when we try to add a new constraint; a full fix would require the lexer to be aware of thd->charset_info() and UTF-8
      
      
      innobase/dict/dict0dict.c:
        Fix the bug that the character 0xA0 that EMS MySQL Manager in ALTER TABLE adds after a table name confuses the InnoDB FOREIGN KEY parser, causing an error 121 when we try to add a new constraint; a full fix would require the lexer to be aware of thd->charset_info() and UTF-8
      f9c25fa9
  2. 09 Dec, 2004 14 commits
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · bd31ac2f
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      sql/item_strfunc.cc:
        Auto merged
      bd31ac2f
    • unknown's avatar
      A fix for a crashing bug #7101, which occures when the · 2d841bda
      unknown authored
      expression involving LEFT() function is used in GROUP BY
      field.
      
      
      mysql-test/r/func_str.result:
        A result for bug #7101 test case
      mysql-test/t/func_str.test:
        Test case for bug #7101
      2d841bda
    • unknown's avatar
      srv0srv.c: · 64b7d69f
      unknown authored
        srv_printf_innodb_monitor(): Removed extraneous rewind() call.
        The caller of this function calls rewind() if necessary.
        In this way, we avoid rewind()ing stderr in
        srv_lock_timeout_and_monitor_thread().
      
      
      innobase/srv/srv0srv.c:
        srv_printf_innodb_monitor(): Removed extraneous rewind() call.
        The caller of this function calls rewind() if necessary.
        In this way, we avoid rewind()ing stderr in
        srv_lock_timeout_and_monitor_thread().
      64b7d69f
    • unknown's avatar
      Do-compile: · 38d6c6aa
      unknown authored
        Added --with-csv and --with-example for CSV and Example storage engines
      
      
      Build-tools/Do-compile:
        Added --with-csv and --with-example for CSV and Example storage engines
      38d6c6aa
    • unknown's avatar
      ndb: sunfire100c: fix aligment when 32-bit pointers and 64-bit ha_rows · 7ca892f6
      unknown authored
      
      ndb/src/ndbapi/DictCache.cpp:
        fix aligment when 32-bit pointers and 64-bit ha_rows
      ndb/src/ndbapi/DictCache.hpp:
        fix aligment when 32-bit pointers and 64-bit ha_rows
      7ca892f6
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · bc759a61
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Auto merged
      ndb/tools/restore/restore_main.cpp:
        Auto merged
      bc759a61
    • unknown's avatar
      bug#6995 - fixed so that ndb_restore 4.1.8 can read files · f64d3d93
      unknown authored
        created by 4.1.7 as bugfix changed binary format
      
      
      ndb/tools/restore/Restore.cpp:
        Fixed so that version 4.1.8 of restore can read
          files created by 4.1.7
      ndb/tools/restore/Restore.hpp:
        Fixed so that version 4.1.8 of restore can read
          files created by 4.1.7
      ndb/tools/restore/main.cpp:
        Fixed so that version 4.1.8 of restore can read
          files created by 4.1.7
      f64d3d93
    • unknown's avatar
      Bugs: #7111: server crashes when regexp is used · ad7b15ce
      unknown authored
      ad7b15ce
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 98a13532
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg6765
      
      
      sql/set_var.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      98a13532
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · eecfd690
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      client/mysqldump.c:
        Auto merged
      eecfd690
    • unknown's avatar
      Ensure that we free memory used with --order-by-primary (in mysqldump) · 84f2d119
      unknown authored
      Simple, non critical, fix to mysql_fix_privilege_tables
      
      
      client/mysqldump.c:
        Ensure that we free memory used with --order-by-primary
      mysql-test/t/system_mysql_db_fix.test:
        Remove warnings when compiled with support for ISAM
      scripts/mysql_fix_privilege_tables.sh:
        Ensure that 'my_print_defaults' is called correctly
      sql/set_var.cc:
        Code style cleanups
      sql/sql_db.cc:
        Fixed comments
      sql/udf_example.cc:
        Fixed comments
      84f2d119
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5b03e03f
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg6765
      
      
      sql/item_strfunc.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      5b03e03f
    • unknown's avatar
      Fix for bug #6765 "Implicit access to time zone description · 7b96bc55
      unknown authored
      tables requires privileges for them if some table or column level grants
      present" (with after-review fixes).
      
      We should set SELECT_ACL for implicitly opened tables in 
      my_tz_check_n_skip_implicit_tables() to be able to bypass privilege
      checking in check_grant(). Also we should exclude those tables from
      privilege checking in multi-update.
      
      
      mysql-test/r/timezone2.result:
        Extended test for bug #6116 "SET time_zone := ... requires access to
        mysql.time_zone tables"
        Added test for bug #6765 "Implicit access to time zone description 
        tables requires privileges for them if some table or column level grants
        present"
      mysql-test/t/timezone2.test:
        Extended test for bug #6116 "SET time_zone := ... requires access to
        mysql.time_zone tables"
        Added test for bug #6765 "Implicit access to time zone description 
        tables requires privileges for them if some table or column level grants
        present"
      sql/item_geofunc.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/item_strfunc.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/log.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/mysql_priv.h:
        Now we have to include sql_acl.h before tztime.h, since 
        my_tz_check_n_skip_implicit_tables() defined there requires
        SELECT_ACL constant defined in sql_acl.h.
      sql/mysqld.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/repl_failsafe.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/set_var.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_acl.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_base.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_cache.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_class.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_db.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_derived.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_do.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_insert.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_parse.cc:
        check_one_table_access(): Tweaked comments.
        multi_update_precheck(): Added skipping of implicitly opened tables
          during privilege checking.
      sql/sql_prepare.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_repl.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_show.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_update.cc:
        sql_acl.h is now included via mysql_priv.h
      sql/sql_yacc.yy:
        sql_acl.h is now included via mysql_priv.h
      sql/tztime.h:
        my_tz_check_n_skip_implicit_tables():
          We should set SELECT_ACL for implictly opened tables to be able to
          bypass privilege checking in check_grant().
      7b96bc55
    • unknown's avatar
      bug#6995 - ndb · 674faf53
      unknown authored
      don't store keys in normalized form
      instead save everythings as normal attributes               
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      ndb/tools/restore/Restore.cpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      ndb/tools/restore/Restore.hpp:
        Remove special handling of keys, that was build to support
         tables where keys was only stored in ACC
      674faf53
  3. 08 Dec, 2004 8 commits