An error occurred fetching the project authors.
  1. 08 Feb, 2008 1 commit
    • unknown's avatar
      Bug#33798 prepared statements improperly handle large unsigned ints · cea021da
      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.
      cea021da
  2. 09 Jul, 2007 1 commit
    • unknown's avatar
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB · b69b9f83
      unknown authored
      dollin' it up for Guilhem ;) -- test streamlined,
      better comments, faster code, add'l assert.
      
      
      mysql-test/r/binlog.result:
        Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        streamlined test
      mysql-test/t/binlog.test:
        Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        streamlined test
      sql/log.cc:
        Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        comment clarified
      b69b9f83
  3. 02 Jul, 2007 1 commit
    • unknown's avatar
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB · df2e00c8
      unknown authored
      minor fixes to appease pushbuild.
      
      
      mysql-test/r/binlog.result:
        Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        make test portable so it will work on servers with
        funny names.
      mysql-test/t/binlog.test:
        Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        make test portable so it will work on servers with
        funny names.
      sql/log.cc:
        Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        change type to uchar * so it's the same as in 5.1.
      df2e00c8
  4. 30 Jun, 2007 1 commit
    • unknown's avatar
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB · 262278dc
      unknown authored
      previous correction didn't. make sure "tail" is fixed up
      when filling cache several times; rework formulae.
      
      
      mysql-test/r/binlog.result:
        Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        show that fix for absolute end_log_pos in binlog also
        works when cache is read several times and headers are
        split across that boundary
      mysql-test/t/binlog.test:
        Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        show that fix for absolute end_log_pos in binlog also
        works when cache is read several times and headers are
        split across that boundary
      262278dc
  5. 25 Jun, 2007 1 commit
    • unknown's avatar
      Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB · b3b0fb2c
      unknown authored
      fix binlog-writing so that end_log_pos is given correctly even
      within transactions for both SHOW BINLOG and SHOW MASTER STATUS,
      that is as absolute values (from log start) rather than relative
      values (from transaction's start).
      ---
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
      into  sin.intern.azundris.com:/home/tnurnberg/22540/50-22540
      
      
      mysql-test/r/binlog.result:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
        show that SHOW MASTER STATUS returns correct values while in transactions
        (so that mysqldump --master-data will work correctly).
        also remove bdb dependency.
        ---
        manual merge
      mysql-test/t/binlog.test:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
        show that SHOW MASTER STATUS returns correct values while in transactions
        (so that mysqldump --master-data will work correctly).
        also remove bdb dependency.
      sql/log.cc:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        fix output for SHOW BINLOG EVENTS so that end_log_pos is given correctly
        even within transactions. do this by rewriting the commit-buffer in place.
      b3b0fb2c
  6. 15 Jun, 2007 1 commit
    • unknown's avatar
      binlog.result, binlog.test: · af8e6caa
      unknown authored
        Post-merge fix: replace xid=* with XID to isolate from number of transactions
      
      
      mysql-test/r/binlog.result:
        Post-merge fix: replace xid=* with XID to isolate from number of transactions
      mysql-test/t/binlog.test:
        Post-merge fix: replace xid=* with XID to isolate from number of transactions
      af8e6caa
  7. 08 Jun, 2007 1 commit
    • unknown's avatar
      Bug#28369 rpl test cases fail with binlog disabled · ea0dbb4d
      unknown authored
      mysql-test/lib/mtr_cases.pl:
        Don't turn off binlog in versions prior to 5.0
      mysql-test/r/binlog.result:
        Update result after adding "one more select"
      mysql-test/t/binlog.test:
        Update result after adding "one more select"
      ea0dbb4d
  8. 31 May, 2007 1 commit
    • unknown's avatar
      fix test case · 1f164726
      unknown authored
      mysql-test/r/binlog.result:
        transaction ids increased by one due to have_log_bin.inc
      mysql-test/t/binlog.test:
        transaction ids for ps-protocol increased by one due to have_log_bin.inc
      1f164726
  9. 24 Feb, 2006 1 commit
    • unknown's avatar
      Fixes to embedded server to be able to run tests with it · 988f0be6
      unknown authored
      (Needed for "list of pushes" web page and autopush)
      
      
      include/mysql.h:
        Fix to embedded server to be able to run tests on it
      libmysql/libmysql.c:
        Fix to embedded server to be able to run tests on it
      libmysqld/emb_qcache.cc:
        Fix to embedded server to be able to run tests on it
      libmysqld/embedded_priv.h:
        Fix to embedded server to be able to run tests on it
      libmysqld/lib_sql.cc:
        Fix to embedded server to be able to run tests on it
      libmysqld/libmysqld.c:
        Fix to embedded server to be able to run tests on it
      mysql-test/mysql-test-run.sh:
        Fix to embedded server to be able to run tests on it
      mysql-test/r/binlog.result:
        Updated test for embedded server
      mysql-test/r/ctype_cp932.result:
        Updated test for embedded server
      mysql-test/r/innodb.result:
        Updated test for embedded server
      mysql-test/r/mysqltest.result:
        Updated test for embedded server
      mysql-test/r/query_cache.result:
        Updated test for embedded server
      mysql-test/r/query_cache_notembedded.result:
        Updated test for embedded server
      mysql-test/r/sp-error.result:
        Updated test for embedded server
      mysql-test/r/sp.result:
        Updated test for embedded server
      mysql-test/r/subselect.result:
        Updated test for embedded server
      mysql-test/r/view.result:
        Updated test for embedded server
      mysql-test/r/view_grant.result:
        Updated test for embedded server
      mysql-test/t/backup.test:
        Updated test for embedded server
      mysql-test/t/binlog.test:
        Updated test for embedded server
      mysql-test/t/blackhole.test:
        Updated test for embedded server
      mysql-test/t/compress.test:
        Updated test for embedded server
      mysql-test/t/ctype_cp932.test:
        Updated test for embedded server
      mysql-test/t/delayed.test:
        Updated test for embedded server
      mysql-test/t/handler.test:
        Updated test for embedded server
      mysql-test/t/innodb.test:
        Updated test for embedded server
      mysql-test/t/mysql.test:
        Updated test for embedded server
      mysql-test/t/mysql_client_test.test:
        Updated test for embedded server
      mysql-test/t/mysqltest.test:
        Updated test for embedded server
      mysql-test/t/query_cache.test:
        Updated test for embedded server
      mysql-test/t/query_cache_notembedded.test:
        Updated test for embedded server
      mysql-test/t/read_only.test:
        Updated test for embedded server
      mysql-test/t/skip_grants.test:
        Updated test for embedded server
      mysql-test/t/sp-destruct.test:
        Updated test for embedded server
      mysql-test/t/sp-error.test:
        Updated test for embedded server
      mysql-test/t/sp-threads.test:
        Updated test for embedded server
      mysql-test/t/sp.test:
        Updated test for embedded server
      mysql-test/t/subselect.test:
        Updated test for embedded server
      mysql-test/t/temp_table.test:
        Updated test for embedded server
      mysql-test/t/view.test:
        Updated test for embedded server
      mysql-test/t/view_grant.test:
        Updated test for embedded server
      mysql-test/t/wait_timeout.test:
        Updated test for embedded server
      mysys/mf_dirname.c:
        Review fix: Don't access data outside of array
      mysys/my_bitmap.c:
        Remove compiler warnings
      scripts/mysql_fix_privilege_tables.sql:
        Add flush privileges to .sql script so that one doesn't have to reboot mysqld when one runs the mysql_fix_privilege_script
      sql-common/client.c:
        Updated test for embedded server
      sql/item.cc:
        Remove DBUG_PRINT statement that can cause crashes when running with --debug
      sql/mysqld.cc:
        Fix to embedded server to be able to run tests on it
      sql/protocol.cc:
        Fix to embedded server to be able to run tests on it
        (Trivial reconstruction of code)
      sql/protocol.h:
        Fix to embedded server to be able to run tests on it
      sql/sql_base.cc:
        Better comment
      sql/sql_class.cc:
        Fix to embedded server to be able to run tests on it
      sql/sql_class.h:
        Fix to embedded server to be able to run tests on it
      sql/sql_cursor.cc:
        Fix to embedded server to be able to run tests on it
      sql/sql_parse.cc:
        Fix to embedded server to be able to run tests on it
        Don't crash for disabled commands when using embedded server
      sql/sql_prepare.cc:
        Fix to embedded server to be able to run tests on it
      mysql-test/r/ctype_cp932_notembedded.result:
        New BitKeeper file ``mysql-test/r/ctype_cp932_notembedded.result''
      mysql-test/r/innodb_notembedded.result:
        New BitKeeper file ``mysql-test/r/innodb_notembedded.result''
      mysql-test/r/sp.result.orig:
        New BitKeeper file ``mysql-test/r/sp.result.orig''
      mysql-test/r/sp_notembedded.result:
        New BitKeeper file ``mysql-test/r/sp_notembedded.result''
      mysql-test/r/subselect_notembedded.result:
        New BitKeeper file ``mysql-test/r/subselect_notembedded.result''
      mysql-test/t/ctype_cp932_notembedded.test:
        New BitKeeper file ``mysql-test/t/ctype_cp932_notembedded.test''
      mysql-test/t/innodb_notembedded.test:
        New BitKeeper file ``mysql-test/t/innodb_notembedded.test''
      mysql-test/t/sp.test.orig:
        New BitKeeper file ``mysql-test/t/sp.test.orig''
      mysql-test/t/sp_notembedded.test:
        New BitKeeper file ``mysql-test/t/sp_notembedded.test''
      mysql-test/t/subselect_notembedded.test:
        New BitKeeper file ``mysql-test/t/subselect_notembedded.test''
      988f0be6
  10. 16 Mar, 2005 1 commit
    • unknown's avatar
      Fixed binlog.test failure which occured after patch implementing · b32ecfc4
      unknown authored
      WL#874 "Extended LOAD DATA" was pushed.
      
      
      mysql-test/r/binlog.result:
        Addition of two new types of binary log events shifted binlog positions.
        Updated test's results and made it more robust for future similar
        changes.
      mysql-test/t/binlog.test:
        Addition of two new types of binary log events shifted binlog positions.
        Updated test's results and made it more robust for future similar
        changes.
      b32ecfc4
  11. 23 Feb, 2005 3 commits
    • unknown's avatar
      innodb-dependent test moved from rpl_rotate_logs.test to binlog.test · b328c6c6
      unknown authored
      mysql-test/r/binlog.result:
        binlog rotation after a big transation
      mysql-test/r/rpl_rotate_logs.result:
        innodb-dependent test removed
      mysql-test/t/binlog.test:
        binlog rotation after a big transation
      mysql-test/t/rpl_rotate_logs.test:
        innodb-dependent test removed
      b328c6c6
    • unknown's avatar
      don't log BEGIN in auto-commit mode · 15f03dda
      unknown authored
      correct end_log_pos for Xid_log_event
      
      
      mysql-test/r/binlog.result:
        don't depend on the previous tests
      mysql-test/r/rpl_rotate_logs.result:
        correct end_log_pos for Xid_log_event
      mysql-test/t/binlog.test:
        don't depend on the previous tests
      sql/handler.h:
        comment
      sql/log_event.cc:
        advance position for Xid
      sql/log_event.h:
        comment
      sql/sql_class.h:
        correct end_log_pos for Xid_log_event
      sql/sql_parse.cc:
        make sure commit handler knows whether it's autocommit or not
      15f03dda
    • unknown's avatar
      write "COMMIT" into binlog if there's no Xid at the end of transaction · 0eb4965a
      unknown authored
      new tests
      
      
      mysql-test/r/innodb.result:
        savepoint test
      mysql-test/t/innodb.test:
        savepoint test
      sql/log.cc:
        write "COMMIT" into binlog if there's no Xid at the end of transaction
      0eb4965a