1. 04 Mar, 2008 1 commit
    • unknown's avatar
      Bug#23097 mysql can't insert korean on mysql prompt. · 8e4a3fcb
      unknown authored
      Problem: libedit is a very pure-ASCII oriented library,
      and it is not aware of extended (0x80..0xFF) or even multi-byte
      characters. It considered such characters as non-printable
      and didn't allow to input them.
      Fix: make libedit think that all bytes >= 0x80 are printable.
      
      
      cmd-line-utils/libedit/el.h:
        Defining macro, a locale's isprint() replacement.
        We'll consider all 8bit values as printable characters.
      cmd-line-utils/libedit/key.c:
        Changing isprint() to el_isprint().
      cmd-line-utils/libedit/map.c:
        Changing isprint() to el_isprint().
      cmd-line-utils/libedit/read.c:
        Changing isprint() to el_isprint().
      cmd-line-utils/libedit/refresh.c:
        Changing isprint() to el_isprint().
      8e4a3fcb
  2. 24 Feb, 2008 1 commit
  3. 21 Feb, 2008 1 commit
  4. 19 Feb, 2008 1 commit
    • unknown's avatar
      BUG#34289 - Incorrect NAME_CONST substitution in stored procedures · f802cd51
      unknown authored
                  breaks replication
      
      NAME_CONST() didn't replicate constant character set and collation
      correctly.
      
      With this fix NAME_CONST() inherits collation from the value argument.
      
      
      mysql-test/r/func_misc.result:
        A test case for BUG#34289.
      mysql-test/t/func_misc.test:
        A test case for BUG#34289.
      sql/item.cc:
        Inherit collation from value argument.
      f802cd51
  5. 15 Feb, 2008 2 commits
  6. 14 Feb, 2008 4 commits
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-ateam · 4f3a1e08
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      
      4f3a1e08
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-amain · 2ffb1e27
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      
      2ffb1e27
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-ateam · a433e48e
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      
      a433e48e
    • unknown's avatar
      BUG#33946 - Join on Federated tables with Unique index gives error 1430 · 55f6727b
      unknown authored
                  from storage engine
      
      Federated may crash a server, return wrong result set, return
      "ERROR 1030 (HY000): Got error 1430 from storage engine" message
      when local (engine=federated) table has a key against nullable
      column.
      
      The problem was wrong implementation of function that creates
      WHERE clause for remote query from key.
      
      
      mysql-test/r/federated.result:
        A test case for BUG#33946.
      mysql-test/t/federated.test:
        A test case for BUG#33946.
      sql/ha_federated.cc:
        Fixed that federated adds " IS NULL " condition to a remote query,
        whereas "IS NOT NULL" requested by original query.
        
        Fixed that federated didn't check for end of key buffer, didn't
        setup key buffer pointer and remaining lenght of key buffer,
        didn't add " AND " between conditions in case original query
        has IS [NOT] NULL condition against nullable column.
        
        Fixed that federated wrongly shifts key buffer pointer by extra
        one byte when key part may be null (was: store_length + 1,
        now: store_length).
      55f6727b
  7. 12 Feb, 2008 2 commits
    • unknown's avatar
      Fix for bug #33758: Got query result when using ORDER BY ASC, but · 863b86db
      unknown authored
      empty result when using DESC
      
      Problem: fetching MyISAM keys we copy a key block pointer to the end of the key buffer.
      However, we don't take into account the pointer length calculatig the buffer size,
      that may leads to memory overwriting and in turn to unpredictable results.
      
      Fix: increase key buffer size by length of the key block pointer.
      
      Note: no simple test case.
      
      
      myisam/mi_open.c:
        Fix for bug #33758: Got query result when using ORDER BY ASC, but 
        empty result when using DESC
          - increase possible maximum key length by size of the key block pointer,
            as it's copied into the key buffer in the get_key() MyISAM functions.
      863b86db
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-rpl-merge · 2fa3d828
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
      
      
      2fa3d828
  8. 11 Feb, 2008 4 commits
  9. 08 Feb, 2008 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 65c7d300
      unknown authored
      into  dipika.(none):/opt/local/work/mysql-5.0-runtime
      
      
      65c7d300
    • unknown's avatar
      Bug#33798 prepared statements improperly handle large unsigned ints · 7d98c21c
      unknown authored
      The unsignedness of large integer user variables was not being
      properly preserved when feeded to prepared statements. This was
      happening because the unsigned flags wasn't being updated when
      converting the user variable is converted to a parameter.
      
      The solution is to copy the unsigned flag when converting the
      user variable to a parameter and take the unsigned flag into
      account when converting the integer to a string.
      
      
      mysql-test/r/binlog.result:
        Add test case result for Bug#33798
      mysql-test/r/ps.result:
        Add test case result for Bug#33798
      mysql-test/t/binlog.test:
        Add test case for Bug#33798
      mysql-test/t/ps.test:
        Add test case for Bug#33798
      sql/item.cc:
        Take the unsigned flag into account when converting the
        user variable.
      7d98c21c
  10. 07 Feb, 2008 2 commits
  11. 06 Feb, 2008 4 commits
  12. 05 Feb, 2008 1 commit
    • unknown's avatar
      Bug #34305 show slave status handling segfaults when slave io is about · 3b6a71a4
      unknown authored
          to leave
      
      The artifact was caused by
      a flaw in concurrent accessing the slave's io thd by
      the io itself and a handling show slave status thread.
      Namely, show_master_info did not acquire mi->run_lock mutex that is
      specified for mi->io_thd member.
      
      Fixed with deploying the mutex locking and unlocking. The mutex is kept
      short time and without interleaving with mi->data_lock mutex.
      
      Todo: to report and fix an issue with 
          sys_var_slave_skip_counter::{methods} 
      seem to acquire incorrectly
           active_mi->rli.run_lock
      instead of the specified
           active_mi->rli.data_lock
      
      A test case is difficult to compose, so rpl_packet should continue serving
      as the indicator.
      
      
      sql/slave.cc:
        implementing a TODO left at 4.1 time:
        mending access to mi->io_thd with the specified mutex;
      sql/slave.h:
        adding a member name to the list of that run_lock guards.
      3b6a71a4
  13. 04 Feb, 2008 4 commits
    • unknown's avatar
      ndb - some warnings, debug errors · b8c52ae3
      unknown authored
      
      ndb/src/common/debugger/SignalLoggerManager.cpp:
        some warnings, debug errors
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        some warnings, debug errors
      ndb/src/kernel/vm/pc.hpp:
        some warnings, debug errors
      b8c52ae3
    • unknown's avatar
      Updating result file. · 74bd1b0f
      unknown authored
      
      mysql-test/r/rpl_user.result:
        Result change.
      74bd1b0f
    • unknown's avatar
      Fixes to make rpl_user test pass in pushbuild. · 86260ead
      unknown authored
      
      mysql-test/t/rpl_user.test:
        Removing redundant reset master and deleting users from master
        and slave without using binary log.
      86260ead
    • unknown's avatar
      bug#34169 - fix pthread_t abuse · 73c8328f
      unknown authored
      
      ndb/src/ndbapi/Ndb.cpp:
        fix pthread_t abuse
      ndb/test/ndbapi/testOIBasic.cpp:
        fix pthread_t abuse
      73c8328f
  14. 01 Feb, 2008 6 commits
  15. 31 Jan, 2008 5 commits
    • unknown's avatar
      ndb - bug#34107 - ndb api test case · 2e25626d
      unknown authored
      
      ndb/test/ndbapi/testInterpreter.cpp:
        bug#34107 testInterpreter test case
      ndb/test/run-test/daily-basic-tests.txt:
        bug#34107 testInterpreter test case
      2e25626d
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0 · dc8e43ed
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge
      
      
      include/my_sys.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      dc8e43ed
    • unknown's avatar
      BUG#22989 - START SLAVE causes Error on COM_REGISTER_SLAVE: 1105 · 5177c97e
      unknown authored
                  'Wrong parameters to functi
      
      START SLAVE reports vague error when it fails to register on master:
      "Wrong parameters to function register_slave".
      
      If master failed to register slave because of too long
      'report-host'/'report-user'/'report-password', return better error
      messages:
      "Failed to register slave: too long 'report-host'"
      "Failed to register slave: too long 'report-user'"
      "Failed to register slave; too long 'report-password'"
      
      No test case for this fix.
      
      
      sql/repl_failsafe.cc:
        Report descriptive error when master fails to register slave.
      5177c97e
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb · 69c733fd
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107
      
      
      69c733fd
    • unknown's avatar
      ndb - bug#34107 patch 2, ndb api · cd8a8a1c
      unknown authored
      
      mysql-test/r/ndb_condition_pushdown.result:
        bug#34107 lower scanfilter max size to not hit TUP limit
      mysql-test/t/ndb_condition_pushdown.test:
        bug#34107 lower scanfilter max size to not hit TUP limit
      ndb/include/ndbapi/ndbapi_limits.h:
        bug#34107 lower scanfilter max size to not hit TUP limit
      cd8a8a1c