1. 01 Dec, 2005 1 commit
    • unknown's avatar
      Fix bug#15028 Multitable update returns different numbers of matched rows · 136c8173
      unknown authored
      depending on table order
      
      multi_update::send_data() was counting updates, not updated rows. Thus if one 
      record have several updates it will be counted several times in 'rows matched'
      but updated only once.
      
      multi_update::send_data() now counts only unique rows.
      
      
      sql/sql_update.cc:
        Fix bug#15028  Multitable update returns different numbers of matched rows
        depending on table order
        multi_update::send_data() now counts only unique rows.
      mysql-test/t/update.test:
        Test case for bug#15028 Multitable update returns different numbers of matched rows depending on table order
      mysql-test/r/update.result:
        Test case for bug#15028 Multitable update returns different numbers of matched rows depending on table order
      136c8173
  2. 25 Nov, 2005 3 commits
    • unknown's avatar
      A fix and a test case for Bug#14410 "Crash in Enum or Set type in · 2a1ae3a5
      unknown authored
      CREATE TABLE and PS/SP": make sure that 'typelib' object for
      ENUM values and 'Item_string' object for DEFAULT clause are 
      created in the statement memory root.
      
      
      mysql-test/r/ps.result:
        Test results has been fixed (Bug#14410)
      mysql-test/t/ps.test:
        A test case for Bug#14410 "Crash in Enum or Set type in CREATE 
        TABLE and PS/SP"
      sql/mysql_priv.h:
        typelib() function declaration has been changed.
      sql/sql_table.cc:
        Supply the statement memory root to use in typelib() and
        safe_charset_converter() functions to ensure that objects 
        created during the first execution of CREATE TABLE statement
        are allocated in persistent memory of the statement.
      sql/table.cc:
        Change typelib() function to require MEM_ROOT.
      2a1ae3a5
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6fb8a4e9
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      
      6fb8a4e9
    • unknown's avatar
      Updated expected error · e1af5e5d
      unknown authored
      e1af5e5d
  3. 24 Nov, 2005 4 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 44662d2c
      unknown authored
      into moonbone.local:/work/14482-bug-4.1-mysql
      
      
      44662d2c
    • unknown's avatar
      Fix bug #14482 Wrongly applied optimization in resolve_const_item() caused · 3190b21f
      unknown authored
      crash
      
      resolve_const_item() substitutes item which will evaluate to constant with
      equvalent constant item, basing on the item's result type. In this case
      subselect was resolved as constant, and resolve_const_item() was substituting
      it's result's Item_caches to Item_null. Later Item_cache's function was called
      for Item_null object, which caused server crash.
      
      resolve_const_item() now substitutes constants for items with 
      result_type == ROW_RESULT only for Item_rows.
      
      
      sql/item.cc:
        Fix bug #14482 Wrongly applied optimization in resolve_const_item() caused
        crash
        
        resolve_const_item() now applies optimization for items with
        result_type == ROW_RESULT only to Item_rows.
      mysql-test/t/select.test:
        Test case for bug #14482 Wrongly applied optimization in resolve_const_item() caused crash
      mysql-test/r/select.result:
        Test case for bug #14482 Wrongly applied optimization in resolve_const_item() caused crash
      3190b21f
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · c3423d0d
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      c3423d0d
    • unknown's avatar
      Moved check of wrong schema version earlier · 102c0281
      unknown authored
      102c0281
  4. 23 Nov, 2005 1 commit
  5. 22 Nov, 2005 1 commit
    • unknown's avatar
      support-files/mysql.spec.sh · 6a6caf56
      unknown authored
      Fix a possible problem on RPM un-install. bug#15145
      
      
      support-files/mysql.spec.sh:
        Extend the file existence check for "init.d/mysql" on un-install
        to also guard the call to "insserv"/"chkconfig".
        bug#15145, br#5369 / 5586, csc#7129
      6a6caf56
  6. 21 Nov, 2005 5 commits
  7. 19 Nov, 2005 2 commits
  8. 18 Nov, 2005 2 commits
  9. 17 Nov, 2005 7 commits
  10. 16 Nov, 2005 5 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 771478f2
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      
      771478f2
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2432bc8f
      unknown authored
      into  mysql.com:/export/space/pekka/ndb/version/my41-r1.2456.1.1
      
      
      2432bc8f
    • unknown's avatar
      ndb - bug#14007 4.1 [re-commit for LenZ merge] · 563e5c8d
      unknown authored
      
      mysql-test/r/ndb_charset.result:
        bug#14007 test [re-commit]
      mysql-test/t/ndb_charset.test:
        bug#14007 test [re-commit]
      ndb/include/kernel/AttributeDescriptor.hpp:
        bug#14007 4.1 need getSizeInBytes [re-commit]
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        bug#14007 4.1 *** do not AUTOmerge to 5.0 *** [re-commit]
      563e5c8d
    • unknown's avatar
      WL#2779 ndb_size.pl · 74ae82f5
      unknown authored
      Add display of minimum requirements for various cluster parameters
      e.g. DataMemory, IndexMemory, MaxNoOfTables, MaxNoOfAttributes etc
      
      and the memory usage because of them.
      
      
      ndb/tools/ndb_size.pl:
        Computer minimum parameter settings (MaxNoOfTables, Attributes, Indexes, Triggers) and the memory usage because of these settings.
      ndb/tools/ndb_size.tmpl:
        display parameters
      74ae82f5
    • unknown's avatar
      WL#2779 ndb_size.pl · 517967de
      unknown authored
      fix some small bugs, slightly improve output, add --help
      
      
      ndb/tools/ndb_size.pl:
        Provide --help and --usage.
        
        Fix some bugs related to quoting table names.
      ndb/tools/ndb_size.tmpl:
        A NAME and A HREF to tables from the main list
      517967de
  11. 15 Nov, 2005 7 commits
  12. 12 Nov, 2005 1 commit
  13. 11 Nov, 2005 1 commit