1. 15 Jun, 2003 2 commits
    • unknown's avatar
      Fixes for make_win_src_distributions · 102ecc86
      unknown authored
      Removed compiler warnings
      
      
      scripts/make_win_src_distribution.sh:
        Added option --dirname
        Also copy sql-common directory
        Create mysql data files even if mysqld is not installed
      scripts/mysql_create_system_tables.sh:
        Update for usage with make_win_src_distribution
      scripts/mysql_install_db.sh:
        Update for usage with make_win_src_distribution
      sql-common/client.c:
        Portability fix
      sql/item_cmpfunc.cc:
        Removed compiler warning
      sql/sql_acl.cc:
        Indentation cleanup
        Removed compiler warning
      sql/sql_parse.cc:
        Removed compiler warning
      sql/sql_select.cc:
        Removed compiler warning
      sql/sql_yacc.yy:
        Removed compiler warning
      strings/ctype-utf8.c:
        Removed compiler warning
      102ecc86
    • unknown's avatar
      LAST_INSERT_ID()}will now return 0 if the last INSERT didn't insert any rows. · 5aee95d1
      unknown authored
      
      mysql-test/r/auto_increment.result:
        Update results after bug fix
      5aee95d1
  2. 14 Jun, 2003 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 6481edae
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      6481edae
    • unknown's avatar
      Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1... · cb9dfd2a
      unknown authored
      Cleanup after split of libmysql.c to client.c and libmysql.c.  A 4.1 master/slave will now use the 4.1 protocol
      Fixed wrong value for SQLSTATE_LENGTH
      Added CLIENT_REMEMBER_OPTIONS to mysql_real_connect()
      Changed mysql_port and mysql_unix_port to mysqld_xxxx
      
      
      client/mysql.cc:
        Removed valgrind & compiler warnings
      client/sql_string.h:
        Fix to remove valgrind warnings
      include/mysql.h:
        Added read_timeout and write_timeout to mysql options struct.
        This is to be used for slave when connection to master.
        code cleanup
      include/mysql_com.h:
        Fixed wrong value for SQLSTATE_LENGTH
        Added CLIENT_REMEMBER_OPTIONS
      include/sql_common.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      include/sql_state.h:
        Removed default states
      libmysql/client_settings.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      libmysql/libmysql.c:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      mysql-test/r/type_blob.result:
        Update results after someone updated error messages without running tests
      mysys/charset.c:
        More debug information
      mysys/errors.c:
        Fixed wrong error message
      sql-common/client.c:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/Makefile.am:
        Added sql_client.cc
      sql/client_settings.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/log.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/mysql_priv.h:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/mysqld.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/protocol.cc:
        Fix for SQLSTATE_LENGTH
        Moved function to sql_client.c
      sql/repl_failsafe.cc:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/set_var.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/slave.cc:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      cb9dfd2a
  3. 13 Jun, 2003 5 commits
  4. 12 Jun, 2003 5 commits
    • unknown's avatar
      user change to avoid conflicts with user 'test' · 9ba894a6
      unknown authored
      
      mysql-test/t/rpl_temporary.test:
        user change to avoid conflicts with user 'test'
        (to which test connect.test gives password "gambling", so depending
        on the order of the tests, 'test' has password '' or 'gambling':
        better to use an unknown user which will be directed to ''@localhost
        with password always '').
      9ba894a6
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 069d98db
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      069d98db
    • unknown's avatar
      See each file's changeset for details. · 817c329e
      unknown authored
      - Comments for future devs.
      - Start_log_event::exec_event() : when we hit it, do a rollback.
      - We don't need LOG_EVENT_FORCED_ROTATE_F.
      - Stop_log_event::exec_event() : when we hit it, we needn't clean anything.
      - Removed LOG_EVENT_TIME_F and LOG_EVENT_FORCED_ROTATE_F.
      - We don't need Stop events in the relay log.
      - Now filtering of server id is done in the I/O thread first.
      
      
      sql/log.cc:
        We don't need LOG_EVENT_FORCED_ROTATE_F
      sql/log_event.cc:
        - Comments for future devs.
        - Start_log_event::exec_event() : when we hit it, do a rollback. If the SQL
        thread was inside a transaction (for example, the master died while writing
        to the binlog, so did not commit (because we write to the binlog before committing),
        so will rollback), it's sensible to rollback. If we're not in a transaction,
        rollback will not hurt (it will do nothing).
        - We don't need LOG_EVENT_FORCED_ROTATE_F.
        - Stop_log_event::exec_event() : when we hit it, we needn't clean anything, because
        each threads has already written some cleaning statements (DROP TEMPORARY TABLE,
        DO RELEASE_LOCK); we still clean in Start_log_event::exec_event() (if 4.x).
      sql/log_event.h:
        - Comments for future devs.
        - Removed LOG_EVENT_TIME_F and LOG_EVENT_FORCED_ROTATE_F.
      sql/slave.cc:
        - We don't need Stop events in the relay log (see changeset's description about
        log_event.cc). So we can make event queuing (writing to the relay log) simpler.
        - Something that was marked TODO: now filtering of server id (if the server id
        of this event is the same as mine ignore it) is done in the I/O thread if
        the master is 4.x (it still also done in the SQL thread whatever the version of
        the master is, for safe upgrades). This saves disk space.
      sql/slave.h:
        We don't need master_info.ignore_stop_event anymore, as we don't write Stop_event
        to the relay log anymore.
      817c329e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 8f3744f5
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      8f3744f5
    • unknown's avatar
      FT2 bug in mi_delete fixed · e2267b62
      unknown authored
      e2267b62
  5. 11 Jun, 2003 5 commits
    • unknown's avatar
      ft_update.c: · 297698d2
      unknown authored
        Fix parse error per serg instructions.
      
      
      myisam/ft_update.c:
        Fix parse error per serg instructions.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      297698d2
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 83b9ed8c
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      83b9ed8c
    • unknown's avatar
      test result updated · 8daf32e9
      unknown authored
      
      mysql-test/t/rpl_relayrotate.test:
        when mysqld has no innodb compiled in it's not a bug!
      8daf32e9
    • unknown's avatar
      We now require SUPER privilege for SET PSEUDO_THREAD_ID. · 3d0f6bf0
      unknown authored
      
      mysql-test/r/rpl_temporary.result:
        result update
      mysql-test/t/rpl_temporary.test:
        test that PSEUDO_THREAD_ID now requires SUPER.
      sql/set_var.cc:
        Class for pseudo_thread_id (it used to be sys_var_thd_ulong, but we 
        decided to require the SUPER privilege so we needed a check() function,
        which sys_var_thd_ulong does not feature (check() is virtual in sys_var
        and in sys_var_thd_ulong too).
      sql/set_var.h:
        Class for pseudo_thread_id
      3d0f6bf0
    • unknown's avatar
      3821a48c
  6. 10 Jun, 2003 13 commits
  7. 09 Jun, 2003 3 commits
  8. 08 Jun, 2003 1 commit
    • unknown's avatar
      Fix for mysql_list_fields & reset stmt buffers from stmt_free_result · 5c2c1318
      unknown authored
        Windows build fix 
      
      
      VC++Files/sql/mysqld.dsp:
        Added sql_state.c to wrk space
      include/mysql_com.h:
        Windows build fix (mismatch declaration of my_bool and bool from defination)
      include/thr_alarm.h:
        Windows build fix
      libmysql/libmysql.c:
        Fix for mysql_list_fields & reset stmt buffers from stmt_free_result
      tests/client_test.c:
        Updated test for DEFAULT value for mysql_list_fields()
        New tests for mysql_stmt_free_result()
      5c2c1318
  9. 06 Jun, 2003 4 commits
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2a68b316
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.revoke
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      2a68b316
    • unknown's avatar
      REVOKE all privileges and delete user(244) · 16dc40f8
      unknown authored
      
      include/mysqld_error.h:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      mysql-test/r/grant.result:
        Test for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      mysql-test/t/grant.test:
        Test for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/czech/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/danish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/dutch/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/english/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/estonian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/french/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/german/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/greek/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/hungarian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/italian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/japanese/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/korean/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/norwegian-ny/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/norwegian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/polish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/portuguese/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/romanian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/russian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/serbian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/slovak/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/spanish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/swedish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/ukrainian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      16dc40f8
    • unknown's avatar
      client.c: · 8d36807e
      unknown authored
        Compilation falure fix
      
      
      sql-common/client.c:
        Compilation falure fix
      8d36807e
    • unknown's avatar
      my_global.h: · 17112bc1
      unknown authored
        ulong was used before the line it have been declared
      
      
      include/my_global.h:
        ulong was used before the line it have been declared
      17112bc1