An error occurred fetching the project authors.
  1. 17 Oct, 2003 1 commit
  2. 16 Oct, 2003 1 commit
  3. 15 Oct, 2003 1 commit
    • unknown's avatar
      Better fix for CREATE TABLE IF NOT EXISTS ... SELECT · b06eb4d8
      unknown authored
      Fixed chsize() problem on windows
      Extend default timeout on windows clients to 1 year (to avoid timeout problems)
      
      
      include/mysql.h:
        Added client timeouts (for TCP/IP)
      libmysql/libmysql.c:
        Added client timeouts (for TCP/IP)
      mysql-test/r/create.result:
        More tests for CREATE TABLE IF NOT EXISTS ... SELECT
      mysql-test/t/create.test:
        More tests for CREATE TABLE IF NOT EXISTS ... SELECT
      mysys/my_chsize.c:
        Fix for windows
      sql/handler.h:
        Remove not used field 'if_not_exists'
        Ordered fields to be more optimized for new CPU's
        Added field 'table_existed'
      sql/slave.cc:
        Cleanup temporary tables when slave ends
      sql/sql_class.h:
        Remove not used 'do_not_drop' field
      sql/sql_insert.cc:
        Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
      sql/sql_table.cc:
        Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
      b06eb4d8
  4. 14 Oct, 2003 1 commit
    • unknown's avatar
      Fixed bug in SET enum_system_variable=NULL · d1ed51db
      unknown authored
      BitKeeper/etc/ignore:
        added scripts/make_sharedlib_distribution
      mysql-test/r/variables.result:
        Add test for enum_system_variable=NULL
      mysql-test/t/variables.test:
        Add test for enum_system_variable=NULL
      sql/set_var.cc:
        Fixed bug in SET enum_system_variable=NULL
        Moved some array elements to get result sorted
      d1ed51db
  5. 11 Oct, 2003 1 commit
    • unknown's avatar
      Add new user variables for tuning memory usage: · 74ea4594
      unknown authored
      query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size
      Add more checks for "out of memory" detection in range optimization
      
      
      configure.in:
        Added detection of mallinfo
      mysql-test/r/variables.result:
        Test of new variables
      mysql-test/t/variables.test:
        Test of new variables
      sql/ha_berkeley.cc:
        Use init_sql_alloc instead of init_alloc_root for better OOM detection
      sql/log_event.cc:
        Add new user variables for tuning memory usage
      sql/mysql_priv.h:
        Add new user variables for tuning memory usage
      sql/mysqld.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.h:
        Add new user variables for tuning memory usage
      sql/opt_range.cc:
        Add new user variables for tuning memory usage
        Add more checks for out of memory conditions
      sql/opt_range.h:
        Add new user variables for tuning memory usage
      sql/set_var.cc:
        Add new user variables for tuning memory usage
      sql/sql_acl.cc:
        Add new user variables for tuning memory usage
      sql/sql_class.h:
        Add new user variables for tuning memory usage
      sql/sql_delete.cc:
        Add new user variables for tuning memory usage
      sql/sql_parse.cc:
        Add new user variables for tuning memory usage
      sql/sql_select.cc:
        Add new user variables for tuning memory usage
      sql/sql_test.cc:
        Add information about memory useage if system supports mallinfo()
      sql/sql_udf.cc:
        Add new user variables for tuning memory usage
      sql/sql_update.cc:
        Add new user variables for tuning memory usage
      sql/table.cc:
        Add new user variables for tuning memory usage
      74ea4594
  6. 08 Oct, 2003 2 commits
  7. 07 Oct, 2003 2 commits
    • unknown's avatar
      Fix for a test failure with the standard (no-BDB) binary: · 654d266c
      unknown authored
      as the test is meaningful only if the slave supports transactions,
      we require this. As in 4.0 the slave runs with --skip-innodb, we
      test for BDB.
      
      
      654d266c
    • unknown's avatar
      Simple cleanups · c7fd510a
      unknown authored
      client/mysqlbinlog.cc:
        Add default handling to mysqlbinlog
      mysql-test/mysql-test-run.sh:
        Cleanup of mysqldump/mysqlbinlog argument handling
      scripts/Makefile.am:
        Remove duplicate
      scripts/mysql_install_db.sh:
        Change -eq to =
      c7fd510a
  8. 06 Oct, 2003 3 commits
  9. 04 Oct, 2003 1 commit
    • unknown's avatar
      Ride hobby horse. · a0e2753e
      unknown authored
      mysql-test/mysql-test-run.sh:
        deamon -> daemon
      scripts/mysql_install_db.sh:
        deamon -> daemon
      support-files/my-small.cnf.sh:
        deamon -> daemon
      a0e2753e
  10. 03 Oct, 2003 2 commits
    • unknown's avatar
    • unknown's avatar
      When the I/O thread was stopped while copying a long transaction, and restarted, · 1bd7662b
      unknown authored
      Rotate_log_event::exec_event() believed that the relay log was corrupted. Fixed it
      by moving the test for corruption to Start_log_event::exec_event(). 
      Changed Rotate_log_event::exec_event() to not increment positions when the
      event is seen in the middle of a transaction.
      I did a separate commit in 4.1 (so this should not be merged to 4.0) because
      code is a bit different in 4.1.
      A test to see if the slave detects when the master died while writing a 
      transaction to the binlog (uses a forged truncated binlog I made).
      
      
      sql/log_event.cc:
        When the I/O thread was stopped while copying a long transaction, and restarted,
        Rotate_log_event::exec_event() believed that the relay log was corrupted. Fixed it
        by moving the test for corruption to Start_log_event::exec_event(). 
        Changed Rotate_log_event::exec_event() to not increment positions when the
        event is seen in the middle of a transaction.
      1bd7662b
  11. 02 Oct, 2003 1 commit
    • unknown's avatar
      Optimized code for setting user variables with := and fixed some bugs in old code (Bug #1194) · 2985e91a
      unknown authored
      Use forced close of socket to make mysqld shutdown faster when used under valgrind
      
      
      mysql-test/mysql-test-run.sh:
        Added --skip-bdb for valgrind
      mysql-test/r/user_var.result:
        Extended test for user variables
      mysql-test/t/user_var.test:
        Extended test for user variables
      sql/item_func.cc:
        Optimized code for setting user variables with := and fixed some bugs in old code
      sql/item_func.h:
        Optimized code for setting user variables
      sql/log.cc:
        Fixed comments
      sql/mysqld.cc:
        Use forced close of socket to make mysqld shutdown faster when used under valgrind
      sql/sql_class.h:
        Optimized code for setting user variables
      2985e91a
  12. 29 Sep, 2003 3 commits
    • unknown's avatar
      fix for a random test failure on hpux/ia64 · 4e24aff5
      unknown authored
      (a missing synchronization in the test)
      
      
      mysql-test/r/drop_temp_table.result:
        result update
      mysql-test/t/drop_temp_table.test:
        synchronize to be sure that the ending connection has finished binlogging.
      4e24aff5
    • unknown's avatar
      Added resetting of replace_result patterns after --exec command in mysqltest... · 55dc3dcb
      unknown authored
      Added resetting of replace_result patterns after --exec command in mysqltest (in order to be consistent with ordinary query execution).
      
      
      client/mysqltest.c:
        Now resetting replace_result patterns after --exec command (in order to be consistent with ordinary query execution).
      mysql-test/t/mysqlbinlog.test:
        Added additional replaces potentially needed after adding reset of replace conditions for exec
      55dc3dcb
    • unknown's avatar
      Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog) · e03265d4
      unknown authored
      Add quoting for use `database` for mysqlbinlog
      Removed test ins0000001
      Add support for --replace for exec in mysqltest
      Don't refer to install dir in mysqlbinlog.result
      
      
      BitKeeper/deleted/.del-ins000001.result~f45c599efdf8352b:
        Delete: mysql-test/r/ins000001.result
      BitKeeper/deleted/.del-ins000001.test~2428ee5c9b1bc483:
        Delete: mysql-test/t/ins000001.test
      client/mysqlbinlog.cc:
        Removed random chars after filename for LOAD DATA INFILE
      client/mysqltest.c:
        Add support for --replace for 'exec'
      mysql-test/r/drop_temp_table.result:
        Updated results after quoting change
      mysql-test/r/fulltext_multi.result:
        Updated results after quoting change
      mysql-test/r/fulltext_order_by.result:
        Updated results after quoting change
      mysql-test/r/insert.result:
        New tests
      mysql-test/r/insert_select.result:
        Updated results after quoting change
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Updated results after quoting change
      mysql-test/r/mysqlbinlog.result:
        Updated results after quoting change
      mysql-test/r/rpl_log.result:
        Updated results after quoting change
      mysql-test/t/fulltext_multi.test:
        Remove 'use'
      mysql-test/t/fulltext_order_by.test:
        Remove 'use'
      mysql-test/t/insert.test:
        Merge test with ins0000001.test
      mysql-test/t/mysqlbinlog.test:
        Don't refer to install dir in result
      sql/log_event.cc:
        Add quoting for use `database` for mysqlbinlog
      support-files/mysql.server.sh:
        Move pid_file test after arguments have been parsed
      e03265d4
  13. 28 Sep, 2003 1 commit
    • unknown's avatar
      Fix for BUG#1345 "SQL Syntax Error in binarylog with DROP TABLES": · 3106e311
      unknown authored
      it's just backquoting the db's and table's names
      when writing DROP TEMPORARY TABLE to the binlog when a connection ends.
      A testcase for this.
      
      
      sql/sql_base.cc:
        backquote db and table name when writing DROP TEMPORARY TABLE to the binlog
        when a connection ends.
      3106e311
  14. 24 Sep, 2003 5 commits
    • unknown's avatar
      fixed bug #1194 · 2d9e4e66
      unknown authored
      (changes in Item_func_set_user_var::update, ::val, ::val_str, ::val_int)
      
      
      mysql-test/r/user_var.result:
        added tests for bug #1194
      mysql-test/t/user_var.test:
        added tests for bug #1194
      2d9e4e66
    • unknown's avatar
      Fix for BUG#1391: · dae13b54
      unknown authored
      "If LOAD DATA INFILE 'small_file' fails on master, slave leaves temp files"
      (the bug is in the master)
      
      
      mysql-test/r/rpl_loaddata.result:
        result update
      mysql-test/std_data/rpl_loaddata2.dat:
        change to introduce a unique key violation
      mysql-test/t/rpl_loaddata.test:
        testcase for bug#1391.
      sql/sql_load.cc:
        fix for bug#1391:
        for a small file, we had in the binlog only the Create_file, not the Delete_file
        (the Create_file was written when the READ_INFO was destroyed).
      dae13b54
    • unknown's avatar
      Test for mysqlbinlog · 87bc22a5
      unknown authored
      Particularly for BUG#1340 mysqlbinlog coredumps when reading Exec
      event without seeing Create_file event before
      
      
      mysql-test/mysql-test-run.sh:
        Now mysqlbinlog will use proper temporary directory
      87bc22a5
    • unknown's avatar
      Added MYSQL_BINLOG variable. · 97933001
      unknown authored
      97933001
    • unknown's avatar
      #1169: Add --exec command to mysqltest · 9e2b97fb
      unknown authored
      9e2b97fb
  15. 19 Sep, 2003 1 commit
  16. 17 Sep, 2003 2 commits
    • unknown's avatar
      Applied Monty corrections to the FULL SCAN · c5e6bcea
      unknown authored
      optimiser bug patch.
      
      
      mysql-test/r/distinct.result:
        test results reverted
      mysql-test/r/order_by.result:
        test results reverted
      sql/sql_select.cc:
        found_constrain renamed to found_constraint
        We don't perform full cartesian product in 
        case when JOIN BUFFER is used: it was taken
        into account.
        s->read_time may contain range index read time,
        so to get full table scan time is necessary to
        call s->table->file->scan_time().
      c5e6bcea
    • unknown's avatar
      524fe47d
  17. 16 Sep, 2003 1 commit
    • unknown's avatar
      select.test cleanup · cac860c7
      unknown authored
      mysql-test/r/select.result:
        unnecessary info removed from result
      mysql-test/t/select.test:
        unnecessary info don't get into result any more
      cac860c7
  18. 15 Sep, 2003 2 commits
    • unknown's avatar
      Fixed bug in the optimiser for FULL TABLE SCAN case: · db03c7e8
      unknown authored
      to estimate correctly cost of full table scan we should take into
      account rows read and skipped on each iteration.
      
      
      mysql-test/r/distinct.result:
        Fixed test suite: now full scan is used
        less often
      mysql-test/r/join_outer.result:
        Fixed test suite: now full scan is used
        less often
      mysql-test/r/select_safe.result:
        Fixed test suite: now full scan is used
        less often
      db03c7e8
    • unknown's avatar
      fixed server crash on moving query block with pointers to same table in it (BUG#988) · c35f246b
      unknown authored
      removed server options
      
      
      BitKeeper/deleted/.del-query_cache-master.opt~c4daeaa5e40881:
        Delete: mysql-test/t/query_cache-master.opt
      mysql-test/r/query_cache.result:
        test for BUG#988
      mysql-test/t/query_cache.test:
        test for BUG#988
        removed server options
      sql/sql_cache.cc:
        fixed moving query block with pointers to same table in it
      c35f246b
  19. 11 Sep, 2003 1 commit
    • unknown's avatar
      * Fix for BUG#1248: "LOAD DATA FROM MASTER drops the slave's db unexpectedly". · 69b8b3ff
      unknown authored
      Now LOAD DATA FROM MASTER does not drop the database, instead it only tries to
      create it, and drops/creates table-by-table.
      * replicate_wild_ignore_table='db1.%' is now considered as "ignore the 'db1'
      database as a whole", as it already works for CREATE DATABASE and DROP DATABASE.
      
      
      mysql-test/r/rpl000009.result:
        result update
      mysql-test/t/rpl000009.test:
        test that LOAD DATA FROM MASTER does not drop databases,
        but rather table by table, thus preserving non-replicated tables.
        Test that LOAD DATA FROM MASTER reports the error when a table could not
        be dropped (system's "permission denied" for example).
        Test that LOAD TABLE FROM MASTER reports the error when the table already exists.
      sql/repl_failsafe.cc:
        * replicate_wild_ignore_table='db1.%' is now considered as "ignore the 'db1'
        database as a whole", as it already works for CREATE DATABASE and DROP DATABASE.
        * If a db matches replicate_*_db rules, we don't drop/recreate it because this
        could drop some tables in this db which could be slave-specific. Instead,
        we do a CREATE DATABASE IF EXISTS, and we will drop each table which has
        an equivalent on the master, table-by-table.
      sql/slave.cc:
        New argument to drop the table in create_table_from_dump() 
        (LOAD TABLE/DATA FROM MASTER are the only places where this function is used).
        This is needed because LOAD DATA FROM MASTER does not drop the database anymore.
        The behaviour when the table exists is unchanged: LOAD DATA silently replaces
        the table, LOAD TABLE gives error.
      sql/slave.h:
        new argument to drop the table in fetch_master_table
      sql/sql_parse.cc:
        do not drop the table in LOAD TABLE FROM MASTER (this behaviour is already
        true; but changes in LOAD DATA FROM MASTER made the argument needed).
      69b8b3ff
  20. 09 Sep, 2003 1 commit
    • unknown's avatar
      Cleaned up last bug fixes · 8272be94
      unknown authored
      Fix bug in SHOW GRANTS when there is a column privilege but no table privilege
      
      
      include/mysql.h:
        Make server_inited external
      libmysqld/libmysqld.c:
        Remove reference to (wrong) external variable
      mysql-test/r/grant.result:
        Fixed up grant test to not user 'user1' or 'user2'
        Check for bug in SHOW GRANTS when there is a column privilege but no table privilege
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Change to use tables t1 and t2
      mysql-test/t/grant.test:
        Fixed up grant test to not user 'user1' or 'user2'
        Check for bug in SHOW GRANTS when there is a column privilege but no table privilege
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Change to use tables t1 and t2
      sql/sql_acl.cc:
        Fix bug in SHOW GRANTS when there is a column privilege but no table privilege
      sql/sql_parse.cc:
        Use HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      8272be94
  21. 05 Sep, 2003 1 commit
    • unknown's avatar
      Fixed rare bug in MYISAM introduced in 4.0.3 where the index file header was... · a91b55ce
      unknown authored
      Fixed rare bug in MYISAM introduced in 4.0.3 where the index file header was not updated directly after an UPDATE of split dynamic rows.
      
      
      myisam/mi_locking.c:
        Added DBUG info
      myisam/mi_open.c:
        Added DBUG info
      myisam/mi_update.c:
        More comments
        Fixed rare bug in MYISAM introduced in 4.0.3 where the index file header
        was not updated directly after an UPDATE of split dynamic rows.
      mysql-test/r/myisam.result:
        Added test case for MyISAM UPDATE bug
      mysql-test/t/myisam.test:
        Added test case for MyISAM UPDATE bug
      a91b55ce
  22. 03 Sep, 2003 1 commit
  23. 02 Sep, 2003 1 commit
  24. 01 Sep, 2003 1 commit
  25. 29 Aug, 2003 1 commit
    • unknown's avatar
      Revert change of lower-case-table handling as this breaks how alias works. · 6d17d7f5
      unknown authored
      Changes like this should be done to 4.1, not to a stable release
      
      
      mysql-test/r/lowercase_table.result:
        Revert change of lower-case-table handling
      mysql-test/t/lowercase_table.test:
        Revert change of lower-case-table handling
      sql/sql_class.cc:
        Revert change of lower-case-table handling
      sql/sql_class.h:
        Revert change of lower-case-table handling
      sql/sql_parse.cc:
        Revert change of lower-case-table handling
      sql/sql_table.cc:
        Revert change of lower-case-table handling
      sql/sql_yacc.yy:
        Revert change of lower-case-table handling
      6d17d7f5
  26. 28 Aug, 2003 2 commits
    • unknown's avatar
      Portability fixes · 6fd5403d
      unknown authored
      client/mysqltest.c:
        Removed not used functions
      myisam/mi_dynrec.c:
        Added assert to avoid compilation errors
      mysql-test/r/isam.result:
        Updated results after merge
      sql/log_event.cc:
        Cleanup
      sql/mysql_priv.h:
        Cleanup
      sql/sql_class.cc:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      sql/sql_class.h:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      6fd5403d
    • unknown's avatar
      post-merge fixes · f505877c
      unknown authored
      myisam/mi_dynrec.c:
        included assert.h
      mysql-test/r/isam.result:
        results updated
      f505877c