1. 10 Oct, 2003 2 commits
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 569e72af
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      sql/sql_yacc.yy:
        Auto merged
      569e72af
    • unknown's avatar
      WL#962: Added simple, read-only, non-scrolling, asensitive cursors in SPs, using the · 04c6b9b8
      unknown authored
      (updated) Protocol_cursor class.
      Also did some bug fixes.
      
      
      Docs/sp-imp-spec.txt:
        Added CURSOR docs (and fixed typos)
      Docs/sp-implemented.txt:
        Updated for CURSORs
      include/mysqld_error.h:
        New error codes/messages for CURSORs
      libmysqld/Makefile.am:
        SP cursors now needs this.
      mysql-test/r/sp-error.result:
        New tests for cursors.
      mysql-test/r/sp.result:
        New tests for cursors.
      mysql-test/t/sp-error.test:
        New tests for cursors.
      mysql-test/t/sp.test:
        New tests for cursors.
      sql/protocol.cc:
        We now always have Protocol_cursor (SPs use it)
      sql/protocol.h:
        Fixed bugs in Protocol_cursor (for SPs)
      sql/protocol_cursor.cc:
        Fixed bugs in Protocol_cursor (for SPs)
      sql/share/czech/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/danish/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/dutch/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/english/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/estonian/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/french/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/german/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/greek/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/hungarian/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/italian/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/japanese/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/korean/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/norwegian-ny/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/norwegian/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/polish/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/portuguese/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/romanian/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/russian/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/serbian/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/slovak/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/spanish/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/swedish/errmsg.txt:
        New error codes/messages for CURSORs
      sql/share/ukrainian/errmsg.txt:
        New error codes/messages for CURSORs
      sql/sp_head.cc:
        Added cursor support.
        Also fixed problems with item_lists, where pointers and ref_pointer_arrays.
      sql/sp_head.h:
        Added cursor support
      sql/sp_pcontext.cc:
        Added cursor support
      sql/sp_pcontext.h:
        Added cursor support
      sql/sp_rcontext.cc:
        Added cursor support, in particular the new sp_cursor class.
      sql/sp_rcontext.h:
        Added cursor support, in particular the new sp_cursor class.
      sql/sql_lex.h:
        We sometimes need to copy item_lists in LEX when executing substatements in SPs
      sql/sql_yacc.yy:
        Added minimal cursor support (not the full syntax yet).
      04c6b9b8
  2. 06 Oct, 2003 2 commits
  3. 03 Oct, 2003 2 commits
    • unknown's avatar
      Check that a FUNCTION contains RETURN and that we actually get a return value. · 4379cbcf
      unknown authored
      
      include/mysqld_error.h:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      mysql-test/r/sp-error.result:
        New error tests for missing RETURNs in FUNCTIONs.
      mysql-test/t/sp-error.test:
        New error tests for missing RETURNs in FUNCTIONs.
      sql/share/czech/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/danish/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/dutch/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/english/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/estonian/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/french/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/german/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/greek/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/hungarian/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/italian/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/japanese/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/korean/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/norwegian-ny/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/norwegian/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/polish/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/portuguese/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/romanian/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/russian/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/serbian/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/slovak/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/spanish/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/swedish/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/share/ukrainian/errmsg.txt:
        New error codes/messages for missing RETURNs in FUNCTIONs.
      sql/sp_head.h:
        Check that a FUNCTION contains RETURN.
      sql/sql_parse.cc:
        Check that a FUNCTION contains RETURN.
      sql/sql_yacc.yy:
        Check that a FUNCTION contains RETURN.
      4379cbcf
    • unknown's avatar
      Fixed BUG#822: Copying and clearing some things in thd/lex when · 869b49ef
      unknown authored
      executing sub-statements (selects) prevents crashes intermittent
      crashes.
      Also fixed bug in sql_yacc.yy (generated a hpop instruction when
      not needed).
      
      
      mysql-test/r/sp.result:
        Test-case for BUG#822.
      mysql-test/t/sp.test:
        Test-case for BUG#822.
      sql/sp_head.cc:
        Fixed BUG#822; needed to copy and clear some stuff when calling sub-statements.
      sql/sql_yacc.yy:
        Only generate hpop instruction when we actually have handlers.
      869b49ef
  4. 02 Oct, 2003 1 commit
  5. 01 Oct, 2003 2 commits
  6. 28 Sep, 2003 1 commit
    • unknown's avatar
      Merge laptop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · bb9a92cc
      unknown authored
      into laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-udf-5.0
      
      
      include/mysql_com.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/udf_example.cc:
        Auto merged
      bb9a92cc
  7. 24 Sep, 2003 4 commits
    • unknown's avatar
      Post-merge fixes. · 03042c7d
      unknown authored
      03042c7d
    • unknown's avatar
      Merging 4.1 -> 5.0 · cd8508d3
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      client/mysql.cc:
        Auto merged
      configure.in:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      BitKeeper/deleted/.del-sel000100.result~84ed46856cb3a69f:
        Auto merged
      BitKeeper/deleted/.del-sel000100.test~548501cad19a1a59:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      mysql-test/r/connect.result:
        Auto merged
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      scripts/mysql_create_system_tables.sh:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/records.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_derived.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_repl.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      cd8508d3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 4e09f14b
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      4e09f14b
    • unknown's avatar
      - Code cleanup: replaced C++-style comments with the proper syntax for · 07001f78
      unknown authored
         .c files (the IBM Visual Age C compiler aborts with a syntax error
         on these)
      
      
      libmysql/dll.c:
         - replaced C++-style comment with the proper syntax for .c files
           (the IBM Visual Age C compiler aborts with a syntax error on these)
      libmysql/libmysql.c:
         - replaced C++-style comment with the proper syntax for .c files
           (the IBM Visual Age C compiler aborts with a syntax error on these)
      mysys/my_getopt.c:
         - replaced C++-style comment with the proper syntax for .c files
           (the IBM Visual Age C compiler aborts with a syntax error on these)
      sql/net_serv.cc:
         - replaced C++-style comment with the proper syntax for .c files
           (the IBM Visual Age C compiler aborts with a syntax error on these)
      strings/ctype-bin.c:
         - replaced C++-style comment with the proper syntax for .c files
           (the IBM Visual Age C compiler aborts with a syntax error on these)
      tests/client_test.c:
         - replaced C++-style comment with the proper syntax for .c files
           (the IBM Visual Age C compiler aborts with a syntax error on these)
      07001f78
  8. 23 Sep, 2003 6 commits
  9. 22 Sep, 2003 8 commits
  10. 20 Sep, 2003 1 commit
  11. 19 Sep, 2003 9 commits
    • unknown's avatar
      comp_err.c: · d2989680
      unknown authored
        There are some problems compiling with pure "configure"
        I need to fix it first.
      
      
      extra/comp_err.c:
        There are some problems compiling with pure "configure"
        I need to fix it first.
      d2989680
    • unknown's avatar
      New test for UTF8 functionality · 4935e67c
      unknown authored
      4935e67c
    • unknown's avatar
      Merge abarkov@build.mysql.com:/home/bk/mysql-4.1 · 127d402e
      unknown authored
      into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      
      sql/item_func.cc:
        Auto merged
      127d402e
    • unknown's avatar
      Fixed that multibyte charsets didn't honor multibyte · 44bffa0b
      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.
      
      
      44bffa0b
    • unknown's avatar
      SCRUM · 2d46389a
      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
      2d46389a
    • unknown's avatar
      SCRUM · 6e922478
      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
      6e922478
    • 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
    • unknown's avatar
      Test for mysqldump · 748a3513
      unknown authored
      748a3513
    • unknown's avatar
      Fix for the bug #1333: COMPRESS(NULL) segfaults. · 334b634c
      unknown authored
      
      mysql-test/r/func_compress.result:
        Test for the bug #1333: COMPRESS(NULL) segfaults.
      mysql-test/t/func_compress.test:
        Test for the bug #1333: COMPRESS(NULL) segfaults.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      334b634c
  12. 18 Sep, 2003 2 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