1. 19 Sep, 2003 5 commits
    • unknown's avatar
      Merge abarkov@build.mysql.com:/home/bk/mysql-4.1 · 0a6dae64
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      
      sql/item_func.cc:
        Auto merged
      0a6dae64
    • unknown's avatar
      Fixed that multibyte charsets didn't honor multibyte · 25cb265e
      unknown authored
      sequence boundaries in functions LIKE and LOCATE in
      the case of "binary" collation. Comparison was done
      like if the strings were just a binary strings without
      character set assumption.
      
      25cb265e
    • unknown's avatar
      SCRUM · 67010e01
      unknown authored
      embedded library
      hash_insert renamed to my_hash_insert to avoid name intersection
      with another libraries
      is there better idea?
      
      
      client/mysqltest.c:
        hash_insert ->my_hash_insert
      include/hash.h:
        hash_insert ->my_hash_insert
      mysys/hash.c:
        hash_insert ->my_hash_insert
      mysys/testhash.c:
        hash_insert ->my_hash_insert
      sql/ha_berkeley.cc:
        hash_insert ->my_hash_insert
      sql/ha_innodb.cc:
        hash_insert ->my_hash_insert
      sql/hash_filo.h:
        hash_insert ->my_hash_insert
      sql/item_func.cc:
        hash_insert ->my_hash_insert
      sql/lock.cc:
        hash_insert ->my_hash_insert
      sql/repl_failsafe.cc:
        hash_insert ->my_hash_insert
      sql/set_var.cc:
        hash_insert ->my_hash_insert
      sql/slave.cc:
        hash_insert ->my_hash_insert
      sql/sql_acl.cc:
        hash_insert ->my_hash_insert
      sql/sql_base.cc:
        hash_insert ->my_hash_insert
      sql/sql_cache.cc:
        hash_insert ->my_hash_insert
      sql/sql_parse.cc:
        hash_insert ->my_hash_insert
      sql/sql_select.cc:
        hash_insert ->my_hash_insert
      sql/sql_udf.cc:
        hash_insert ->my_hash_insert
      sql/table.cc:
        hash_insert ->my_hash_insert
      tools/mysqlmanager.c:
        hash_insert ->my_hash_insert
      67010e01
    • unknown's avatar
      SCRUM · 87d31e9c
      unknown authored
      embedded library
      missed memory freeing added
      
      
      libmysqld/embedded_priv.h:
        declaration added
      libmysqld/lib_sql.cc:
        implementation added
      libmysqld/libmysqld.c:
        mysql->thd releasing
      87d31e9c
    • unknown's avatar
      SCRUM · 9000e94d
      unknown authored
      prepared statements in embedded library.
      some fixes after testing
      
      
      include/mysql.h:
        virtual method added
      libmysql/client_settings.h:
        declaration added
      libmysql/libmysql.c:
        implementation added
        mysql_fetch changed to work in both libraries
      libmysqld/lib_sql.cc:
        implementation added
      sql-common/client.c:
        added items in methods table
      sql/client_settings.h:
        decided to remove such defines - i placed single #ifdef in client.c
      9000e94d
  2. 18 Sep, 2003 6 commits
    • unknown's avatar
      SCRUM · cb253b2a
      unknown authored
      embedded library
      some dirty places cleaned:
      
      uint removed from mysql.h as Miguel suggested
      empty_string renamed as my_empty_string to get rid of name's intersections
      using embedded library
      
      
      include/mysql.h:
        uint -> unsigned int
      include/mysql_com.h:
        this caused warnings when not in expression
      libmysqld/lib_sql.cc:
        uint -> unsigned int
      sql-common/client.c:
        uint -> unsigned int
      sql/item_strfunc.cc:
        empty_string -> my_empty_string
      sql/mysql_priv.h:
        empty_string -> my_empty_string
      sql/set_var.cc:
        empty_string -> my_empty_string
      sql/sql_class.cc:
        empty_string -> my_empty_string
      sql/sql_prepare.cc:
        net_flush ifdef-ed
      cb253b2a
    • unknown's avatar
      SCRUM: · da3118fa
      unknown authored
      embedded library
      I decided to get rid of #define mysql_some_function in mysql.h
      It puzzles users and makes problems with dynamic libraries
      
      Finally, there are only two functions left, that are covered with
      the #define-s and it won't hurt performance at all
      
      
      client/mysqltest.c:
        that'll be faster
      include/mysql.h:
        #defines changed to functions
      libmysql/libmysql.c:
        that'll be faster that calls of wrapper functions
      libmysqld/libmysqld.c:
        skip wrapper function
      sql-common/client.c:
        skip wrapper function
      da3118fa
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 86f1f2a1
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      86f1f2a1
    • unknown's avatar
      configure.in: · cf104c99
      unknown authored
        Fix the problem with errmsg compilation
      
      
      configure.in:
        Fix the problem with errmsg compilation
      cf104c99
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 9714fed8
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      9714fed8
    • unknown's avatar
      SCRUM · bfb441a5
      unknown authored
      prepared statements in embedded library
      
      
      include/mysql_com.h:
        to make net_flush() working in expressions
      libmysqld/lib_sql.cc:
        some bugs fixed
      libmysqld/libmysqld.c:
        we already have the define in client_settings.h
      sql/protocol.cc:
        net_store_data should work that way in Protocol_prep (embedded server)
      sql/protocol.h:
        definition for net_store_data
      sql/sql_prepare.cc:
        now it works in embedded library
      bfb441a5
  3. 17 Sep, 2003 8 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · ee7f8d15
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      ee7f8d15
    • unknown's avatar
      SCRUM: · dc35d021
      unknown authored
      prepared statements in embedded library
      
      
      include/mysql.h:
        Another 'virtual' method
      libmysql/client_settings.h:
        client implementation declared
      libmysql/libmysql.c:
        mysql_execute edited to work with embedded implementation
      libmysqld/lib_sql.cc:
        one error fixed (we do need parameter's buffer in embedded library)
        embedded recordset transfer methods implementations added
      sql-common/client.c:
        method added to the table
      sql/client_settings.h:
        no prepared statements in mimiclient
      sql/mysql_priv.h:
        these functions became global
      sql/protocol.cc:
        the stub added
      sql/protocol.h:
        had to change Protocol's interface for embedded library
      sql/sql_class.h:
        i changed this only for embedded case, but i think it's better to do the
        same for remote server also
      sql/sql_prepare.cc:
        parts of code #ifndef-ed
      dc35d021
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 20d852bb
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      20d852bb
    • unknown's avatar
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · e29cdcc2
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      e29cdcc2
    • unknown's avatar
      SCRUM · c6ac7fd4
      unknown authored
      prepared statements in embedded library
      
      
      include/mysql.h:
        stmt_execute 'virtual' method added
      include/sql_common.h:
        two functions became global
      libmysql/client_settings.h:
        declaration for cli_stmt_execute
      libmysql/libmysql.c:
        some functions changed to be usable from embedded library
      libmysqld/lib_sql.cc:
        code for embedded stmt_execute added
      sql-common/client.c:
        cli_stmt_execute added to the methods table
      sql/client_settings.h:
        no need for prepared statements in miniclient
      c6ac7fd4
    • unknown's avatar
      d47e94fb
    • unknown's avatar
      BUG #1305: ISAM table handler should not be compiled by default under 4.1 · 894e4340
      unknown authored
      
      include/config-win.h:
        ISAM table handler is no longer compiled with 4.1
      894e4340
  4. 16 Sep, 2003 9 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · db34d536
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      db34d536
    • unknown's avatar
      Bug fix: · 30386e25
      unknown authored
        SET character_set_connection=newcharset;
        SELECT hex('text');
      
      The above sequence failed in some cases.
      
      30386e25
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 70b818a8
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      70b818a8
    • unknown's avatar
      UCS tests · 387809b8
      unknown authored
      387809b8
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · d15c8ac8
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      sql/sql_class.h:
        Auto merged
      d15c8ac8
    • unknown's avatar
      SCRUM · bfc9efe4
      unknown authored
      Prepared statements in embedded server
      Several changes in library code with two goals:
      to make mysql_prepare_stmt working in embedded server
      to get rid of #define mysql_interface_func mysql->methods->interface_func
      in user's interface
      
      
      include/mysql.h:
        modifications of interface
        two goals: to implement prepared statements and to get rid
        of #define mysql_proc (mysql->smth) in interface
      include/sql_common.h:
        read_rows function got 'virtual'
      libmysql/client_settings.h:
        interface of some functions declared in client.c moved here
      libmysql/libmysql.c:
        several functions changed with declared goals
      libmysqld/embedded_priv.h:
        libmysqld.c <--> lib_sql.cc interface moved here
      libmysqld/lib_sql.cc:
        all embedded 'virtual' functions moved here so they can be static
      libmysqld/libmysqld.c:
        embedded 'virtual' function was moved out of here
      sql-common/client.c:
        several changes with the declared goal
      sql/sql_class.h:
        place to store statement data added to THD
      sql/sql_prepare.cc:
        storing of prepare_statement result for embedded server added
      bfc9efe4
    • unknown's avatar
      Bug fix: · a798f4da
      unknown authored
      http://bugs.mysql.com/bug.php?id=1264
      
      a798f4da
    • unknown's avatar
      Bug fix: · 669f4b3b
      unknown authored
      http://bugs.mysql.com/bug.php?id=1264
      
      669f4b3b
    • unknown's avatar
      Bug fix: · 70ee358b
      unknown authored
      http://bugs.mysql.com/bug.php?id=1129
      From:	Georg Richter
      Description: there is a problem with special chars like umlauts in comments 
      
      
      70ee358b
  5. 15 Sep, 2003 12 commits