1. 20 Nov, 2005 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 64a81f01
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.1-new
      
      
      64a81f01
    • unknown's avatar
      ndb - bug#14007 5.1 (merge 5.0->5.1) · defa8e84
      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)
      defa8e84
  2. 19 Nov, 2005 5 commits
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-5.0-8568 · ca035724
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.1-new
      
      
      ca035724
    • unknown's avatar
      A fix for Bug#14845 "mysql_stmt_fetch returns MYSQL_NO_DATA when · 4ca413e9
      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.
      4ca413e9
    • unknown's avatar
      Fix after merge of 5.0 into 5.1. Failed tests before merge: bdb-deadlock, ndb_cache2, ndb_multi2, · a93a2a90
      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).
      a93a2a90
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 51972f1a
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.1-merge-of-5.0
      
      
      51972f1a
    • unknown's avatar
      Merge mysql.com:/home/mysql_src/mysql-5.0-van · 38069031
      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
      38069031
  3. 18 Nov, 2005 12 commits
    • unknown's avatar
      Bug#13510 "Setting password local variable changes current · 6ba79a25
      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.
      6ba79a25
    • unknown's avatar
      A test case for Bug#8568 "GROUP_CONCAT returns string, unless in · a11caf1e
      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
      a11caf1e
    • unknown's avatar
      fix after merge of 5.0 into 5.1 · a06f394e
      unknown authored
      
      sql/share/errmsg.txt:
        fix after merge
      sql/sql_show.cc:
        fix after merge
      a06f394e
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 43262f34
      unknown authored
      into moonbone.local:/work/13622-bug-5.0-mysql
      
      
      43262f34
    • unknown's avatar
      Merge mysql.com:/home/mysql_src/mysql-5.0 · 41de6f9a
      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
      41de6f9a
    • unknown's avatar
      A test case for Bug#14845 "mysql_stmt_fetch returns MYSQL_NO_DATA · fe94b6bf
      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
      fe94b6bf
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 18ca0d63
      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
      18ca0d63
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 27b4c2a5
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      27b4c2a5
    • unknown's avatar
      More authors. · 7a976f73
      unknown authored
      
      mysql-test/r/show_check.result:
        Test fix results.
      7a976f73
    • unknown's avatar
      WL#2486 - natural/using joins according to SQL:2003. · 28396247
      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.
      28396247
    • unknown's avatar
      Fix mix_innodb_myisam_binlog test and results after merge · 39ceae40
      unknown authored
      
      mysql-test/r/mix_innodb_myisam_binlog.result:
        update results
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Update binlog test
      39ceae40
    • unknown's avatar
      Updated authors.h file (and show_check.result file) to include QA team members · f37c218d
      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
      f37c218d
  4. 17 Nov, 2005 20 commits
    • unknown's avatar
      ndb - wl#1497 LinearPool seize_index · 5db59889
      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
      5db59889
    • unknown's avatar
      Manually merged · d29438f2
      unknown authored
      
      sql/sql_view.cc:
        Auto merged
      d29438f2
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 016fe413
      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
      016fe413
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-14801 · 421dadf7
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      421dadf7
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-12640 · 58196d39
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      configure.in:
        Auto merged
      58196d39
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-11796 · ab816dca
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      ab816dca
    • unknown's avatar
      Post-review fixes (Bug#13524). · 57ad6b20
      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.
      57ad6b20
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 5afe878c
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-13524
      
      
      5afe878c
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 081cc155
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.1
      
      
      081cc155
    • unknown's avatar
      Fix for BUG#15018 "valgrind error in Rpl_filter (uninitalized memory - could crash)". · 48e7d1e2
      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)
      48e7d1e2
    • unknown's avatar
      set_var.cc, mysqld.cc, ha_innodb.h: · 30df60fa
      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.
      30df60fa
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 87c7a741
      unknown authored
      into lmy004.:/work/mysql-5.1-bdb_region
      
      
      sql/mysqld.cc:
        Auto merged
      87c7a741
    • unknown's avatar
      reorder the variables - should be in alphabetical order · f3f4a51f
      unknown authored
      
      sql/mysqld.cc:
        reorder
      sql/set_var.cc:
        reorder
      f3f4a51f
    • unknown's avatar
      A fix and a test case for Bug#13524 "lock timeout gives · 5b8a9654
      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"
      5b8a9654
    • unknown's avatar
      Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3fd5759a
      unknown authored
      into production.mysql.com:/usersnfs/istruewing/autopush/mysql-4.1
      
      
      3fd5759a
    • unknown's avatar
      Merge spachev@bk-internal.mysql.com:/home/bk/mysql-4.1 · d88df3a3
      unknown authored
      into  asksasha.com:/reiser-data/mysql-dev/mysql-4.1-bug7947
      
      
      d88df3a3
    • unknown's avatar
      4d93df79
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 47044ea6
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg13399-2
      
      
      47044ea6
    • unknown's avatar
      Fix for bug #13399 Crash when executing PS/SP which should activate trigger · d518f702
      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.
      d518f702
    • unknown's avatar
      A fix and a test case for Bug#14077 "Failure to replicate a stored · b6707610
      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.
      b6707610
  5. 16 Nov, 2005 1 commit