1. 12 Dec, 2004 1 commit
    • unknown's avatar
      fix bug#7193 · 8f318cf1
      unknown authored
          added start backup parameter to enable setting wait state
          and set different timeouts depending on waitstate
          moved listen of backup event out of backup and into separete thread
          thread created at connect() and destroyed at disconnect()
          added start backup command options "nowait" "wait completed" "wait started"
          fixed log level settings
      
      
      ndb/include/mgmapi/mgmapi.h:
        added start backup parameter to enable setting wait state
      ndb/src/common/debugger/EventLogger.cpp:
        changed to unsigned printout
      ndb/src/mgmapi/mgmapi.cpp:
        added start backup parameter to enable setting wait state,
        and set different timeouts depending on waitstate
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved listen of backup event out of backup and into separete thread
        thread created at connect() and destroyed at disconnect()
        added start backup command options "nowait" "wait completed" "wait started"
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        added more options to start backup to set wait state
        + set timeout depending on wait state
        + some debug printouts
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        added more options to start backup to set wait state
      ndb/src/mgmsrv/Services.cpp:
        removed old backup code
        added use of stard backup otions
        fixed log level settings
      ndb/test/src/NdbBackup.cpp:
        adopted to new wait state option in start backup
      8f318cf1
  2. 11 Dec, 2004 4 commits
  3. 10 Dec, 2004 19 commits
    • unknown's avatar
      Merge hundin.mysql.fi:/home/marko/k/mysql-4.0 · 1054574d
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      innobase/srv/srv0srv.c:
        Auto merged
      1054574d
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.0 · 96a927b5
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.0
      
      
      96a927b5
    • unknown's avatar
      Merge · 41f9594d
      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
      41f9594d
    • unknown's avatar
      manually merged · 92a8bd93
      unknown authored
      
      innobase/dict/dict0dict.c:
        merged (ul)
      innobase/include/dict0dict.h:
        merged (ul)
      sql/ha_innodb.cc:
        merged (ul)
      sql/log.cc:
        automerged
      92a8bd93
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 603bbfde
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1
      
      
      603bbfde
    • unknown's avatar
      row0mysql.h: · dec34675
      unknown authored
        Remove accidentally pushed unnecessary change
      
      
      innobase/include/row0mysql.h:
        Remove accidentally pushed unnecessary change
      dec34675
    • unknown's avatar
      A fix (bug #7129: Test failure: 'type_ranges' when using '--ps-protocol' · 111fa31f
      unknown authored
             bug #7126: Test failure: 'func_str' when using '--ps-protocol'
             bug #7130: Test failure: 'type_uint' when using '--ps-protocol').
      
      
      111fa31f
    • unknown's avatar
      dict0dict.c, log.cc: · 07077779
      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
      07077779
    • unknown's avatar
      Merge · 5f78275e
      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
      5f78275e
    • unknown's avatar
      dict0dict.h, dict0dict.c, ha_innodb.cc: · c486461e
      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
      c486461e
    • unknown's avatar
      dict0dict.c: · 0be6eab6
      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
      0be6eab6
    • unknown's avatar
      Privileges columns were removed from output to be able · 23145c51
      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
      23145c51
    • unknown's avatar
      mysql-test-run.sh: · 220edcf5
      unknown authored
        Use different TESTS_BINDIR for --embedded-server
      
      
      mysql-test/mysql-test-run.sh:
        Use different TESTS_BINDIR for --embedded-server
      220edcf5
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · cfe017a3
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-patches
      
      
      cfe017a3
    • unknown's avatar
      Bug #6819 Some ujis characters cannot be inserted into table · 05cb2737
      unknown authored
      Allow to insert not-assigned UJIS codes. 
      
      
      05cb2737
    • unknown's avatar
      Makefile.am: · d408a4aa
      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.
      d408a4aa
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 27deb625
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      27deb625
    • unknown's avatar
      Fix for bug #6516 (Server crash loading spatial data) · 95056a0b
      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
      95056a0b
    • unknown's avatar
      dict0dict.c: · 7a60d155
      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
      7a60d155
  4. 09 Dec, 2004 15 commits
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1 · 07cebc14
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.1
      
      
      sql/item_strfunc.cc:
        Auto merged
      07cebc14
    • unknown's avatar
      A fix for a crashing bug #7101, which occures when the · 41a61e84
      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
      41a61e84
    • unknown's avatar
      srv0srv.c: · f4f4e636
      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().
      f4f4e636
    • unknown's avatar
      Do-compile: · c4be6104
      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
      c4be6104
    • unknown's avatar
      ndb: sunfire100c: fix aligment when 32-bit pointers and 64-bit ha_rows · 52a754ed
      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
      52a754ed
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · d1ec91be
      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
      d1ec91be
    • unknown's avatar
      bug#6995 - fixed so that ndb_restore 4.1.8 can read files · f67fe154
      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
      f67fe154
    • unknown's avatar
      Bugs: #7111: server crashes when regexp is used · 809ea732
      unknown authored
      809ea732
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e539f5bd
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-bg6765
      
      
      sql/set_var.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      e539f5bd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 3e221a83
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      client/mysqldump.c:
        Auto merged
      3e221a83
    • unknown's avatar
      Ensure that we free memory used with --order-by-primary (in mysqldump) · 5535fa96
      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
      5535fa96
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · af07ef79
      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
      af07ef79
    • unknown's avatar
      Fix for bug #6765 "Implicit access to time zone description · 9ad51c63
      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().
      9ad51c63
    • unknown's avatar
      bug#6995 - ndb · 37865bc9
      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
      37865bc9
    • unknown's avatar
  5. 08 Dec, 2004 1 commit