1. 20 Nov, 2005 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · cb118ec8
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.1-new
      
      cb118ec8
    • unknown's avatar
      ndb - bug#14007 5.1 (merge 5.0->5.1) · a10c6df2
      unknown authored
      
      mysql-test/r/ndb_charset.result:
        bug#14007 5.1 (merge 5.0->5.1)
      mysql-test/t/ndb_charset.test:
        bug#14007 5.1 (merge 5.0->5.1)
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        bug#14007 5.1 (merge 5.0->5.1)
      storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
        bug#14007 5.1 (merge 5.0->5.1)
      a10c6df2
  2. 19 Nov, 2005 5 commits
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-5.0-8568 · 39dd1326
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.1-new
      
      39dd1326
    • unknown's avatar
      A fix for Bug#14845 "mysql_stmt_fetch returns MYSQL_NO_DATA when · db869810
      unknown authored
      COUNT(*) is 0" (the test case has been pushed already)
      
      
      sql/sql_cursor.cc:
        Fix a return of an unitialized variable: return_zero_rows
        checks the return value of send_fields and in case it's 1
        doesn't call send_data. This caused creation of an empty result 
        set for the case when there is a cursor against a select with a 
        group function and no matching rows.
      db869810
    • unknown's avatar
      Fix after merge of 5.0 into 5.1. Failed tests before merge: bdb-deadlock, ndb_cache2, ndb_multi2, · f74efa0e
      unknown authored
      ps_6bdb (this one fails circa once over 4 runs). After the merge: the same PLUS mysql_client_test&sp (due to problem in fix of BUG#14845 which has also
      been noticed in 5.0 too and Konstantin is looking at it) PLUS mysqlcheck (just consequence of mysql_client_test).
      And a replication bugfix (thd->spcont must be taken into account when calling tables_ok(), as in 5.0,
      and so some brackets were missing which changed one test).
      Pekka will look at the NDB code where I just used "ul": ndb_charset test, and storage/ndb/src/kernel/vm/SimulatedBlock.cpp
      and storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp (SimulatedBlock.hpp automerged);
      please also check storage/ndb/src/ndbapi/NdbRecAttr.cpp. Petr please check ha_tina.cc.
      
      
      mysql-test/r/ndb_charset.result:
        "ul" in merge (Pekka please fix)
      mysql-test/t/ndb_charset.test:
        "ul" in merge (Pekka please fix)
      sql/sql_acl.cc:
        missing ()
      sql/sql_parse.cc:
        If thd->spcont is true, always replicate (as in 5.0) (bad old merge probably).
      f74efa0e
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · d6c63ed8
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.1-merge-of-5.0
      
      d6c63ed8
    • unknown's avatar
      Merge mysql.com:/home/mysql_src/mysql-5.0-van · 0dae3ba7
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.1-merge-of-5.0
      (2nd try; Pekka kindly accepted to fix storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
      and storage/ndb/src/kernel/vm/SimulatedBlock.cpp after I push).
      
      
      configure.in:
        Auto merged
      mysql-test/r/ndb_charset.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      mysys/base64.c:
        Auto merged
      sql/ha_archive.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      storage/myisam/ft_parser.c:
        Auto merged
      storage/ndb/include/kernel/AttributeDescriptor.hpp:
        Auto merged
      storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
        Auto merged
      storage/ndb/tools/ndb_size.pl:
        Auto merged
      storage/ndb/tools/ndb_size.tmpl:
        Auto merged
      mysql-test/t/disabled.def:
        merge
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        used "ul", Pekka said he'll fix
      storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
        used "ul", Pekka said he'll fix
      0dae3ba7
  3. 18 Nov, 2005 12 commits
    • unknown's avatar
      Bug#13510 "Setting password local variable changes current · 826dbaec
      unknown authored
      password": additional fix, also make sure that a syntax error is 
      returned for set names="foo" when there is no such variable or no
      stored procedure.
      
      
      mysql-test/r/sp-error.result:
        Test results fixed: a new test for Bug#13510
      mysql-test/t/sp-error.test:
        A new test for Bug#13510 (set names out of an SP)
      sql/sql_yacc.yy:
        Bug#13510: fix the case when there is no stored procedure or
        no 'names' variable declared. Return a syntax error in this case.
      826dbaec
    • unknown's avatar
      A test case for Bug#8568 "GROUP_CONCAT returns string, unless in · 13c1d2cb
      unknown authored
      a UNION in which case returns BLOB". The bug is not present anymore.
      
      
      mysql-test/r/func_gconcat.result:
        Bug#8568: test results
      mysql-test/t/func_gconcat.test:
        Add a test case for Bug#8568
      13c1d2cb
    • unknown's avatar
      fix after merge of 5.0 into 5.1 · f2c8ea99
      unknown authored
      
      sql/share/errmsg.txt:
        fix after merge
      sql/sql_show.cc:
        fix after merge
      f2c8ea99
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · fe910996
      unknown authored
      into moonbone.local:/work/13622-bug-5.0-mysql
      
      fe910996
    • unknown's avatar
      Merge mysql.com:/home/mysql_src/mysql-5.0 · 50da3353
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.1-merge-of-5.0 (not all files are good,
      I'll fix; I'll ask some devs to check their part)
      
      
      BitKeeper/etc/ignore:
        auto-union
      include/my_global.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      storage/myisam/mi_key.c:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbImpl.hpp:
        Auto merged
      storage/ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      configure.in:
        merge
      mysql-test/r/ps_1general.result:
        merge ("ul", will fix)
      sql/examples/ha_tina.cc:
        merge
      sql/ha_innodb.cc:
        merge
      sql/handler.h:
        merge
      sql/log.cc:
        merge
      sql/set_var.cc:
        merge
      sql/share/errmsg.txt:
        merge (bad, will fix)
      sql/sql_show.cc:
        merge (bad, will fix)
      sql/sql_yacc.yy:
        merge
      storage/ndb/src/ndbapi/NdbRecAttr.cpp:
        merge
      50da3353
    • unknown's avatar
      A test case for Bug#14845 "mysql_stmt_fetch returns MYSQL_NO_DATA · 8fdecfd2
      unknown authored
      when COUNT(*) is 0". The bug itself cannot be repeated.
      
      
      mysql-test/r/sp.result:
        Test results were fixed (Bug#14845)
      mysql-test/t/sp.test:
        An SQL language test case for Bug#14845
      tests/mysql_client_test.c:
        A test case for Bug#14845
      8fdecfd2
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6b6c45ae
      unknown authored
      into moonbone.local:/work/13622-bug-5.0-mysql
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      6b6c45ae
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 765e69c8
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      765e69c8
    • unknown's avatar
      More authors. · f7c0e2d4
      unknown authored
      
      mysql-test/r/show_check.result:
        Test fix results.
      f7c0e2d4
    • unknown's avatar
      WL#2486 - natural/using joins according to SQL:2003. · 5274b0d9
      unknown authored
      Enabled view tests that didn't work before.
      
      
      mysql-test/r/view.result:
        Enabled natural outer join tests with views - now they work after WL#2486 was pushed.
      mysql-test/t/view.test:
        Enabled natural outer join tests with views - now they work after WL#2486 was pushed.
      5274b0d9
    • unknown's avatar
      Fix mix_innodb_myisam_binlog test and results after merge · 40535ca5
      unknown authored
      
      mysql-test/r/mix_innodb_myisam_binlog.result:
        update results
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Update binlog test
      40535ca5
    • unknown's avatar
      Updated authors.h file (and show_check.result file) to include QA team members · 032aa2c6
      unknown authored
      Note: This change was reviewed by Brian before the commit.
      
      
      mysql-test/r/show_check.result:
        Updated result file
      sql/authors.h:
        Added QA team to the file
      032aa2c6
  4. 17 Nov, 2005 20 commits
    • unknown's avatar
      ndb - wl#1497 LinearPool seize_index · d04e4599
      unknown authored
      
      storage/ndb/src/kernel/vm/LinearPool.hpp:
        wl#1497 LinearPool seize_index
      storage/ndb/src/kernel/vm/testSuperPool.cpp:
        wl#1497 LinearPool seize_index
      d04e4599
    • unknown's avatar
      Manually merged · b59e414f
      unknown authored
      
      sql/sql_view.cc:
        Auto merged
      b59e414f
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 13bf255b
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      client/mysql.cc:
        Auto merged
      configure.in:
        Auto merged
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Auto merged
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Resolve conflict
      sql/item_func.cc:
        Resolve conflict
      sql/sql_show.cc:
        Resolve conflicts
      13bf255b
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-14801 · 4053745a
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      4053745a
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-12640 · bab4f6d8
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      configure.in:
        Auto merged
      bab4f6d8
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-11796 · e9978246
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      e9978246
    • unknown's avatar
      Post-review fixes (Bug#13524). · 9be9fe76
      unknown authored
      
      sql/sql_prepare.cc:
        Post-review fixes (Bug#13524): make sure 
        mysql_reset_thd_for_next_command is called first for
        all PS commands.
      9be9fe76
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · de9065a3
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-13524
      
      de9065a3
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b2b1ec99
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.1
      
      b2b1ec99
    • unknown's avatar
      Fix for BUG#15018 "valgrind error in Rpl_filter (uninitalized memory - could crash)". · f2a7c0d3
      unknown authored
      The code was reading a HASH or DYNAMIC_ARRAY which may be uninited (difference from 5.0
      is that those vars were always zeroed in 5.0 because were static globals, while they are new'd in 5.1).
      
      
      sql/rpl_filter.cc:
        the hash or dynamic_array may not be inited, depends on a bool (e.g. if wild_do_table_inited==0
        wild_do_table is uninitialized memory); the code was not taking the bool into account and so reading uninited memory.
      sql/rpl_filter.h:
        comments and prototype change (see rpl_filter.cc)
      f2a7c0d3
    • unknown's avatar
      set_var.cc, mysqld.cc, ha_innodb.h: · 34658129
      unknown authored
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool.
      ha_innodb.cc:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool
      
      
      sql/ha_innodb.cc:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool
      sql/ha_innodb.h:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool.
      sql/mysqld.cc:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool.
      sql/set_var.cc:
        BUG#12701: SHOW VARIABLES does not show correct size of buffer pool.
      34658129
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 0f96366c
      unknown authored
      into lmy004.:/work/mysql-5.1-bdb_region
      
      
      sql/mysqld.cc:
        Auto merged
      0f96366c
    • unknown's avatar
      reorder the variables - should be in alphabetical order · e6763327
      unknown authored
      
      sql/mysqld.cc:
        reorder
      sql/set_var.cc:
        reorder
      e6763327
    • unknown's avatar
      A fix and a test case for Bug#13524 "lock timeout gives · 18aea761
      unknown authored
      incorrect warning on open cursor"
      
      
      sql/sql_prepare.cc:
        A fix for Bug#13524 "lock timeout gives incorrect 
        warning on open cursor": reset the connection for next
        command before performing a cursor fetch (add an omitted line).
      tests/mysql_client_test.c:
        A test case for Bug#13524 "lock timeout gives incorrect 
        warning on open cursor"
      18aea761
    • unknown's avatar
      Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-4.1 · a88d95aa
      unknown authored
      into production.mysql.com:/usersnfs/istruewing/autopush/mysql-4.1
      
      a88d95aa
    • unknown's avatar
      Merge spachev@bk-internal.mysql.com:/home/bk/mysql-4.1 · ff7af1cc
      unknown authored
      into  asksasha.com:/reiser-data/mysql-dev/mysql-4.1-bug7947
      
      ff7af1cc
    • unknown's avatar
      95b04d20
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b0bbb683
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg13399-2
      
      b0bbb683
    • unknown's avatar
      Fix for bug #13399 Crash when executing PS/SP which should activate trigger · e5c9ca83
      unknown authored
      which is now dropped" and bug #12329 "Bogus error msg when executing PS with
      stored procedure after SP was re-created".
      
      
      mysql-test/r/sp-error.result:
        Added test for bug #12329 "Bogus error msg when executing PS with stored
        procedure after SP was re-created".
      mysql-test/r/trigger.result:
        Added test for bug #13399 Crash when executing PS/SP which should activate
        trigger which is now dropped".
      mysql-test/t/sp-error.test:
        Added test for bug #12329 "Bogus error msg when executing PS with stored
        procedure after SP was re-created".
      mysql-test/t/trigger.test:
        Added test for bug #13399 Crash when executing PS/SP which should activate
        trigger which is now dropped".
      sql/sp_head.cc:
        sp_head::add_used_tables_to_table_list():
          We have to copy database/table names and alias to PS/SP memory since current
          instance of sp_head object can pass away before next execution of PS/SP for
          which tables are added to prelocking list.
          This will be fixed by introducing of proper invalidation mechanism once new
          TDC is ready.
      e5c9ca83
    • unknown's avatar
      A fix and a test case for Bug#14077 "Failure to replicate a stored · 9ffdcc88
      unknown authored
      function with a cursor". Enable execution of SELECT queries in SP on slave.
      
      
      mysql-test/r/rpl_sp.result:
        Test results were fixed (Bug#14077).
      mysql-test/t/rpl_sp.test:
        Add a test case for Bug#14077 "Failure to replicate a stored 
        function with a cursor".
      sql/sql_parse.cc:
        Do not rewrite SELECTs with DOs on slave: if this SELECT was for a stored
        routine cursor, slave must be able to execute the SELECT in order to
        open a cursor.
        At the moment the bug is present only in stored functions and stored
        procedures called from stored functions, because, due to
        stored procedure unfolding for replication, top level stored procedures
        are never executed on slave.
      9ffdcc88
  5. 16 Nov, 2005 1 commit