1. 11 Dec, 2004 1 commit
    • unknown's avatar
      new reference which refer to current value not to result used for resolving outer · 3ce0df59
      unknown authored
      refernces if subqueri is not in HAVING clause (BUG#7079)
        and the same used for subquery transformetion
      
      
      mysql-test/r/subselect.result:
        reference on changable fields from subquery
      mysql-test/t/subselect.test:
        reference on changable fields from subquery
      sql/item.cc:
        new reference which refer to current value not to result used
      sql/item.h:
        new reference which refer to current value not to result used
      sql/item_subselect.cc:
        new reference which refer to current value not to result used
      3ce0df59
  2. 10 Dec, 2004 1 commit
    • 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
  3. 09 Dec, 2004 13 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
      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
  4. 08 Dec, 2004 12 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · cbd5d91c
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      cbd5d91c
    • unknown's avatar
      added possibility for comment into management client · f5428acd
      unknown authored
      added sleep command to management client
      all for testing purposes
      
      
      f5428acd
    • unknown's avatar
      ndbcluster.sh: · 5380a3a6
      unknown authored
        made compare of logs possible in ndb test
      restart_log.result, restart.test, restart.result:
        new file
      
      
      mysql-test/ndb/ndbcluster.sh:
        made compare of logs possible in ndb test
      5380a3a6
    • unknown's avatar
      ndbcluster.sh: · 43a1ddcf
      unknown authored
        added test switch
      basic_log.result, basic.test, basic.result:
        new file
      
      
      mysql-test/ndb/ndbcluster.sh:
        added test switch
      43a1ddcf
    • unknown's avatar
      A fix and test case for Bug#6873 "PS, having with subquery, crash · 998209d3
      unknown authored
      during execute"
      
      
      mysql-test/r/ps.result:
        Test results updated (Bug#6873)
      mysql-test/t/ps.test:
        A test case for Bug#6873 "PS, having with subquery, crash during execute".
      sql/item_subselect.cc:
        If we transform having subtree, modify SELECT_LEX::having pointer 
        to point to the new having tree root.
      998209d3
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 45643bc6
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      45643bc6
    • unknown's avatar
      - added two new options to Do-compile: · b5e84446
      unknown authored
        --ps-test: run the test suite using prepared statements
        --embedded-test: run the test suite against the embedded server
      
      
      Build-tools/Do-compile:
        - added two new options:
          --ps-test: run the test suite using prepared statements
          --embedded-test: run the test suite against the embedded server
      b5e84446
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 14eacb86
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      14eacb86
    • unknown's avatar
      os0file.c: · 433430f4
      unknown authored
        Print a better error message to the .err log if InnoDB's advisory file locking fails
      
      
      innobase/os/os0file.c:
        Print a better error message to the .err log if InnoDB's advisory file locking fails
      433430f4
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 75b5e9d3
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      75b5e9d3
    • unknown's avatar
      bug #7104 · b89ef309
      unknown authored
      + some extra debug printouts
      
      
      mysql-test/ndb/ndbcluster.sh:
        fixed debug flag in ndbcluster start script
      ndb/include/debugger/EventLogger.hpp:
        bug #7104
      ndb/include/kernel/LogLevel.hpp:
        bug #7104
      ndb/src/common/debugger/EventLogger.cpp:
        bug #7104
      ndb/src/common/portlib/NdbTCP.cpp:
        removed debug printout in Ndb_getInAddr
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        bug #7104
      ndb/src/mgmapi/mgmapi.cpp:
        bug #7104
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        bug #7104
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        bug #7104
      ndb/src/mgmsrv/Services.cpp:
        bug #7104
      ndb/src/ndbapi/TransporterFacade.cpp:
        bug #7104
      b89ef309
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 875cdfe3
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/4.1/ndb-pristine
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      875cdfe3
  5. 07 Dec, 2004 13 commits