1. 17 Jun, 2003 2 commits
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1832328f
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      include/my_global.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      1832328f
    • unknown's avatar
      Two Sprint tasks and two behaviour changes. · da5b1e5e
      unknown authored
      
      sql/sql_acl.cc:
        Fix for a grant bug.
        If there is a table privilege, for which no column privileges 
        are defined , and the same privilege is granted for a column, 
        new code prevents that table privilege is reduced to a column
        privilege.
        
        To accomplish that, now a REVOKE command has to be used first.
      sql/sql_parse.cc:
        SCRUM TASK No 1.
        
        Adding support for INSERT .. SELECT with a table in the join
        that is to be inserted into.
        
        test case pending.
      sql/sql_union.cc:
        Changing behaviour for SQL_OPTION_FOUND_ROWS in unins.
      sql/sql_yacc.yy:
        SCRUM TASK no 2.
        
        Making CREATE and INSERT to work with any UNION>
      da5b1e5e
  2. 16 Jun, 2003 4 commits
    • unknown's avatar
      fulltext and left join bug fixed · 4d2b80d1
      unknown authored
      
      mysql-test/t/fulltext.test:
        explain select fulltext test
      mysql-test/t/fulltext_left_join.test:
        explain select fulltext test
      4d2b80d1
    • unknown's avatar
      863deeb7
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.0 · f0ee916a
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      f0ee916a
    • unknown's avatar
      Fix for nightly build test failure (test update). · 3e3f26ed
      unknown authored
      More messages.
      Testcase for bug 651.
      
      
      client/mysqltest.c:
        More explicit error message if MASTER_POS_WAIT() returns NULL.
      mysql-test/r/rpl_loaddata.result:
        result update
      mysql-test/r/rpl_master_pos_wait.result:
        result update
      mysql-test/t/rpl000001.test:
        sync_with_master (=MASTER_POS_WAIT()) was called when we could expect the SQL slave thread had stopped.
        As I yesterday changed code so that "SQL thread stops => MASTER_POS_WAIT() returns NULL immediately" (bugfix),
        sync_with_master received NULL (on build.mysql.com, not on my machine; this is a question of milliseconds,
        if the slave server will process MASTER_POS_WAIT() before or after the slave SQL thread has stopped), and
        in mysqltest.c, sync_with_master complained that it could not sync.
        So I just remove this sync_with_master, which does not make sense anymore: we just wait for the slave SQL
        thread to stop.
      mysql-test/t/rpl_loaddata.test:
        Discovered we had wait_for_slave_to_stop, so used it as it automates things.
      mysql-test/t/rpl_master_pos_wait.test:
        Discovered we had 'send' to send a query without waiting for the resultn so could had a testcase for bug 651.
        Shorter timeouts as there is no risk the position is reached.
      sql/slave.cc:
        A longer DBUG_PRINT.
      3e3f26ed
  3. 15 Jun, 2003 4 commits
    • unknown's avatar
      row0mysql.c, dict0dict.ic: · 7ee4c918
      unknown authored
        Cleanup
      ha_innodb.cc, data0type.h:
        Make sure non-latin1 users can downgrade from 4.0.14 to an earlier version if they have not created DATA_BLOB column prefix indexes
      
      
      innobase/include/data0type.h:
        Make sure non-latin1 users can downgrade from 4.0.14 to an earlier version if they have not created DATA_BLOB column prefix indexes
      sql/ha_innodb.cc:
        Make sure non-latin1 users can downgrade from 4.0.14 to an earlier version if they have not created DATA_BLOB column prefix indexes
      innobase/include/dict0dict.ic:
        Cleanup
      innobase/row/row0mysql.c:
        Cleanup
      7ee4c918
    • unknown's avatar
      handler.h, ha_innodb.h, ha_innodb.cc: · db484899
      unknown authored
        Cleanup; remove compiler warning on Windows
      
      
      sql/ha_innodb.cc:
        Cleanup; remove compiler warning on Windows
      sql/ha_innodb.h:
        Cleanup; remove compiler warning on Windows
      sql/handler.h:
        Cleanup; remove compiler warning on Windows
      db484899
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.0 · ba68d937
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      ba68d937
    • unknown's avatar
      Simplified a test. · 2dc65a0a
      unknown authored
      thd->enter_cond() and exit_cond(), so that the I/O thread accepts to stop
      when it's waiting for relay log space.
      Reset ignore_log_space_limit to 0 when the SQL thread terminates.
      
      
      mysql-test/r/rpl_relayspace.result:
        result update
      mysql-test/t/rpl_relayspace-slave.opt:
        smaller relay_log_space_limit to speed up things.
      mysql-test/t/rpl_relayspace.test:
        Less queries in the test, to make it simpler.
        Testcase if the IO thread blocked in wait_for_relay_log_space
        accepts to stop when STOP SLAVE.
      sql/slave.cc:
        thd->enter_cond() and exit_cond(), so that the I/O thread accepts to stop
        when it's waiting on cond (waiting for relay log space).
        Reset ignore_log_space_limit to 0 when the SQL thread terminates.
      2dc65a0a
  4. 14 Jun, 2003 4 commits
    • unknown's avatar
      Many files: · 97fe74ac
      unknown authored
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      
      
      sql/ha_innodb.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/handler.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/sql_lex.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/ha_innodb.cc:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/handler.cc:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/sql_parse.cc:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      sql/sql_yacc.yy:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      include/my_base.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      mysql-test/t/innodb.test:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      mysql-test/r/innodb.result:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/btr/btr0cur.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/btr/btr0pcur.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/buf/buf0buf.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/buf/buf0flu.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/data/data0data.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/data/data0type.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0boot.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0crea.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0load.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/dict/dict0mem.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/fil/fil0fil.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/fsp/fsp0fsp.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/ha/ha0ha.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/ibuf/ibuf0ibuf.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/btr0cur.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/buf0buf.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/data0data.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/data0type.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/db0err.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/dict0dict.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/dict0mem.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/fil0fil.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/lock0lock.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/os0file.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/page0page.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/rem0cmp.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/row0row.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/row0sel.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/row0upd.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/srv0srv.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/data0type.ic:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/trx0roll.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/trx0trx.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/trx0types.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/ut0dbg.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/ut0mem.h:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/row0mysql.ic:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/include/trx0sys.ic:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/lock/lock0lock.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/log/log0log.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/log/log0recv.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/mem/mem0pool.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/os/os0file.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/os/os0thread.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/page/page0cur.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/page/page0page.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/pars/pars0opt.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/pars/pars0pars.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/rem/rem0cmp.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0row.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0sel.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0umod.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/row/row0vers.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/srv/srv0srv.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/srv/srv0start.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/trx/trx0rec.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/trx/trx0roll.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/trx/trx0sys.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/trx/trx0trx.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/ut/ut0mem.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      innobase/ut/ut0ut.c:
        Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
      97fe74ac
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.0 · d0f8b6b6
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      d0f8b6b6
    • unknown's avatar
      - Fix for bug 651: now a dying SQL slave threads wakes up any waiting MASTER_POS_WAIT(). · 8b66fecf
      unknown authored
      Could not add a testcase for this: if the test goes into a MASTER_POS_WAIT, it waits
      until this terminates (even doing "connection other_con" to launch "stop slave" is blocked).
      - In MASTER_POS_WAIT() don't test if the I/O slave is running, but if the SQL thread
      is running.
      - Some DBUG info for this bugfix.
      
      
      sql/slave.cc:
        Fix for bug 651: now a dying SQL slave threads wakes up any waiting MASTER_POS_WAIT().
        In MASTER_POS_WAIT() don't test if the I/O slave is running, but if the SQL thread
        is running.
        Some DBUG info.
      8b66fecf
    • unknown's avatar
      Added option --skip-kill-mysqld to mysqld_safe. This can be useful, · 85204c1a
      unknown authored
      if one is running many mysqlds through mysqld_multi, for example.
      Without this option, on Linux one mysqld_safe process may kill
      other mysqlds as well, if started using the same binary and path.
      
      85204c1a
  5. 12 Jun, 2003 8 commits
  6. 11 Jun, 2003 4 commits
    • unknown's avatar
      test case for bug #614 · 9cdd3df6
      unknown authored
      
      mysql-test/r/func_time.result:
        result's checking added
      mysql-test/t/func_time.test:
        testcase added
      9cdd3df6
    • unknown's avatar
      Bugfix for #614 · 376c509e
      unknown authored
      Item_extract needs special implementation for eq().
      Item_func::eq doesn't work correctly because we have to compare 
      Item_extract::int_type parameters also
      
      We need to propagate this to 4.1
      
      
      sql/item_timefunc.cc:
        Item_extract::eq implementation added
      sql/item_timefunc.h:
        Item_extract::eq definition added
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      376c509e
    • unknown's avatar
      - applied patch to mysql_explain_log.sh provided by Dennis Haney · 13097076
      unknown authored
         to accept --socket option (Bug #592)
      
      
      scripts/mysql_explain_log.sh:
         - applied patch provided by Dennis Haney to accept --socket option
           (Bug #592)
      13097076
    • unknown's avatar
      - fixed a path to init script in RPM spec file (/sbin/init.d is obsolete) · cb476a29
      unknown authored
      
      support-files/mysql.spec.sh:
         - fixed path to init script (/sbin/init.d is obsolete)
      cb476a29
  7. 10 Jun, 2003 3 commits
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.0 · 006cf099
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      006cf099
    • unknown's avatar
      More error messages. This is intended to help debugging; presently I have a · 9f782d1e
      unknown authored
      support issue with an unclear message which can have N reasons for appearing.
      This should help us know at which point it failed, and get the errno when
      my_open was involved (as the reason for the unclear message is often a
      permission problem).
      RESET SLAVE resets last_error and last_errno in SHOW SLAVE STATUS (without this,
      rpl_loaddata.test, which is expected to generate an error in last_error, influenced
      rpl_log_pos.test).
      A small test update.
      Added STOP SLAVE to mysql-test-run to get rid of several stupid error messages
      which are printed while the master restarts and the slave attempts/manages to
      connect to it and sends it nonsense binlog requests.
      
      
      mysql-test/mysql-test-run.sh:
        Before running a test, stop slave threads if they exist (if they don't
        the script goes on fine). This also works fine with the manager.
        Before this change, when the master was stopped/restarted (which happened before
        the slave server was stopped/restarted), the slave threads
        noticed the stop (so printed an error message in slave.err), then managed to
        reconnect (to the new master, the one that is running for the _next_ test),
        and this reconnection had time to produce error messages (because, for example,
        the binlog the slave thread was asking had been deleted) before the slave server
        was killed. This change reduces by 10% (40 lines) slave.err in replication tests.
      mysql-test/r/rpl000018.result:
        Result update.
      mysql-test/t/rpl000018.test:
        This test does "show master logs" so should do "reset master" instead of
        relying on the previous tests.
      sql/slave.cc:
        More error messages.
      sql/sql_repl.cc:
        More error messages.
        RESET SLAVE resets last_error and last_errno in SHOW SLAVE STATUS.
      9f782d1e
    • unknown's avatar
      Don't install signal handler for SIGINT by default · 079a9a08
      unknown authored
      Added option --gdb
      Free memory used by replicate_xxx and binglog_xxx options
      
      
      mysql-test/mysql-test-run.sh:
        Added --gdb when using gdb
      mysys/thr_alarm.c:
        Safety check
      sql/mysql_priv.h:
        Don't install signal handler for SIGINT by default
      sql/mysqld.cc:
        Don't install signal handler for SIGINT by default
        Added option --gdb
        Free memory used by replicate_xxx and binglog_xxx options.
        Add statistics variable for killed threads
      sql/repl_failsafe.cc:
        Incremented aborted_connects on failure
      sql/sql_list.cc:
        Added free_list() to free memory on shutdown.
      079a9a08
  8. 06 Jun, 2003 3 commits
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.0 · f933dddf
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      f933dddf
    • unknown's avatar
      Fix for bug 254 : · 720138b6
      unknown authored
      we now make a distinction between if the master is < 3.23.57, 3.23 && >=57, and 4.x
      (before the 2 3.23 were one). This is because in 3.23.57 we have a way to distinguish between
      a Start_log_event written at server startup and one written at FLUSH LOGS, so we
      have a way to know if the slave must drop old temp tables or not.
      Change: mi->old_format was bool, now it's enum (to handle 3 cases). However, functions
      which had 'bool old_format' as an argument have their prototypes unchanged, because
      the old old_format == 0 now corresponds to the enum value BINLOG_FORMAT_CURRENT which
      is equal to 0, so boolean tests are left untouched. The only case were we use mi->old_format
      as an enum instead of casting it implicitly to a bool, is in Start_log_event::exec_event,
      where we want to distinguish between the 3 possible enum values.
      
      
      sql/log_event.cc:
        Fix for bug 254 :
        we now make a distinction between if the master is < 3.23.57, 3.23 && >=57, and 4.x
        (before the 2 3.23 were one), to know if the slave must drop old temp tables or not.
      sql/slave.cc:
        Fix for bug 254 : mi->old_format is now enum.
        An unrelated comment.
      sql/slave.h:
        fix for bug 254 : mi->old_format is now enum.
      720138b6
    • unknown's avatar
      sql_yacc.yy, sql_parse.cc, sql_lex.h, mysqld.cc, lex.h: · 7ef8b915
      unknown authored
        Add syntax SAVEPOINT id and ROLLBACK TO SAVEPOINT id. This is compatible with DB2 and Oracle but not with SQL Server. Savepoints do not do anything yet, this is just parsing.
      
      
      sql/lex.h:
        Add syntax SAVEPOINT id and ROLLBACK TO SAVEPOINT id. This is compatible with DB2 and Oracle but not with SQL Server. Savepoints do not do anything yet, this is just parsing.
      sql/mysqld.cc:
        Add syntax SAVEPOINT id and ROLLBACK TO SAVEPOINT id. This is compatible with DB2 and Oracle but not with SQL Server. Savepoints do not do anything yet, this is just parsing.
      sql/sql_lex.h:
        Add syntax SAVEPOINT id and ROLLBACK TO SAVEPOINT id. This is compatible with DB2 and Oracle but not with SQL Server. Savepoints do not do anything yet, this is just parsing.
      sql/sql_parse.cc:
        Add syntax SAVEPOINT id and ROLLBACK TO SAVEPOINT id. This is compatible with DB2 and Oracle but not with SQL Server. Savepoints do not do anything yet, this is just parsing.
      sql/sql_yacc.yy:
        Add syntax SAVEPOINT id and ROLLBACK TO SAVEPOINT id. This is compatible with DB2 and Oracle but not with SQL Server. Savepoints do not do anything yet, this is just parsing.
      7ef8b915
  9. 05 Jun, 2003 8 commits