1. 14 May, 2005 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 12afcba1
      unknown authored
      into mishka.local:/home/my/mysql-5.0
      
      12afcba1
    • unknown's avatar
    • unknown's avatar
      More post-merge fixes. · 86818ce2
      unknown authored
      
      mysql-test/t/ps_grant.test:
        More post-merge fixes: show processlist must be last.
      86818ce2
    • unknown's avatar
      A post-merge fix. · b0d14503
      unknown authored
      b0d14503
    • unknown's avatar
      Manual merge (again) · f71917ff
      unknown authored
      
      configure.in:
        Auto merged
      include/mysql.h:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      BitKeeper/deleted/.del-ctype-cp932.c:
        Auto merged
      BitKeeper/deleted/.del-errmsg.txt~4617575065d612b9:
        Auto merged
      BitKeeper/deleted/.del-errmsg.txt~ffe4a0c9e3206150:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/ps_grant.test:
        Auto merged
      sql/ha_blackhole.cc:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      f71917ff
  2. 13 May, 2005 18 commits
    • unknown's avatar
    • unknown's avatar
      Fix wrong format specifier in error messages. · 588e5b52
      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.
      588e5b52
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 1d0d56ee
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      1d0d56ee
    • unknown's avatar
      sql/ha_blackhole.cc · d9ab7c3c
      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
      d9ab7c3c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 73cc08e8
      unknown authored
      into mishka.local:/home/my/mysql-5.0
      
      73cc08e8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 62de0dab
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      62de0dab
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-9603 · 147ac051
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      147ac051
    • unknown's avatar
      Fixup from 4.1 to 5.0 merge · 1403a15a
      unknown authored
      
      sql/sql_lex.h:
        Fix length of options member
      1403a15a
    • unknown's avatar
      row0mysql.c: · 40224c76
      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)
      40224c76
    • unknown's avatar
      Add missing commas to errmsg.c · d000460c
      unknown authored
      
      libmysql/errmsg.c:
        Add missing commas
      d000460c
    • unknown's avatar
      e425a507
    • unknown's avatar
      added function mysql_set_character_set (reviewed by Monty) · cb6681b3
      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
      cb6681b3
    • unknown's avatar
      Merge · 8150f211
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      8150f211
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 662f6d15
      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
      662f6d15
    • unknown's avatar
      Fix for valgrind bug in decimal code · 07a52c83
      unknown authored
      
      sql/item_func.cc:
        prec_increment should be assigned before fix_length_and_dec call
      07a52c83
    • unknown's avatar
      concurrent-insert can now be set to 2 for concurrent inserts when there is holes in the data file · 6103d1a4
      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
      6103d1a4
    • unknown's avatar
      Add myself to the list of users who don't automatically check out · 1ddf8a13
      unknown authored
      all version controlled files (should speed up bk citool)
      
      1ddf8a13
    • unknown's avatar
      Merge book.sanja.is.com.ua:/Users/bell/mysql/bk/mysql-5.0 · c41e3055
      unknown authored
      into book.sanja.is.com.ua:/Users/bell/mysql/bk/work-bug-5.0
      
      
      sql/item.h:
        Auto merged
      c41e3055
  3. 12 May, 2005 6 commits
    • unknown's avatar
      If the system is under high load 'show full processlist' might report the · d80d8cc5
      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
      d80d8cc5
    • unknown's avatar
      Fixed bug 10465. · 519f0f17
      unknown authored
      519f0f17
    • unknown's avatar
      --default-extra-file handling code fix. · 42bd83a1
      unknown authored
      
      mysys/default.c:
        if we check for error, we should set it.
      42bd83a1
    • unknown's avatar
      fix (Bug #8295 and #8296: varchar and varbinary conversion) · 8e8d66ea
      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.
      8e8d66ea
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 6ca48dd0
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-5.0-9478
      
      
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      6ca48dd0
    • unknown's avatar
      A fix and test case for Bug#9478 "mysql_stmt_attr_set mysql_stmt_execute" · 459f384b
      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).
      459f384b
  4. 10 May, 2005 11 commits
    • unknown's avatar
      Manual merge · fd064489
      unknown authored
      
      sql/sql_base.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      fd064489
    • unknown's avatar
      Many files: · 6f45bdf3
      unknown authored
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      view.test:
        Added test case for bug #8528.
      view.result:
        Added test case for bug #8528. Fixed other test cases.
      
      
      mysql-test/r/view.result:
        Added test case for bug #8528. Fixed other test cases.
      mysql-test/t/view.test:
        Added test case for bug #8528.
      sql/sql_base.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/sql_delete.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/sql_insert.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/sql_parse.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/sql_prepare.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/sql_select.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/sql_update.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/sql_view.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/table.cc:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      sql/table.h:
        Fixed bug #8528.
        Representation for single-table views was made similar to
        representation for multi-table views.
      6f45bdf3
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · a473d7db
      unknown authored
      into quadita2.mysql.com:/nfstmp1/guilhem/mysql-5.0-4ita
      
      a473d7db
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 430d00cd
      unknown authored
      into mysql.com:/home/gluh/MySQL/Devel/mysql-5.0
      
      
      sql/sql_show.cc:
        Auto merged
      430d00cd
    • unknown's avatar
      Bug#10018: use INFORMATION_SCHEMA works, but show tables in it returns error · 522bf50a
      unknown authored
        additional fix after review
      
      522bf50a
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4a28f12d
      unknown authored
      into mysql.com:/Users/kent/mysql/cw/mysql-4.1
      
      4a28f12d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · fd4ac767
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      fd4ac767
    • unknown's avatar
      Fix for Ingo · f4e88ce3
      unknown authored
      
      BUILD/check-cpu:
        Set old_flag to pentium
      f4e88ce3
    • unknown's avatar
      comment change (post-review of "replication of triggers"). Btw date_formats... · 3c3ae880
      unknown authored
      comment change (post-review of "replication of triggers"). Btw date_formats segfaults with --ps-protocol - not caused by my changes though; I'll file a bug report.
      
      
      sql/sql_trigger.h:
        changing comment
      3c3ae880
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8018851a
      unknown authored
      into quadita2.mysql.com:/nfstmp1/guilhem/mysql-5.0-4ita
      
      8018851a
    • unknown's avatar
      ctype-big5.c: · c273cd94
      unknown authored
        additional fix for bug@10493, for sjis
      ctype-cp932.c:
        additional fix for bug#10493, for cp932
      
      
      strings/ctype-cp932.c:
        additional fix for bug#10493, for cp932
      strings/ctype-big5.c:
        additional fix for bug@10493, for sjis
      c273cd94