1. 29 Sep, 2003 1 commit
    • unknown's avatar
      SCRUM · 77c6cfc2
      unknown authored
      WL#604 Privileges in embedded library
      bugs fixed
      
      
      sql/mysql_priv.h:
        reload_acl_and_cache interface unifdefed
      sql/sql_parse.cc:
        ifdefs added/removed
      77c6cfc2
  2. 26 Sep, 2003 2 commits
    • unknown's avatar
      Merge · 2796f519
      unknown authored
      
      include/mysql.h:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.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_derived.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      libmysqld/lib_sql.cc:
        SCCS merged
      libmysqld/libmysqld.c:
        SCCS merged
      sql/sql_parse.cc:
        SCCS merged
      2796f519
    • unknown's avatar
      SCRUM: · e206bcf0
      unknown authored
      WL#604 Privileges in embedded library
      code added to check privileges in embedded library
      NO_EMBEDDED_ACCESS_CHECKS macros inserted in code so we can exclude
      access-checking parts. Actually we now can exclude these parts from
      standalone server as well. Do we need it?
      Access checks are disabled in embedded server by default. One should
      edit libmysqld/Makefile manually to get this working.
      We definitely need the separate configure for embedded server
      
      
      include/mysql.h:
        options added so user of embedded library can set the client host
        it will work as if the usual client connects from this host
      libmysqld/Makefile.am:
        Usually one doesn't need access checking in embedded library
        we definitely should separate configure for embedded server
      libmysqld/lib_sql.cc:
        necessary code for getting passwords and access checks added
      libmysqld/libmysqld.c:
        code #ifdef-ed - we use this only when we check permissions
      sql-common/client.c:
        one mysql_close left now
      sql/item_strfunc.cc:
        #ifndef-s added
      sql/log.cc:
        #ifndef-s added
      sql/mysql_priv.h:
        #ifndef-s added
        also i removed default parameters from check_access and check_table_access
        definitions to set definitions working
      sql/mysqld.cc:
        #ifndef-s added
        localhost renamed to my_localhost
      sql/repl_failsafe.cc:
        parameters added
      sql/set_var.cc:
        #ifndef-s added
      sql/sql_acl.cc:
        #ifndef-s added
      sql/sql_acl.h:
        #ifndef-s added
      sql/sql_base.cc:
        #ifndef-s added
      sql/sql_cache.cc:
        #ifndef-s added
      sql/sql_class.cc:
        #ifndef-s added
      sql/sql_db.cc:
        #ifndef-s added
      sql/sql_derived.cc:
        #ifndef-s added
      sql/sql_insert.cc:
        #ifndef-s added
      sql/sql_parse.cc:
        a horde of #ifndef-s added
      sql/sql_prepare.cc:
        #ifndef-s added
      sql/sql_repl.cc:
        parameters added
      sql/sql_show.cc:
        #ifndef-s added
      sql/sql_update.cc:
        #ifndef-s added
      e206bcf0
  3. 25 Sep, 2003 4 commits
  4. 24 Sep, 2003 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5177bb15
      unknown authored
      into mishka.mysql.fi:/home/my/mysql-4.1
      
      5177bb15
    • unknown's avatar
      regexp worked only with the default character set. · 3354e7f8
      unknown authored
      Now it can work with any character set.
      
      3354e7f8
    • unknown's avatar
      merge · ae2a272b
      unknown authored
      
      sql/item_strfunc.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      sql/net_serv.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      ae2a272b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0a9b64cc
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.1
      
      
      sql/sql_parse.cc:
        Auto merged
      0a9b64cc
    • unknown's avatar
      - Code cleanup: replaced C++-style comments with the proper syntax for · bad17621
      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)
      bad17621
  5. 23 Sep, 2003 6 commits
  6. 22 Sep, 2003 8 commits
  7. 20 Sep, 2003 1 commit
  8. 19 Sep, 2003 9 commits
    • unknown's avatar
      comp_err.c: · dc9043c6
      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.
      dc9043c6
    • unknown's avatar
      New test for UTF8 functionality · 5a7847ce
      unknown authored
      5a7847ce
    • 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
    • unknown's avatar
      Test for mysqldump · ec49acf1
      unknown authored
      ec49acf1
    • unknown's avatar
      Fix for the bug #1333: COMPRESS(NULL) segfaults. · 03769442
      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
      03769442
  9. 18 Sep, 2003 4 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