1. 19 Oct, 2003 1 commit
  2. 16 Oct, 2003 1 commit
    • unknown's avatar
      subqueries made printable · 0d92cf4f
      unknown authored
      new EXPLAIN parameter to show real query as it was interpreted
      (SCRUM) (WL#1274)
      
      
      mysql-test/r/subselect.result:
        new explains
      mysql-test/r/union.result:
        new explains
      mysql-test/t/subselect.test:
        new explains
      mysql-test/t/union.test:
        new explains
      sql/item.cc:
        fixed printability of Items in SELECT list
      sql/item.h:
        fixed printability of Items in SELECT list
      sql/item_cmpfunc.cc:
        fixed print()
      sql/item_cmpfunc.h:
        fixed print()
      sql/item_subselect.cc:
        subqueries made printable
      sql/item_subselect.h:
        subqueries made printable
      sql/mysql_priv.h:
        union option made looks like options
      sql/sql_derived.cc:
        now this link is used
      sql/sql_lex.cc:
        subqueries made printable
      sql/sql_lex.h:
        subqueries made printable
        new EXPLAIN parameter support
      sql/sql_parse.cc:
        new EXPLAIN parameter
      sql/sql_select.cc:
        debug output
        new EXPLAIN parameter support
      sql/sql_select.h:
        new EXPLAIN parameter support
      sql/sql_yacc.yy:
        new EXPLAIN parameter support
        SELECT printability support
      0d92cf4f
  3. 12 Oct, 2003 1 commit
    • unknown's avatar
      fixed printability of Items (all items except subselects) · 5f65a1d6
      unknown authored
      (SCRUM) (WL#1274)
      
      
      sql/item.cc:
        fixed printability of Items
      sql/item.h:
        fixed printability of Items
      sql/item_cmpfunc.cc:
        fixed printability of Items
      sql/item_cmpfunc.h:
        fixed printability of Items
      sql/item_func.cc:
        fixed printability of Items
      sql/item_func.h:
        fixed printability of Items
      sql/item_geofunc.h:
        added DBUG_ASSERT to catch error in debuging timw
      sql/item_row.cc:
        fixed printability of Items
      sql/item_row.h:
        fixed printability of Items
      sql/item_strfunc.cc:
        fixed printability of Items
      sql/item_strfunc.h:
        fixed printability of Items
      sql/item_sum.cc:
        fixed printability of Items
      sql/item_sum.h:
        fixed printability of Items
      sql/item_timefunc.cc:
        fixed printability of Items
      sql/item_timefunc.h:
        layout fixed
        fixed printability of Items
      sql/item_uniq.h:
        fixed printability of Items
      sql/sql_yacc.yy:
        layout fixed
        correct convertion to String
      5f65a1d6
  4. 09 Oct, 2003 4 commits
    • unknown's avatar
      Don't show Slave_IO_State in the testsuite (replace it with #) because it can't be predicted. · 72319047
      unknown authored
      I manually edited rpl_openssl.result because the test is skipped on my
      machine. Hope it's correct.
      
      
      mysql-test/r/rpl000015.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_error_ignored_table.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_flush_log_loop.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_loaddata.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_log.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_log_pos.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_max_relay_size.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_openssl.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_replicate_do.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_reset_slave.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_rotate_logs.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_trunc_binlog.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/r/rpl_until.result:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl000015.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_empty_master_crash.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_error_ignored_table.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_flush_log_loop.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_loaddata.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_log.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_log_pos.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_max_relay_size.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_openssl.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_redirect.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_replicate_do.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_reset_slave.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_rotate_logs.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_trunc_binlog.test:
        Don't show Slave_IO_State because it can't be predicted.
      mysql-test/t/rpl_until.test:
        Don't show Slave_IO_State because it can't be predicted.
      72319047
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · a2320b2e
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      a2320b2e
    • unknown's avatar
      Tiny cleanup after the push of WL#1098 "Seconds_behind_master in SHOW SLAVE STATUS": · 382aed90
      unknown authored
      a better comment, and replacing an assignment by an equivalent simpler one.
      
      
      sql/log_event.cc:
        a better comment, and replacing an assignment by an equivalent simpler one.
      382aed90
    • unknown's avatar
      os0file.h: · 4b2b97c4
      unknown authored
        Fix the Windows compilation error reported by Miguel 1.5 hours ago
      
      
      innobase/include/os0file.h:
        Fix the Windows compilation error reported by Miguel 1.5 hours ago
      4b2b97c4
  5. 08 Oct, 2003 22 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 282343a5
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
      
      282343a5
    • unknown's avatar
      errmsg.txt: · f05cc4e8
      unknown authored
        Add Stefan's new translations.
      
      
      sql/share/german/errmsg.txt:
        Add Stefan's new translations.
      f05cc4e8
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 7b382d6f
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      7b382d6f
    • unknown's avatar
      Final push for WL#1098: · 52d4f219
      unknown authored
      "Add a column "Timestamp_of_last_master_event_executed" in SHOW SLAVE STATUS".
      Finally this is adding
      - Slave_IO_State (a copy of the State column of SHOW PROCESSLIST for the I/O thread,
      so that the users, most of the time, has enough info with only SHOW SLAVE STATUS).
      - Seconds_behind_master. When the slave connects to the master it does SELECT UNIX_TIMESTAMP()
      on the master, computes the absolute difference between the master's and the slave's clock.
      It records the timestamp of the last event executed by the SQL thread, and does a
      small computation to find the number of seconds by which the slave is late.
      
      
      mysql-test/r/rpl000015.result:
        result update
      mysql-test/r/rpl_empty_master_crash.result:
        result update
      mysql-test/r/rpl_error_ignored_table.result:
        result update
      mysql-test/r/rpl_flush_log_loop.result:
        result update
      mysql-test/r/rpl_loaddata.result:
        result update
      mysql-test/r/rpl_log.result:
        result update
      mysql-test/r/rpl_log_pos.result:
        result update
      mysql-test/r/rpl_max_relay_size.result:
        result update
      mysql-test/r/rpl_redirect.result:
        result update
      mysql-test/r/rpl_replicate_do.result:
        result update
      mysql-test/r/rpl_reset_slave.result:
        result update
      mysql-test/r/rpl_rotate_logs.result:
        result update
      mysql-test/r/rpl_trunc_binlog.result:
        result update
      mysql-test/r/rpl_until.result:
        result update
      mysql-test/t/rpl000015.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_empty_master_crash.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_error_ignored_table.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_flush_log_loop.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_loaddata.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_log.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_log_pos.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_max_relay_size.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_openssl.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_redirect.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_replicate_do.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_reset_slave.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_rotate_logs.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_trunc_binlog.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      mysql-test/t/rpl_until.test:
        update to be independant of the new column Seconds_behind_master in SHOW SLAVE STATUS
      sql/log_event.cc:
        when the SQL thread executes an event, we record its timestamp
      sql/slave.cc:
        in check_master_version() we know read the master's clock, to know the clock difference
        with the slave.
        In show_master_info() we send the state of the I/O thread, and compute the number of
        seconds by which the slave is late.
      sql/slave.h:
        timestamp of the last master's event executed by the SQL thread,
        and difference between the clocks of the master and slave.
      sql/sql_repl.cc:
        clear the Seconds_behind_master column of SHOW SLAVE STATUS when RESET SLAVE or CHANGE MASTER.
      52d4f219
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · b32f48b9
      unknown authored
      into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
      
      
      BitKeeper/deleted/.del-MYSQL.ICO~d93519b5f0d6ee1:
        Auto merged
      b32f48b9
    • unknown's avatar
      deleted conflicting file · 9316da35
      unknown authored
      
      BitKeeper/deleted/.del-MYSQL.ICO~d93519b5f0d6ee1:
        Delete: VC++Files/mysqlshutdown/MYSQL.ICO
      9316da35
    • unknown's avatar
      Merge · 47224d32
      unknown authored
      
      BitKeeper/deleted/.del-mysql.ico:
        Delete: VC++Files/mysqlshutdown/mysql.ico
      47224d32
    • unknown's avatar
      Portability fix · 912175dc
      unknown authored
      912175dc
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 00e63154
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      00e63154
    • unknown's avatar
      Indentation cleanups · 13d46a6a
      unknown authored
      Remove wait_if_global_read_lock on commit as this can cause deadlocks
      
      
      BUILD/FINISH.sh:
        Cleanup
      BUILD/SETUP.sh:
        Cleanup
      BUILD/compile-pentium-valgrind-max:
        Don't write message twice
      mysql-test/r/innodb.result:
        Removed failure as this can cause deadlocks
      mysql-test/r/rpl_max_relay_size.result:
        Make test repeatable
      mysql-test/t/innodb.test:
        Removed failure as this can cause deadlocks
      mysql-test/t/rpl_max_relay_size.test:
        Removed failure as this can cause deadlocks
      sql/handler.cc:
        Remove wait_if_global_read_lock as this can cause deadlocks
      sql/opt_range.cc:
        Indentation cleanup
      sql/sql_db.cc:
        Comment cleanup
      sql/sql_parse.cc:
        Comment cleanup
      sql/sql_repl.cc:
        Indentation cleanup
      sql/sql_select.cc:
        Indentation cleanup
      13d46a6a
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f67f80b0
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      libmysqld/examples/Makefile.am:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      f67f80b0
    • unknown's avatar
      Fixed bug in error handling of CREATE ... SELECT · 49eb3909
      unknown authored
      More tests cases
      After merge fixes
      
      
      BitKeeper/deleted/.del-ansi-master.opt~4d337eb61642a838:
        Delete: mysql-test/t/ansi-master.opt
      mysql-test/r/ansi.result:
        Cleaned up test to be able to remove ansi-master.opt
      mysql-test/r/create.result:
        Updated results
      mysql-test/r/insert_select.result:
        Updated results
      mysql-test/r/rpl000009.result:
        Updated results
      mysql-test/t/ansi.test:
        Cleaned up test to be able to remove ansi-master.opt
      mysql-test/t/create.test:
        More tests
      mysql-test/t/insert_select.test:
        More tests
      mysql-test/t/mysqlbinlog.test:
        Fixed test after merge
      sql/mysql_priv.h:
        Added character-sets-dir to 'show variables'
      sql/set_var.cc:
        Added character-sets-dir to 'show variables'
      sql/sql_class.cc:
        Fixed that send_error() is called properly when a SELECT fails
      sql/sql_class.h:
        Fixed that send_error() is called properly when a SELECT fails
      sql/sql_insert.cc:
        Fixed bug in error handling of CREATE ... SELECT
      sql/sql_select.cc:
        Fixed bug in error handling of CREATE ... SELECT
      49eb3909
    • unknown's avatar
      c613801a
    • unknown's avatar
      - added missing link line that seemed to have gone lost during the last · 9b270155
      unknown authored
         4.0->4.1 merge (mysqltest needs to be linked with a C++ compiler)
      
      9b270155
    • unknown's avatar
      merge with 4.0 to get fix for mysqlbinlog · 3b643667
      unknown authored
      
      client/mysqlbinlog.cc:
        Auto merged
      mysql-test/t/rpl_trunc_binlog.test:
        Auto merged
      3b643667
    • unknown's avatar
      Fixes after merge · a8d0df3a
      unknown authored
      
      mysql-test/std_data/trunc_binlog.000001:
        Rename: mysql-test/std_data/trunc_binlog.001 -> mysql-test/std_data/trunc_binlog.000001
      client/mysqltest.c:
        Fixed merge problem
      mysql-test/mysql-test-run.sh:
        Fixed merge problem
      mysql-test/r/distinct.result:
        Fix after merge
      mysql-test/r/drop_temp_table.result:
        Fix after merge
      mysql-test/r/join_outer.result:
        Fix after merge
      mysql-test/r/mysqldump.result:
        Fix after merge
      mysql-test/r/null_key.result:
        Fix after merge
      mysql-test/r/order_by.result:
        Fix after merge
      mysql-test/r/rpl_alter.result:
        Fix after merge
      mysql-test/r/rpl_loaddata.result:
        Fix after merge
      mysql-test/r/rpl_loaddata_rule_m.result:
        Fix after merge
      mysql-test/r/rpl_trunc_binlog.result:
        Fix after merge
      mysql-test/r/select_safe.result:
        Fix after merge
      mysql-test/t/insert.test:
        Fix after merge
      mysql-test/t/mysqlbinlog.test:
        Fix after merge
      mysql-test/t/rpl000009.test:
        Fix after merge
      mysql-test/t/rpl_alter.test:
        Fix after merge
      mysql-test/t/rpl_loaddata_rule_m.test:
        Fix after merge
      mysql-test/t/rpl_trunc_binlog.test:
        Fix after merge
      sql-common/client.c:
        Fix after merge
      sql/item_subselect.cc:
        Fix after merge
      sql/repl_failsafe.cc:
        Fix after merge
      sql/slave.cc:
        Fix after merge
      sql/sql_insert.cc:
        Fix after merge
      a8d0df3a
    • unknown's avatar
      Fixed test case that my last patch to mysqlbinlog broke. · ebc1c91f
      unknown authored
      Changed --remote to --read-from-remote-server (mysqlbinlog)
      
      
      client/mysqlbinlog.cc:
        Changed --remote to --read-from-remote-server to make option more understandable
      mysql-test/t/mysqlbinlog.test:
        Fixed test case that --remote broke
      ebc1c91f
    • unknown's avatar
      Merge laptop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · a9d38863
      unknown authored
      into laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-allany_aggregate-4.1
      
      a9d38863
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 31f16704
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      31f16704
    • unknown's avatar
      query_cache.result, query_cache.test: · 9716275c
      unknown authored
        Character set variables test
      
      
      mysql-test/t/query_cache.test:
        Character set variables test
      mysql-test/r/query_cache.result:
        Character set variables test
      9716275c
    • unknown's avatar
      Fixed test case to work on NetWare. · 4d3e0c71
      unknown authored
      
      mysql-test/r/func_gconcat.result:
        Removed extraneous CR (0x0D)
      mysql-test/t/func_gconcat.test:
        Removed extraneous CR (0x0D)
      4d3e0c71
  6. 07 Oct, 2003 11 commits