1. 04 Apr, 2005 1 commit
    • unknown's avatar
      BUG#6762 ALTER TABLE gives weird results and error message · f65e9210
      unknown authored
        - Better error message when table definition has changed
      
      
      mysql-test/r/ndb_alter_table.result:
        New error message and code when table definition has changed.
      mysql-test/r/ndb_multi.result:
        Safety, drop tables in second server as well
      mysql-test/t/ndb_alter_table.test:
        New error message and code when table definition has changed.
      mysql-test/t/ndb_multi.test:
        Safety, drop tables in second server as well
      sql/ha_ndbcluster.cc:
        When error 284 is returned from NDB a check must be made to see what the error really means.
         - if table does not exists any more, return 709 -> No such table exists
         - if table still exists, table has most likely been altered and table id and version has 
           changed, print  hardcoded  errormessage indicating that transaction should retried
          (this error message should be translated to a langauge dependent error message in 5.0)
          
        Remove mapping from 284 to HA_ERR_NO_SUCH_TABLE
      f65e9210
  2. 01 Apr, 2005 1 commit
  3. 31 Mar, 2005 11 commits
  4. 30 Mar, 2005 26 commits
    • unknown's avatar
      A fix for Bug#9443 "mysql_client_test fails on linux and some solaris · f485db42
      unknown authored
      platforms": yet another issue with floating pointer comparisons.
      The fix uses the workaround with volatiles.
      
      
      sql/item_cmpfunc.cc:
        A fix for the failing mysql_client_test on some Intel platforms
        when compiled with optimization.
        We don't use -ffloat-store compileation as it may slow all
        floating point operations.
      f485db42
    • unknown's avatar
      ndb - CSC#4927: ordered index + long pk, second half · e12f1a44
      unknown authored
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        ACC_LOCKREQ - element may have moved after lock request was made
      e12f1a44
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 30c85129
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union_merge-4.1
      
      
      30c85129
    • unknown's avatar
      postmerge fixes · 56b2de98
      unknown authored
      
      mysql-test/r/metadata.result:
        postmerge change
      sql/item.cc:
        work around about varchar in 4.1
      56b2de98
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 3d03f0ae
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      
      3d03f0ae
    • unknown's avatar
      merge · 504ab8d4
      unknown authored
      
      sql/sql_parse.cc:
        Auto merged
      504ab8d4
    • unknown's avatar
      Fix 'Bootstrap' to bypass a problem with "bk changes" by changing the... · cc3cadb7
      unknown authored
      Fix 'Bootstrap' to bypass a problem with "bk changes" by changing the directory before calling the command.
      
      
      Build-tools/Bootstrap:
        Bypass a BK problem with "bk changes": It stopped delivering changeset comments when
        1) it encountered a single, unbroken line with about 1k characters  AND
        2) it was applied not to the current directory but to a named BK root directory.
        
        As 1) cannot be changed post-factum (and might happen again),
        the "bk changes" command is now preceded by a "cd $REPO".
        
        Do some renaming of variables used around the "bk changes" call to improve documentation.
      cc3cadb7
    • unknown's avatar
      Portability fix (avoid bash-ism). · 890aa5b2
      unknown authored
      
      support-files/mysql.server.sh:
        Replace a non-portable "for" loop (bash style, fails on BSD) by an equivalent "while" loop.
        Note that the "stop" method is still wrong, as it does not wait for file removal.
      890aa5b2
    • unknown's avatar
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · c1338937
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1-synced
      
      
      c1338937
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug8807 · ed4022bd
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1-synced
      
      
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      ed4022bd
    • unknown's avatar
      Fix for BUG#9213: GROUP BY returns wrong query results: · 5ac4670b
      unknown authored
      Make test_if_skip_sort_order() rebuild tab->ref if it decides to use an index
      different from the index join optimizer has choosen.  
      
      
      mysql-test/r/group_by.result:
        Testcase for BUG#9213
      mysql-test/t/group_by.test:
        Testcase for BUG#9213
      sql/table.h:
        Added comments about TABLE::used_keys
      5ac4670b
    • unknown's avatar
      BUG#8807 Select crash server · af2ab040
      unknown authored
       - Add function Item_param::fix_fields which will update any subselect they are part of and indicate that the subsleect is not const during prepare phase, and thus should not be executed during prepare.
      
      
      mysql-test/include/ps_query.inc:
        Adde new test case
      mysql-test/r/ps_2myisam.result:
        Update test result
      mysql-test/r/ps_3innodb.result:
        Update test result
      mysql-test/r/ps_4heap.result:
        Update test result
      mysql-test/r/ps_5merge.result:
        Update test result
      mysql-test/r/ps_6bdb.result:
        Update test result
      mysql-test/r/ps_7ndb.result:
        Update test result
      sql/item.cc:
        Add function Item_param::fix_fields, which will mark any subselects they are part of as not being a constant expression unless the param value is specified, ie. it will be not be constant during prepare phase.
      sql/item.h:
        Adde Item_param::fix_fields
      sql/item_subselect.h:
        Make Item_param::fix_field friend of Item_subselect
      af2ab040
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 633a2468
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-4.1
      
      
      633a2468
    • unknown's avatar
      A fix (bug #9401: type_timestamp segfaults mysqld) · 216ed8c7
      unknown authored
      
      sql/sql_select.cc:
        A fix (bug #9401: type_timestamp segfaults mysqld).
        1. create_tmp_field_from_field() is modified to take 'Item_ref *item' and 'char *name'
        instead of 'bool modify_item' and 'Item *item'.
        2. For Item_sum_min/max we should never modify item, so NULL is 
        passed as item to the create_tmp_field_from_field().
      216ed8c7
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8af53376
      unknown authored
      into mysql.com:/usr/home/bar/mysql-4.1
      
      
      8af53376
    • unknown's avatar
      Remove .opt file for faster test running. · 103dddfb
      unknown authored
      
      BitKeeper/deleted/.del-ctype_cp1251-master.opt~68be9a59ec8ee106:
        Delete: mysql-test/t/ctype_cp1251-master.opt
      103dddfb
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 03951972
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      03951972
    • unknown's avatar
      merged · fc7b19d4
      unknown authored
      fc7b19d4
    • unknown's avatar
      don't strcmp db if it's a pattern · fe811dd8
      unknown authored
      fe811dd8
    • unknown's avatar
      Merge · dddabc7e
      unknown authored
      
      mysql-test/r/metadata.result:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      mysql-test/r/union.result:
        SCCS merged
      mysql-test/t/union.test:
        SCCS merged
      dddabc7e
    • unknown's avatar
      postreview changes · dda97623
      unknown authored
      fixed bug in IN/ALL/ANY subqeries with HAVING clause (BUG#9350)
      
      
      mysql-test/r/subselect.result:
        added new subquery tests to make code covarage better
      mysql-test/t/subselect.test:
        added new subquery tests to make code covarage better
      sql/item_subselect.cc:
        fixed typo in comment
        removed unused code
        fixed bug with HAVING clause detectiuon (BUG#9350)
        postreview changes
      dda97623
    • unknown's avatar
      Merge · dad03459
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Build-tools/Do-compile:
        Merge from 4.0
      dad03459
    • unknown's avatar
      Do-compile: · 73e5f698
      unknown authored
        Added option --with-big-tables
      
      
      Build-tools/Do-compile:
        Added option --with-big-tables
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      73e5f698
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4c248060
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      
      4c248060
    • unknown's avatar
      Do-compile: · 655d97ee
      unknown authored
        Added option --with-blackhole
      
      
      Build-tools/Do-compile:
        Added option --with-blackhole
      655d97ee
  5. 29 Mar, 2005 1 commit