1. 19 Sep, 2003 1 commit
    • unknown's avatar
      SCRUM · 83e8881a
      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
      83e8881a
  2. 18 Sep, 2003 6 commits
    • unknown's avatar
      SCRUM · 4c638048
      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
      4c638048
    • unknown's avatar
      SCRUM: · 88fcf2a9
      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
      88fcf2a9
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · cbc431db
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      
      cbc431db
    • unknown's avatar
      configure.in: · 613d4e44
      unknown authored
        Fix the problem with errmsg compilation
      
      
      configure.in:
        Fix the problem with errmsg compilation
      613d4e44
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · f354f336
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      
      f354f336
    • unknown's avatar
      SCRUM · 4535f689
      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
      4535f689
  3. 17 Sep, 2003 8 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · d1e3e9f3
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      d1e3e9f3
    • unknown's avatar
      SCRUM: · 194f6725
      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
      194f6725
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · cf24f5ac
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-union-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      cf24f5ac
    • unknown's avatar
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 11d36fa8
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      11d36fa8
    • unknown's avatar
      SCRUM · 6b05f916
      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
      6b05f916
    • unknown's avatar
      abd0afa3
    • unknown's avatar
      BUG #1305: ISAM table handler should not be compiled by default under 4.1 · 65aec56c
      unknown authored
      
      include/config-win.h:
        ISAM table handler is no longer compiled with 4.1
      65aec56c
  4. 16 Sep, 2003 9 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · eead70fe
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      eead70fe
    • unknown's avatar
      Bug fix: · 2e95bcc4
      unknown authored
        SET character_set_connection=newcharset;
        SELECT hex('text');
      
      The above sequence failed in some cases.
      
      
      2e95bcc4
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 076b089a
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      076b089a
    • unknown's avatar
      UCS tests · 414bd57b
      unknown authored
      414bd57b
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3952cb0f
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      sql/sql_class.h:
        Auto merged
      3952cb0f
    • unknown's avatar
      SCRUM · d0580715
      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
      d0580715
    • unknown's avatar
      Bug fix: · 62f2cb14
      unknown authored
      http://bugs.mysql.com/bug.php?id=1264
      
      
      62f2cb14
    • unknown's avatar
      Bug fix: · a0c238f6
      unknown authored
      http://bugs.mysql.com/bug.php?id=1264
      
      
      a0c238f6
    • unknown's avatar
      Bug fix: · 0ebd55fc
      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 
      
      
      
      0ebd55fc
  5. 15 Sep, 2003 14 commits
  6. 14 Sep, 2003 2 commits