1. 10 Jan, 2008 1 commit
  2. 09 Jan, 2008 2 commits
    • unknown's avatar
      Fix for view.test. · 2c2ddc9d
      unknown authored
      the result should be added by 1 by the year(now()) function.
      
      
      mysql-test/r/view.result:
        SELECT (year(now())-year(DOB)) AS Age FROM t1 HAVING Age < 75; 
        the above statement in test file has a year(now()) function, 
        the result should increase by 1 from 2007 year to 2008 year.
      2c2ddc9d
    • unknown's avatar
      Merge gni@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb-bj · d4a53efb
      unknown authored
      into  dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug29851
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      d4a53efb
  3. 14 Nov, 2007 1 commit
  4. 28 Sep, 2007 2 commits
    • unknown's avatar
      BUG#28298 Node Id larger than MAX_NDB_NODES in config file doesn't generate error · b51a5527
      unknown authored
      
      ndb/include/kernel/ndb_limits.h:
        1) define a macro MAX_DATA_NODE_ID to set the max ID of data nodes to be MAX_NDB_NODES - 1
        2) define a macro MAX_NODES_ID to set the max ID of API and MGM to be MAX_NODES -1
      ndb/src/mgmsrv/ConfigInfo.cpp:
        1) replace MAX_NODES with MAX_DATA_NODE_ID (= MAX_NDB_NODES - 1)  when the NodeId represents data nodes.
        2) replace MAX_NODES with MAX_NODES_ID (= MAX_NODES -1) when the NodeId represents API or MGM nodes.
      b51a5527
    • unknown's avatar
      BUG#29851 TRUNCATE causes error 4350 from cluster in INSERT... ON DUPLICATE KEY UPDATE · 806f13fd
      unknown authored
      
      mysql-test/r/ndb_alter_table2.result:
        Add test case for BUG#29851
      mysql-test/t/ndb_alter_table2.test:
        Add test case for BUG#29851
      sql/ha_ndbcluster.cc:
        Indexes are dropped also when dropping table in GlobalDictCache
      806f13fd
  5. 12 Sep, 2007 2 commits
  6. 29 Aug, 2007 1 commit
  7. 20 Aug, 2007 4 commits
  8. 17 Aug, 2007 1 commit
  9. 16 Aug, 2007 1 commit
  10. 15 Aug, 2007 1 commit
  11. 14 Aug, 2007 3 commits
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · afec6876
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      afec6876
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-bug28804 · ea43d703
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      ea43d703
    • unknown's avatar
      Backport Magnus' fix from 5.1 · 4fa52537
      unknown authored
      ChangeSet@1.2575, 2007-08-07 19:16:06+02:00, msvensson@pilot.(none) +2 -0
        Bug#26793 mysqld crashes when doing specific query on information_schema
         - Drop the newly created user user1@localhost
         - Cleanup testcase
      
      
      mysql-test/r/ndb_bug26793.result:
          mysql-test/r/ndb_bug26793.result@1.3, 2007-08-07 19:16:04+02:00, msvensson@pilot.(none)
        +1 -6
            Update test result
      mysql-test/t/ndb_bug26793.test:
          mysql-test/t/ndb_bug26793.test@1.3, 2007-08-07 19:16:04+02:00, msvensson@pilot.(none) +8
        -11
            - Remove the drop/restore of anonymous users - there are no such users
            by default anymore(if there were, they would probably be in mysql.user)
            - Switch back to default connection before cleanup 
            - Drop user1@localhost as part of cleanup
      4fa52537
  12. 13 Aug, 2007 3 commits
    • unknown's avatar
    • unknown's avatar
      bug#30337 DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API... · a095e696
      unknown authored
      bug#30337  DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node: Disable multi_read_range if there are after delete/update triggers
      
      
      a095e696
    • unknown's avatar
      ndb - bug#28804 · 4d6255c6
      unknown authored
        Handle out of transaction buffer in TC for INDX lookups
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Add new error codes for simulating out of transaction buffer memory
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Change signature to handle out of buffer
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle otu of transaction buffers in index operations
          (TCINDXREQ++)
      ndb/src/ndbapi/NdbTransaction.cpp:
        Give more info on 4012
      ndb/src/ndbapi/ndberror.c:
        Add new error code
      ndb/test/ndbapi/testIndex.cpp:
        add tests
      ndb/test/run-test/daily-basic-tests.txt:
        add tests
      sql/ha_ndbcluster.cc:
        Set correct status
      4d6255c6
  13. 08 Aug, 2007 2 commits
  14. 07 Aug, 2007 1 commit
    • unknown's avatar
      BUG#29674 Restore/backup are endian compatible in 5.0 · 0e8ad8f3
      unknown authored
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Twiddle the "replicaCount" and "fragCount" variable when restore data from different endian.
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Add byte order variable
      ndb/tools/restore/Restore.cpp:
        Twiddle blob, datatime,timestamp when do restore in different endian.
      mysql-test/r/ndb_restore_different_endian_data.result:
        Test case result for restore data from different endian
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1-0.1.Data:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1-0.2.Data:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.1.ctl:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.1.log:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.2.ctl:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.2.log:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1-0.1.Data:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1-0.2.Data:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.1.ctl:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.1.log:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.2.ctl:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.2.log:
        Test case data
      mysql-test/t/ndb_restore_different_endian_data.test:
        Test case for restore data from different endian
      0e8ad8f3
  15. 30 Jul, 2007 1 commit
  16. 27 Jul, 2007 1 commit
  17. 26 Jul, 2007 2 commits
    • unknown's avatar
      [PATCH] Bug#26793 I_S query crashes in NDB · 989b02e7
      unknown authored
      If ::exteral_lock hadn't been called, we'd have no NDB object,
      so need to check/get one here.
      
      It looks like sql_show.cc is the only place that does this....
      or at least the other places will be well hidden.
      
      Index: ndb-work/sql/ha_ndbcluster.cc
      ===================================================================
      
      
      sql/ha_ndbcluster.cc:
        Bug#26793 I_S query crashes in NDB
      989b02e7
    • unknown's avatar
      [PATCH] BUG#26793 test: mysqld crashes in NDB on I_S query · e2558381
      unknown authored
      Reduce case and formalise into something we should be
      able to use in mysql-test-run.
      
      Index: ndb-work/mysql-test/t/ndb_bug26793.test
      ===================================================================
      
      
      mysql-test/r/ndb_bug26793.result:
        BUG#26793 test: mysqld crashes in NDB on I_S query
      mysql-test/t/ndb_bug26793.test:
        BUG#26793 test: mysqld crashes in NDB on I_S query
      e2558381
  18. 25 Jul, 2007 2 commits
  19. 13 Jul, 2007 1 commit
  20. 04 Jul, 2007 3 commits
  21. 03 Jul, 2007 2 commits
  22. 02 Jul, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 55dee6b3
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      55dee6b3
    • unknown's avatar
      ndb - bug#29364 - "SQL queries hang while data node in start phase 5" · 036eedba
      unknown authored
        In TC init node status for already started nodes during node restart
        (not present in 5.1)
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        on node restart, make sure to init all already started nodes to NF_STARTED
      ndb/test/ndbapi/testNodeRestart.cpp:
        test prg
      ndb/test/run-test/daily-basic-tests.txt:
        test prg
      036eedba
  23. 25 Jun, 2007 1 commit
    • unknown's avatar
      ndb - bug#29057 bug#29067 and bug#29118 · 3b3586ee
      unknown authored
        Fix 3 problems in REDO validation that could(will) lead to "Error while reading REDO log"
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        add new state
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        fix bugs + add debugging
      3b3586ee