1. 26 Jul, 2005 2 commits
  2. 25 Jul, 2005 2 commits
    • unknown's avatar
      fix compile error · bc10bd8e
      unknown authored
      bc10bd8e
    • unknown's avatar
      ndb - Fix LCP during SR parameters · ea010ef5
      unknown authored
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Fix LCP during SR parameters
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Fix LCP during SR parameters
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Fix LCP during SR parameters
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Fix LCP during SR parameters
      ea010ef5
  3. 24 Jul, 2005 1 commit
  4. 23 Jul, 2005 1 commit
    • unknown's avatar
      Add tool to extract config info from ndb_mgmd · 8dd5bd5e
      unknown authored
      
      ndb/include/mgmapi/mgmapi.h:
        Add feature to redirect error printouts
      ndb/src/mgmapi/mgmapi.cpp:
        Add feature to redirect error printouts
      ndb/src/mgmsrv/ConfigInfo.hpp:
        Make param info public
      ndb/tools/Makefile.am:
        Add ndb_config
      ndb/tools/config.cpp:
        New BitKeeper file ``ndb/tools/config.cpp''
      8dd5bd5e
  5. 21 Jul, 2005 1 commit
  6. 20 Jul, 2005 3 commits
    • unknown's avatar
      bug#11942 - ndb backup · fe073647
      unknown authored
        fix error code to avoid clash with 5.0/5.1
      
      
      ndb/include/kernel/signaldata/AlterTable.hpp:
        Change error codes to remove clash from 5.0
      ndb/include/kernel/signaldata/DropTable.hpp:
        Change error codes to remove clash from 5.0
      ndb/src/ndbapi/ndberror.c:
        Change error codes to remove clash from 5.0
      fe073647
    • unknown's avatar
      bug#11942 - ndb backup with parallell DDL · e071abac
      unknown authored
        add testcase to autotest
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        remove ;
      ndb/test/run-test/daily-basic-tests.txt:
        add test case
      e071abac
    • unknown's avatar
      bug#11942 · 783dbfc3
      unknown authored
      
      ndb/include/kernel/signaldata/AlterTable.hpp:
        Add error code for backup in progress
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Add backup state
      ndb/include/kernel/signaldata/DropTable.hpp:
        Add error code for backup in progress
      ndb/include/ndbapi/NdbDictionary.hpp:
        Add backup state
      ndb/src/kernel/blocks/backup/Backup.cpp:
        1) remove invalid require (util_sequence_ref) crash
        2) Don't backup objects dropping/creating
        3) set correct error code on backup fragment ref (crash)
        4) save TrigAttrInfo header when getting log full (crash)
        5) lock/unlock tables during backup
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        1) add mutex lock/unlock as part of drop/alter table
        2) add lock/unlock for backup
        3) remove TC from backup trigger loop
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Add BACKUP_ONGOING state
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Add backup state
      ndb/src/ndbapi/ndberror.c:
        Add error code for backup in progress
      ndb/test/ndbapi/testBackup.cpp:
        Add testcase for testBackup -n BackupDDL
      ndb/tools/drop_index.cpp:
        Fix ndb_drop_index
      ndb/tools/listTables.cpp:
        Print of backup state
      783dbfc3
  7. 04 Jul, 2005 1 commit
    • unknown's avatar
      ndb - · 6913d805
      unknown authored
        fix bug in MemoryChannel
      
      
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        Don't signal when reporting to NDBFS
      ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp:
        1) add new method which don't signal
        2) remove wait(0) from tryReadChannel
      6913d805
  8. 01 Jul, 2005 1 commit
    • unknown's avatar
      bug#11133 - ndb write handling · 5285b530
      unknown authored
        fix handling of write's in lock queue
        add test case
        add support for pkWrite+async exec in HugoOperations
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Handle operation type wrt ZWRITE when restarting operations
      ndb/test/include/HugoOperations.hpp:
        Add support for 
        1) pkWriteRecord 
        2) async execute
      ndb/test/ndbapi/testNdbApi.cpp:
        Extend test case for bug#11133 with multi transaction tests aswell...
      ndb/test/src/HugoOperations.cpp:
        Add support for 
        1) pkWriteRecord 
        2) async execute
      5285b530
  9. 30 Jun, 2005 1 commit
  10. 28 Jun, 2005 13 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 90300c07
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-bug3-4.1
      
      
      90300c07
    • unknown's avatar
      fixed not_null_tables() for IN() (BUG#9393) · 3aca0a0c
      unknown authored
      (IN() remove NULL rows only for tables from first argument (value which we looking for in IN() list) but not for tables from IN() list)
      Also it will be better change Item::not_null_tables() to prohibit this optimisation by default for new created items in 5.0 or 5.1.
      
      
      mysql-test/r/select.result:
        IN with outer join condition
      mysql-test/t/select.test:
        IN with outer join condition
      sql/item_cmpfunc.h:
        correct not_null_tables() for IN
      3aca0a0c
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · dadf91f0
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-4.1
      
      
      dadf91f0
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · d8edc2db
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-4.1
      
      
      d8edc2db
    • unknown's avatar
      Move reset of insert_values to ensure it's done also during error conditions · 05c7edf6
      unknown authored
      This fixed a failure of insert_update.test on some platforms
      
      
      mysys/thr_alarm.c:
        Fixed problem noticed by valgrind
      sql/opt_range.cc:
        Simple optimization for common case
      sql/sql_base.cc:
        Safety assert
      sql/sql_insert.cc:
        Added comment
      05c7edf6
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 69f29348
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      sql/sql_select.cc:
        Auto merged
      69f29348
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1 · 27478af9
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-4.1
      
      
      sql/field.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      27478af9
    • unknown's avatar
      group_by.result, group_by.test: · 67abd491
      unknown authored
        Added a test case for bug #11414.
      sql_select.cc:
        Fixed bug #11414: crash on Windows with some simple
        GROUP BY queries.
        It happened to an allocation of an array containing
        0 Copy_field elements in setup_copy_fields.
        The bug had been already fixed in 5.0.
      
      
      sql/sql_select.cc:
        Fixed bug #11414: crash on Windows with some simple
        GROUP BY queries.
        It happened to an allocation of an array containing
        0 Copy_field elements in setup_copy_fields.
        The bug had been already fixed in 5.0.
      mysql-test/t/group_by.test:
        Added a test case for bug #11414.
      mysql-test/r/group_by.result:
        Added a test case for bug #11414.
      67abd491
    • unknown's avatar
      ctype_ucs.result, ctype_ucs.test, ctype_utf8.result, ctype_utf8.test: · 2776aa35
      unknown authored
        Fixing tests accordingly.
      ctype-ucs2.c:
        The same fix for UCS2.
      ctype-utf8.c:
        Bug #9557
        MyISAM utf8 table crash
        The problem was that my_strnncollsp_xxx could
        return big value in the range 0..0xffff.
        for some constant pairs it could return 32738,
        which is defined as MI_FOUND_WRONG_KEY in
        myisamdef.h. As a result, table considered to
        be crashed. 
        Fix to return -1,0 or 1.
      
      
      strings/ctype-utf8.c:
        Bug #9557
        MyISAM utf8 table crash
        The problem was that my_strnncollsp_xxx could
        return big value in the range 0..0xffff.
        for some constant pairs it could return 32738,
        which is defined as MI_FOUND_WRONG_KEY in
        myisamdef.h. As a result, table considered to
        be crashed. 
        Fix to return -1,0 or 1.
      strings/ctype-ucs2.c:
        The same fix for UCS2.
      mysql-test/t/ctype_utf8.test:
        Fixing tests accordingly.
      mysql-test/r/ctype_utf8.result:
        Fixing tests accordingly.
      mysql-test/t/ctype_ucs.test:
        Fixing tests accordingly.
      mysql-test/r/ctype_ucs.result:
        Fixing tests accordingly.
      2776aa35
    • unknown's avatar
      Makefile.am: · 0037781f
      unknown authored
        Bug#9873, reenabled --without-man option to work
      
      
      Makefile.am:
        Bug#9873, reenabled --without-man option to work
      0037781f
    • unknown's avatar
      configure.in: · c7e157e7
      unknown authored
        Enable build with CXX=gcc and gcc version 4
      
      
      configure.in:
        Enable build with CXX=gcc and gcc version 4
      c7e157e7
    • unknown's avatar
      mysqld.dsp: · 9c41fbda
      unknown authored
        Corrected quoting of string "pro-nt"
      
      
      VC++Files/sql/mysqld.dsp:
        Corrected quoting of string "pro-nt"
      9c41fbda
    • unknown's avatar
      opt_range.cc: · f7780a1c
      unknown authored
        Added missing `;' to DBUG_RETURN()
      
      
      sql/opt_range.cc:
        Added missing `;' to DBUG_RETURN()
      f7780a1c
  11. 27 Jun, 2005 11 commits
    • unknown's avatar
      Fix test after last push · f3dd8151
      unknown authored
      f3dd8151
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 07de1f82
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      07de1f82
    • unknown's avatar
      Portability fixes · 76d444fc
      unknown authored
      Fixes while reviewing new pushed code
      NULL as argument to encrypt/decrypt should return NULL without a warning
      
      
      client/mysqldump.c:
        Cleanup
        Ensure we free allocated memory
        Portability fixes
      client/mysqltest.c:
        Cleanup of code during review
        Portability fixes (Don't use 'bool')
      mysql-test/r/func_encrypt.result:
        NULL as argument to encrypt/decrypt should return NULL without a warning
      mysql-test/r/func_encrypt_nossl.result:
        Added test of NULL argument
      mysql-test/t/func_encrypt_nossl.test:
        Added test of NULL argument
      sql/handler.cc:
        Cleanup during code review
      sql/item_strfunc.cc:
        NULL as argument to encrypt/decrypt should return NULL without a warning
      sql/sql_parse.cc:
        Fix wrong merge (fix was not needed as the previous code was reverted)
      sql/sql_table.cc:
        Removed extra new line
      76d444fc
    • unknown's avatar
      InnoDB: After review fixes · b608f091
      unknown authored
      
      innobase/os/os0file.c:
        os_file_set_size(): After review fixes (prevent overflows)
      b608f091
    • unknown's avatar
      InnoDB: Optimize the extension of files. This will greatly speed · 1084e540
      unknown authored
      up CREATE TABLE in innodb_file_per_table=1 mode.
      
      
      innobase/fil/fil0fil.c:
        fil_extend_space_to_desired_size(): Do not allocate or initialize
        more memory than is necessary.  Write at most one megabyte at a time.
      innobase/include/os0file.h:
        os_file_set_size(): Corrected the synopsis
      innobase/os/os0file.c:
        os_file_set_size(): Corrected the synopsis and some comments.
        s/offset/current_size; s/low/desired_size/;
        Do not allocate or initialize more memory than is necessary.
        Write at most one megabyte at a time.
      1084e540
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 78b35bc0
      unknown authored
      into mysql.com:/my/mysql-4.1
      
      
      78b35bc0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 6c46a993
      unknown authored
      into  mishka.local:/home/my/mysql-4.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      6c46a993
    • unknown's avatar
      Better bug fix for: · d10877ce
      unknown authored
      #9728  'Decreased functionality in "on duplicate key update
      #8147  'a column proclaimed ambigous in INSERT ... SELECT .. ON DUPLICATE'
      
      This ensures fields are uniquely qualified and also that one can't update other tables in the ON DUPLICATE KEY UPDATE part
      
      
      mysql-test/r/insert_select.result:
        More tests for bug #9728 and #8147
      mysql-test/r/insert_update.result:
        Updated tests after changing how INSERT ... SELECT .. ON DUPLICATE KEY works
      mysql-test/t/insert_select.test:
        More tests for bug #9728 and #8147
      mysql-test/t/insert_update.test:
        Updated tests after changing how INSERT ... SELECT .. ON DUPLICATE KEY works
      mysys/my_access.c:
        Cleanup (shorter loop variable names)
      sql/ha_ndbcluster.cc:
        Indentation fixes
      sql/item.cc:
        Remove item_flags
      sql/item.h:
        Remove item_flags
      sql/mysql_priv.h:
        New arguments to mysql_prepare_insert
      sql/sql_base.cc:
        Remove old fix for bug #8147
      sql/sql_insert.cc:
        Extend mysql_prepare_insert() with new field list for tables that can be used in the values port of ON DUPLICATE KEY UPDATE
      sql/sql_parse.cc:
        Revert fix for #9728
        Allow one to use other tables in ON DUPLICATE_KEY for INSERT ... SELECT if there is no GROUP BY clause
      sql/sql_prepare.cc:
        New arguments to mysql_prepare_insert
      sql/sql_yacc.yy:
        Revert bug fix for #9728
      d10877ce
    • unknown's avatar
      Include <sys/wait.h> to get WEXITSTATUS · e00981bb
      unknown authored
      e00981bb
    • unknown's avatar
      Add "#include <stdlib.h>" to define WEXITSTATUS · 8478223a
      unknown authored
      8478223a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f40f711e
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      
      f40f711e
  12. 25 Jun, 2005 1 commit
  13. 24 Jun, 2005 2 commits
    • unknown's avatar
      Bug#10178 - failure to find a row in heap table by concurrent UPDATEs · a7e66efc
      unknown authored
      Moved the key statistics update to info().
      The table is not locked in open(). This made wrong stats possible.
      
      No test case for the test suite.
      This happens only with heavy concurrency.
      A test script is added to the bug report.
      
      
      mysql-test/r/heap_hash.result:
        Bug#10178 - failure to find a row in heap table by concurrent UPDATEs
        Updated test results to reflect the new  statistics behaviour.
      mysql-test/t/heap_hash.test:
        Bug#10178 - failure to find a row in heap table by concurrent UPDATEs
        Added a FLUSH TABLES to avoid statistics differences between normal 
        and ps-protocol tests.
      sql/ha_heap.cc:
        Bug#10178 - failure to find a row in heap table by concurrent UPDATEs
        Moved the key statistics update to info().
        The table is not locked in open(). This made wrong stats possible.
      sql/ha_heap.h:
        Bug#10178 - failure to find a row in heap table by concurrent UPDATEs
        Added an element to track the validity of the key statistics.
      a7e66efc
    • unknown's avatar