1. 15 May, 2005 10 commits
    • unknown's avatar
      Merge · 7f7da689
      unknown authored
      
      client/mysqltest.c:
        SCCS merged
      7f7da689
    • unknown's avatar
      mysqltest.c: · 94f3584b
      unknown authored
        To solve bug#8455, call mysql_affected_rows() earlier, before query to find warnings
      
      
      client/mysqltest.c:
        To solve bug#8455, call mysql_affected_rows() earlier, before query to find warnings
      94f3584b
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · 0697f1d1
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      0697f1d1
    • unknown's avatar
      mysqltest.c: · 8fd8d819
      unknown authored
        To solve bug#6193, also reset require when using 'eval' for running query
      mysql-test-run.pl:
        In cleanup, remove possible soft link to var directory
      
      
      mysql-test/mysql-test-run.pl:
        In cleanup, remove possible soft link to var directory
      client/mysqltest.c:
        To solve bug#6193, also reset require when using 'eval' for running query
      8fd8d819
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · f4038de7
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      f4038de7
    • unknown's avatar
      mtr_report.pl, mtr_process.pl, mysql-test-run.pl: · bea0e79f
      unknown authored
        Added option --vardir=<directory> for feature bug#10096
      
      
      mysql-test/mysql-test-run.pl:
        Added option --vardir=<directory> for feature bug#10096
      mysql-test/lib/mtr_process.pl:
        Added option --vardir=<directory> for feature bug#10096
      mysql-test/lib/mtr_report.pl:
        Added option --vardir=<directory> for feature bug#10096
      bea0e79f
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · 3f53fa14
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/init_db.sql:
        Auto merged
      3f53fa14
    • unknown's avatar
      mysql-test-run.pl: · 657469ba
      unknown authored
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      init_db.sql:
        Initial db updates
      
      
      mysql-test/lib/init_db.sql:
        Initial db updates
      mysql-test/mysql-test-run.pl:
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      657469ba
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · aa778612
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-compile
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      aa778612
    • unknown's avatar
      mysqltest.c, mysql-test-run.sh: · f4425b50
      unknown authored
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      mysql-test-run.sh, suppress.purify:
        Use Purify suppress file
      
      
      mysql-test/suppress.purify:
        Purify suppress file
      mysql-test/mysql-test-run.sh:
        Use Purify suppress file
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      client/mysqltest.c:
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      f4425b50
  2. 14 May, 2005 6 commits
  3. 13 May, 2005 18 commits
    • unknown's avatar
    • unknown's avatar
      Fix wrong format specifier in error messages. · 752372f6
      unknown authored
      Not to be pushed into 5.0 as there it's fixed differently (in the new
      format of error messages)
      
      
      sql/share/danish/errmsg.txt:
        Fix wrong format specifier in an error message.
      sql/share/serbian/errmsg.txt:
        Fix wrong format specifier in an error message.
      752372f6
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · e571163e
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      e571163e
    • unknown's avatar
      sql/ha_blackhole.cc · c3f73a42
      unknown authored
          bug#10175 - blackhole.test hangs with "Warning: prev link 1 didn't point at previous lock at read: read lock with no write locks"
      sql/sql_base.cc
          libmysqld/examples/mysql.cc linking problem
      
      
      sql/ha_blackhole.cc:
        bug#10175 - blackhole.test hangs with "Warning: prev link 1 didn't point at previous lock at read: read lock with no write locks"
      sql/sql_base.cc:
        libmysqld/examples/mysql.cc linking problem
      c3f73a42
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 18fd0b94
      unknown authored
      into mishka.local:/home/my/mysql-5.0
      
      
      18fd0b94
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 2b518223
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      2b518223
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-9603 · c4dcc43e
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      c4dcc43e
    • unknown's avatar
      Fixup from 4.1 to 5.0 merge · 9a8d59b0
      unknown authored
      
      sql/sql_lex.h:
        Fix length of options member
      9a8d59b0
    • unknown's avatar
      row0mysql.c: · c4a1210f
      unknown authored
        InnoDB wrongly complained in the .err log that MySQL is trying to drop a non-existent table, if tablespace ran out (Bug #10607)
      
      
      innobase/row/row0mysql.c:
        InnoDB wrongly complained in the .err log that MySQL is trying to drop a non-existent table, if tablespace ran out (Bug #10607)
      c4a1210f
    • unknown's avatar
      Add missing commas to errmsg.c · 6f4c2486
      unknown authored
      
      libmysql/errmsg.c:
        Add missing commas
      6f4c2486
    • unknown's avatar
      92cb62c8
    • unknown's avatar
      added function mysql_set_character_set (reviewed by Monty) · 29f3f4a2
      unknown authored
      as a work around for #8317 and #9637
      
      This function sends SET NAMES command and changes mysql->charset
      so mysql_real_escape_string will work as expected.
      
      
      libmysql/libmysql.def:
        added new function mysql_set_character_set
      29f3f4a2
    • unknown's avatar
      Merge · 7a42c5fd
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      7a42c5fd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2380fc93
      unknown authored
      into mishka.local:/home/my/mysql-5.0
      
      
      mysql-test/r/group_min_max.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      2380fc93
    • unknown's avatar
      Fix for valgrind bug in decimal code · db416599
      unknown authored
      
      sql/item_func.cc:
        prec_increment should be assigned before fix_length_and_dec call
      db416599
    • unknown's avatar
      concurrent-insert can now be set to 2 for concurrent inserts when there is holes in the data file · b21cf962
      unknown authored
      myisam_max_extra_sort_file_size is depricated
      Ensure that myisam_data_pointer_size is honoured when creating new MyISAM files
      Changed default value of myisam_data_pointer_size from 4 to 6 to get rid of 'table-is-full' errors
      
      
      
      include/myisam.h:
        Change type of myisam_block_size and myisam_concurrent_insert to make them changeable in mysqld.cc
        Removed not used varaible myisam_max_extra_temp_length
      include/thr_lock.h:
        Added extra parameter to get_status
      myisam/mi_create.c:
        Ensure that myisam_data_pointer_size is honoured
      myisam/mi_dynrec.c:
        If 'append_insert_at_end' is set, only write at end of myisam record file
      myisam/mi_locking.c:
        Add extra argument to 'mi_get_status' to allow thr_lock to signal that we want to do a concurrent insert
        If this is used, we will append new insert rows at end of data file.
        Change mi_check_status() to allow concurrent_inserts even if there are holes in the file when myisam_concurent_insert=2
      myisam/mi_static.c:
        Change behavior of myisam_concurrent_insert so that setting this to 2 allows inserts even if there is a hole in the data file.
        Default value is 2 for MyISAM direct usage but will be set to 1 (old default) by mysqld.cc
      myisam/mi_statrec.c:
        If 'append_insert_at_end' is set, only write at end of myisam record file
      myisam/mi_write.c:
        If 'append_insert_at_end' is set, only write at end of myisam record file
      myisam/myisamdef.h:
        Support for insert-at-end even if there is holes in data file
      mysql-test/r/gis-rtree.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/group_min_max.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/index_merge.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/index_merge_ror.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/merge.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/myisam.result:
        Test of concurrent_insert=2
      mysql-test/r/null.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/preload.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/ps_1general.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/range.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/r/variables.result:
        concurrent_insert is now a integer, not a boolean
        myisam_extra_sort_file_size is deleted
      mysql-test/r/view.result:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/t/index_merge.test:
        Test result changed because default value for myisam_data_pointer_size is changed from 4 -> 6
      mysql-test/t/myisam.test:
        Test of concurrent_insert=2
      mysql-test/t/ps_1general.test:
        Drop test table
      mysql-test/t/variables.test:
        concurrent_insert is now a integer, not a boolean
        myisam_extra_sort_file_size is deleted
      mysql-test/t/view.test:
        Drop tables that may be left from previous tests
      mysys/thr_lock.c:
        Extra paramter to get_status to signal if concurrent_insert was used
      sql/mysqld.cc:
        concurrent-insert can now be set to 2 for concurrent inserts when there is holes in the data file
        myisam_max_extra_sort_file_size is depricated
      sql/set_var.cc:
        concurrent-insert is now an integer, not a bool
        myisam_max_extra_sort_file_size is deleted
      b21cf962
    • unknown's avatar
      Add myself to the list of users who don't automatically check out · e3cab920
      unknown authored
      all version controlled files (should speed up bk citool)
      
      
      e3cab920
    • unknown's avatar
      Merge book.sanja.is.com.ua:/Users/bell/mysql/bk/mysql-5.0 · b8b76e22
      unknown authored
      into book.sanja.is.com.ua:/Users/bell/mysql/bk/work-bug-5.0
      
      
      sql/item.h:
        Auto merged
      b8b76e22
  4. 12 May, 2005 6 commits
    • unknown's avatar
      If the system is under high load 'show full processlist' might report the · cbbc4ff6
      unknown authored
      process of the predecessing test case instead of the current test case. 
      Shifting the command to the end of the current test case should avoid this problem. 
      
      
      mysql-test/r/ps_grant.result:
        Updated result
      mysql-test/t/ps_grant.test:
        Shift ' show full processlist ' to the end of the test script
      cbbc4ff6
    • unknown's avatar
      Fixed bug 10465. · 4acfc0b6
      unknown authored
      4acfc0b6
    • unknown's avatar
      --default-extra-file handling code fix. · 7b36ac48
      unknown authored
      
      mysys/default.c:
        if we check for error, we should set it.
      7b36ac48
    • unknown's avatar
      fix (Bug #8295 and #8296: varchar and varbinary conversion) · 362a340d
      unknown authored
      select, gis & gis-tree tests fails at the moment, but
      I will push this CS because it was tested before and I'm absolutely
      sure it's right.
      
      
      mysql-test/r/strict.result:
        fix (Bugs #8295 and #8296: varchar and varbinary conversion)
      mysql-test/r/type_blob.result:
        fix (Bugs #8295 and #8296: varchar and varbinary conversion)
      mysql-test/t/strict.test:
        fix (Bugs #8295 and #8296: varchar and varbinary conversion)
      sql/sql_table.cc:
        fix (Bugs #8295 and #8296: varchar and varbinary conversion):
        1. fon't convert datatypes if it's strict mode;
        2. better warning.
      362a340d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c572e469
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-5.0-9478
      
      
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      c572e469
    • unknown's avatar
      A fix and test case for Bug#9478 "mysql_stmt_attr_set mysql_stmt_execute" · 2a8556f3
      unknown authored
      (crash on attempt to re-execute a statement with an open cursor) + 
      post-review fixes.
      
      
      include/errmsg.h:
        Add a special error message when we attempt to mysql_stmt_fetch
        from a statement which has no result set.
      libmysql/errmsg.c:
        Error message text for CR_NO_RESULT_SET
      libmysql/libmysql.c:
        Move the code which frees result sets on client and closes the cursor
        on server, resets long data state on client and server.
        This makes one function out of two (mysql_stmt_reset and
        mysql_stmt_free_result), thus aggregating all related reset work
        in one place.
      sql-common/client.c:
        Fix one place where we flushed the pending result set of a statement,
        but didn't set unbuffered_fetch_cancelled flag.
      sql/share/errmsg.txt:
        Fix format of ER_UNKNOWN_STMT_HANDLER error message (needs to
        be fixed separately in 4.1). Add two new error messages 
        for the case when we fetch from when there is no cursor
        and for the case when we attempt to execute a statement while there is
        a cursor.
      sql/sql_prepare.cc:
        Return error when we fetch while there is no open cursor and
        when we call execute while there is a pending cursor.
        Fix mysql_stmt_reset to close the open cursor if there is any.
      sql/sql_select.cc:
        free_items and free_root moved to Cursor::close().
      sql/sql_select.h:
        A comment added.
      tests/mysql_client_test.c:
        A test case for Bug#9478, test the case of mysql_stmt_reset
        called for client-side cached result set and for the case with open cursor.
        All strcpy replaced with strmov (review request).
      2a8556f3