1. 08 Mar, 2005 6 commits
  2. 07 Mar, 2005 15 commits
  3. 06 Mar, 2005 1 commit
    • unknown's avatar
      BUG#8351 post-review improvements. · 19925810
      unknown authored
      
      myisam/ft_boolean_search.c:
        quot, qend not needed anymore, removed.
        phrase initialization moved to ft_init_boolean_search.
        comments added.
        _ftb_strstr renamed to _ftb_check_phrase.
      myisam/ft_parser.c:
        style improvements.
      19925810
  4. 05 Mar, 2005 9 commits
    • unknown's avatar
      Porting of "buffered read" patch to 5.0 and post-review fixes. · e904d0e7
      unknown authored
      The patch implements the idea suggested by Olaf van der Spek in 
      thread "Client: many small reads?" (internals@lists.mysql.com).
      Now small reads performed by the client library are buffered.
      The buffering gives up to 2 times speedup when retrieving 
      one-column tables.
      
      
      BUILD/SETUP.sh:
        Remove --with-vio option which no longer exist.
      BUILD/compile-pentium64-valgrind-max:
        Remove --with-vio option which no longer exist.
      config/ac-macros/misc.m4:
        Removed --with-vio configure switch: we always use VIO. The switch,
         in fact, only saved us one pointer dereferencing per call in case we had
        only one transport type in VIO enabled.
      config/ac-macros/openssl.m4:
        Removed HAVE_VIO.
      include/config-win.h:
        Removed HAVE_VIO (not needed anymore)
        Added HAVE_VIO_READ_BUFF (define buffered client reads for Windows clients).
      include/violite.h:
        Removed HAVE_VIO, as currently VIO is always in use.
        Added declaration for vio_read_buff and related members in struct VIO.
      sql-common/client.c:
        Use flags to set up vio read buffering in mysql_real_connect.
      sql/mysqld.cc:
        Use flags to disable vio read buffering when creating a server 
        connection.
      vio/vio.c:
        Optionally set up vio read buffer when creating a new VIO structure.
      vio/viosocket.c:
        Implementation of client-side buffered reads in VIO: the idea 
        is to buffer small reads in a client buffer to save amount of
        syscalls per retrieved result set. The implementation relies
        on the fact that read/recv will return as soon as there is
        some data in the kernel buffer, no matter how big the given
        user's buffer is. To be able to disable it in case recv/read don't
        have such semantics, the new calls are guarded
        with #define HAVE_VIO_READ_BUFF. Currently buffered reading is 
        switched on only for BSD sockets and named pipes, both on Windows
        and UNIXes.
      e904d0e7
    • unknown's avatar
      sql_udf.cc: · 18f16edf
      unknown authored
        Comment changes: use standard style; fix grammar.
      
      
      sql/sql_udf.cc:
        Comment changes: use standard style; fix grammar.
      18f16edf
    • unknown's avatar
      func_group.test, func_str.result, func_group.result: · e75e10dd
      unknown authored
        after merge fixes
      
      
      mysql-test/r/func_group.result:
        after merge fixes
      mysql-test/r/func_str.result:
        after merge fixes
      mysql-test/t/func_group.test:
        after merge fixes
      e75e10dd
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · a12b0b28
      unknown authored
      into mysql.com:/home/bar/mysql-5.0
      
      
      a12b0b28
    • unknown's avatar
      Merge · e7eac027
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      innobase/trx/trx0trx.c:
        Auto merged
      mysql-test/r/ctype_collate.result:
        Auto merged
      mysql-test/r/func_system.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      innobase/ut/ut0mem.c:
        e
        merge from 4.1
      mysql-test/r/func_group.result:
        merge from 4.1
      mysql-test/r/func_str.result:
        merge from 4.1
      mysql-test/t/func_group.test:
        merge from 4.1
      e7eac027
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 52740354
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-sp
      
      
      sql/sp_head.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      52740354
    • unknown's avatar
      Fix for yet another memleak caused by SP-locking patch. · e3bc9d82
      unknown authored
      Improved handling of situations when we encounter error during
      CREATE PROCEDURE (FUNCTION/TRIGGER/...) and bail out of yyparse()
      without restoring proper THD::lex.
      
      
      sql/sp.cc:
        We do not need to call sp_head::restore_lex() explicitly to restore right
        value of THD::lex in case when we have encountered error during parsing.
        Now we do this in sp_head::~sp_head() instead.
      sql/sp_head.cc:
        sp_head::destroy():
         Fixed cleaning up of stack of auxilary LEXes. 
         We also restore right value of THD::lex during this process now.
      sql/sql_parse.cc:
        We do not need to call sp_head::restore_lex() explicitly to restore right
        value of THD::lex in case when we have encountered error during parsing.
        Now we do this in sp_head::~sp_head() instead.
      sql/sql_prepare.cc:
        We do not need to call sp_head::restore_lex() explicitly to restore right
        value of THD::lex in case when we have encountered error during parsing.
        Now we do this in sp_head::~sp_head() instead.
      sql/sql_trigger.cc:
        We do not need to call sp_head::restore_lex() explicitly to restore right
        value of THD::lex in case when we have encountered error during parsing.
        Now we do this in sp_head::~sp_head() instead.
      e3bc9d82
    • unknown's avatar
      0d7e68c9
    • unknown's avatar
      logging_ok: · f1c81bf6
      unknown authored
        Logging to logging@openlogging.org accepted
      func_group.result, func_group.test:
        Added a test case for bug #8893.
      opt_sum.cc:
        A misplaced initialization for the returned parameter
        prefix_len in the function find_key_for_maxmin caused
        usage of a wrong key prefix by the min/max optimization
        in cases when the matching index was not the first index
        that contained the min/max field.
      
      
      sql/opt_sum.cc:
        A misplaced initialization for the returned parameter
        prefix_len in the function find_key_for_maxmin caused
        usage of a wrong key prefix by the min/max optimization
        in cases when the matching index was not the first index
        that contained the min/max field.
      mysql-test/t/func_group.test:
        Added a test case for bug #8893.
      mysql-test/r/func_group.result:
        Added a test case for bug #8893.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      f1c81bf6
  5. 04 Mar, 2005 9 commits
    • unknown's avatar
      Chmod -x for ha_federated.h · 0ae5efb4
      unknown authored
      
      sql/ha_federated.h:
        Change mode to -rw-rw-r--
      0ae5efb4
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 554375ed
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.8915
      
      
      554375ed
    • unknown's avatar
      Fix for bug #8431 (FLOOR returns incorrect result) · 6e362a20
      unknown authored
      
      mysql-test/r/type_newdecimal.result:
        test result fixed
      mysql-test/t/type_newdecimal.test:
        test case enlarged for FLOOR and CEILING functions
      sql/item_func.cc:
        floor::int_op fixed - it should work differently depending on operand's type
      6e362a20
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · e5be4a13
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.8915
      
      
      sql/item_func.cc:
        Auto merged
      e5be4a13
    • unknown's avatar
      Fix for memory leak which was introduced by patch improving locking in SP. · f76b64f5
      unknown authored
      Made mysql_make_view() to call destructor for st_lex_local objects before
      throwing them away (this happens in case of error).
      
      
      sql/sql_lex.h:
        Made LEX's destructor virtual to be able properly destroy objects
        of inherited classes (i.e. of st_lex_local).
      sql/sql_view.cc:
        mysql_make_view():
          We should call destructor for st_lex_local object before throwing
          it away.
      f76b64f5
    • unknown's avatar
      Fix for bug #8430 (CEILING returns incorrect result) · 329a3dea
      unknown authored
      
      sql/item_func.cc:
        ceiling::int_op should work differently depending on argument's type
      329a3dea
    • unknown's avatar
      ut0mem.c: · 58002ddd
      unknown authored
        If InnoDB cannot allocate memory, keep retrying for 60 seconds before we crash mysqld; maybe the memory shortage is just temporary
      
      
      innobase/ut/ut0mem.c:
        If InnoDB cannot allocate memory, keep retrying for 60 seconds before we crash mysqld; maybe the memory shortage is just temporary
      58002ddd
    • unknown's avatar
      trx0trx.c: · 6736ce56
      unknown authored
        Do not assert, but print diagnostics if MySQL tries to free a trx where n_mysql_tables_in_use > 0
      
      
      innobase/trx/trx0trx.c:
        Do not assert, but print diagnostics if MySQL tries to free a trx where n_mysql_tables_in_use > 0
      6736ce56
    • unknown's avatar
      Manual merge SP-locking improvements patch with current tree. · b1095fb0
      unknown authored
      
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_rcontext.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.h:
        Auto merged
      sql/sp_head.cc:
        Manual merge.
      sql/sql_class.cc:
        Manual merge.
      sql/sql_parse.cc:
        Manual merge.
      sql/sql_yacc.yy:
        Manual merge.
      b1095fb0