1. 14 May, 2005 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · bd6aaee9
      unknown authored
      into mishka.local:/home/my/mysql-5.0
      
      
      bd6aaee9
    • unknown's avatar
    • unknown's avatar
      More post-merge fixes. · bb2b8120
      unknown authored
      
      mysql-test/t/ps_grant.test:
        More post-merge fixes: show processlist must be last.
      bb2b8120
    • unknown's avatar
      A post-merge fix. · 86826f13
      unknown authored
      86826f13
    • unknown's avatar
      Manual merge (again) · 7f5bf3dc
      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
      7f5bf3dc
  2. 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
  3. 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
  4. 10 May, 2005 11 commits
    • unknown's avatar
      Manual merge · 62344496
      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
      62344496
    • unknown's avatar
      Many files: · e02416c5
      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.
      e02416c5
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · edcdc57b
      unknown authored
      into quadita2.mysql.com:/nfstmp1/guilhem/mysql-5.0-4ita
      
      
      edcdc57b
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 525f5847
      unknown authored
      into mysql.com:/home/gluh/MySQL/Devel/mysql-5.0
      
      
      sql/sql_show.cc:
        Auto merged
      525f5847
    • unknown's avatar
      Bug#10018: use INFORMATION_SCHEMA works, but show tables in it returns error · 4653d7e1
      unknown authored
        additional fix after review
      
      
      4653d7e1
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0f436b32
      unknown authored
      into mysql.com:/Users/kent/mysql/cw/mysql-4.1
      
      
      0f436b32
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 73a49cf1
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-4.1
      
      
      73a49cf1
    • unknown's avatar
      Fix for Ingo · 4c2265b0
      unknown authored
      
      BUILD/check-cpu:
        Set old_flag to pentium
      4c2265b0
    • unknown's avatar
      comment change (post-review of "replication of triggers"). Btw date_formats... · ba7cf8ca
      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
      ba7cf8ca
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · d3697c75
      unknown authored
      into quadita2.mysql.com:/nfstmp1/guilhem/mysql-5.0-4ita
      
      
      d3697c75
    • unknown's avatar
      ctype-big5.c: · 5afb7222
      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
      5afb7222