1. 04 Apr, 2005 1 commit
    • unknown's avatar
      BUG#6762 ALTER TABLE gives weird results and error message · 23b2a53d
      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
      23b2a53d
  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 · ae4de278
      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.
      ae4de278
    • unknown's avatar
      ndb - CSC#4927: ordered index + long pk, second half · f6dfc336
      unknown authored
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        ACC_LOCKREQ - element may have moved after lock request was made
      f6dfc336
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 5a542bdb
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union_merge-4.1
      
      5a542bdb
    • unknown's avatar
      postmerge fixes · 2b7ec6c2
      unknown authored
      
      mysql-test/r/metadata.result:
        postmerge change
      sql/item.cc:
        work around about varchar in 4.1
      2b7ec6c2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 70e36909
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      70e36909
    • unknown's avatar
      merge · ec906741
      unknown authored
      
      sql/sql_parse.cc:
        Auto merged
      ec906741
    • unknown's avatar
      Fix 'Bootstrap' to bypass a problem with "bk changes" by changing the... · 220ea339
      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.
      220ea339
    • unknown's avatar
      Portability fix (avoid bash-ism). · 8dc1d5bd
      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.
      8dc1d5bd
    • unknown's avatar
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · aa8ca155
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1-synced
      
      aa8ca155
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug8807 · 7dfce139
      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
      7dfce139
    • unknown's avatar
      Fix for BUG#9213: GROUP BY returns wrong query results: · 6a11e33d
      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
      6a11e33d
    • unknown's avatar
      BUG#8807 Select crash server · c672d355
      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
      c672d355
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 12eb36ac
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-4.1
      
      12eb36ac
    • unknown's avatar
      A fix (bug #9401: type_timestamp segfaults mysqld) · d5d96696
      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().
      d5d96696
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 987779fe
      unknown authored
      into mysql.com:/usr/home/bar/mysql-4.1
      
      987779fe
    • unknown's avatar
      Remove .opt file for faster test running. · 5d7b7cf3
      unknown authored
      
      BitKeeper/deleted/.del-ctype_cp1251-master.opt~68be9a59ec8ee106:
        Delete: mysql-test/t/ctype_cp1251-master.opt
      5d7b7cf3
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 076f771c
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      076f771c
    • unknown's avatar
      merged · db777f9c
      unknown authored
      db777f9c
    • unknown's avatar
      don't strcmp db if it's a pattern · 5bbfa890
      unknown authored
      5bbfa890
    • unknown's avatar
      Merge · 39761fa1
      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
      39761fa1
    • unknown's avatar
      postreview changes · 8df528c0
      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
      8df528c0
    • unknown's avatar
      Merge · c2ad7a35
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Build-tools/Do-compile:
        Merge from 4.0
      c2ad7a35
    • unknown's avatar
      Do-compile: · 2fb316dc
      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
      2fb316dc
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5125d7d6
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
      
      5125d7d6
    • unknown's avatar
      Do-compile: · 5c5b5001
      unknown authored
        Added option --with-blackhole
      
      
      Build-tools/Do-compile:
        Added option --with-blackhole
      5c5b5001
  5. 29 Mar, 2005 1 commit