1. 03 Oct, 2003 1 commit
    • unknown's avatar
      sql_cache.cc, mysql_priv.h: · 32ace686
      unknown authored
        Query cache now takes in account character_set_results and collation_connection
      
      
      sql/mysql_priv.h:
        Query cache now takes in account character_set_results and collation_connection
      sql/sql_cache.cc:
        Query cache now takes in account character_set_results and collation_connection
      32ace686
  2. 02 Oct, 2003 3 commits
  3. 01 Oct, 2003 4 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · cce14aab
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      cce14aab
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · ee3bf94c
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      ee3bf94c
    • unknown's avatar
      Fix for #1430 · e50b19a0
      unknown authored
      there was an error about sendind prepared parameters to the server
      
      
      libmysqld/lib_sql.cc:
        parameter's length added as a parameter
      sql/ha_berkeley.cc:
        these lines sometimes crashes in embedded library
        so i #ifdef-ed it
      sql/item.h:
        add the data_len parameter in the embedded case
      sql/sql_prepare.cc:
        i added macroses to make headers of store_param_xxx functions
        they have different number of parameters in standalone an embedded servers
        also get_param_length now is implemented differently in embedded server
      e50b19a0
    • unknown's avatar
      ctype-mb.c: · 15075b11
      unknown authored
        Stupid typo. Led to compilation failure with non-gcc compilers.
      
      
      strings/ctype-mb.c:
        Stupid typo. Led to compilation failure with non-gcc compilers.
      15075b11
  4. 30 Sep, 2003 1 commit
  5. 29 Sep, 2003 12 commits
    • unknown's avatar
      794e1387
    • unknown's avatar
      fix for #1344 · 6fbd3da5
      unknown authored
      handling of init-file option added to embedded library
      main problem was killing of output (resulting recordsets etc)
      i added checks for empty output in Protocol:: methods
      better solution could be special Protocol_nul class to redirect
      results to nowhere
      
      
      libmysqld/lib_sql.cc:
        code was added to call read_init_file
        Protocol methods now can support output to nowhere
      sql/mysqld.cc:
        bootstrap function extended to work in embedded library
      sql/sql_parse.cc:
        handle_bootstrap modified to work in embedded library
      6fbd3da5
    • unknown's avatar
      Bugfix for #1342 · 4b7c1f83
      unknown authored
      I made libmysqld not to do freopen(stdout...)
      I think we need better solution here so i added it as a worklog entry #1247
      
      
      sql/mysqld.cc:
        freopen #ifdef-ed
        Not a perfect solution though
      4b7c1f83
    • unknown's avatar
      bugfix for #1375 · 5c08e1c1
      unknown authored
      
      libmysqld/lib_sql.cc:
        some programs check mysql_error for empty string
      sql/log.cc:
        in embedded library these members can be NULL
      5c08e1c1
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · a8cd1d27
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      a8cd1d27
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3e1cb478
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/help_correction/mysql-4.1
      
      
      3e1cb478
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · b05d3388
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/help_correction/mysql-4.1
      
      
      b05d3388
    • unknown's avatar
      added fine error messages in scripts/fill_help_tables.sh · d2bc40e8
      unknown authored
      
      scripts/fill_help_tables.sh:
        added fine error messages
      d2bc40e8
    • unknown's avatar
      SCRUM · 15779a96
      unknown authored
      embedded library
      some fixes - cleanup procedure changed for embedded library - deletion of
      embedded mysql->thd
      
      
      include/mysql.h:
        free_embedded_thd added to the list of virtual methods
      libmysqld/embedded_priv.h:
        function deleted
      libmysqld/lib_sql.cc:
        function moved upper in file
      sql-common/client.c:
        call of free_embedded_thd added
      15779a96
    • unknown's avatar
      SCRUM · 9a942c85
      unknown authored
      WL604 Privilegies in embedded library
      another bug fixed
      
      
      sql/sql_parse.cc:
        flag selection fixed
      9a942c85
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 65ad60db
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      sql/sql_db.cc:
        Auto merged
      65ad60db
    • unknown's avatar
      SCRUM · e1c1aa7a
      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
      e1c1aa7a
  6. 26 Sep, 2003 9 commits
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1 · 8094305c
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      8094305c
    • unknown's avatar
      - better test for a string to avoid "test: integer expression expected" · 223716f3
      unknown authored
         if a variable is not defined (empty).
      
      
      223716f3
    • unknown's avatar
      - added missing zlib subdirectory to the source distribution · f0cb432f
      unknown authored
         (crc32.c is included by mysys/my_crc32.c)
      
      
      f0cb432f
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · a4f7ed56
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      a4f7ed56
    • unknown's avatar
      A fix of the fix for BUG#1209 (was: SELECT DATABASE() still shows dropped database). · 44f65c24
      unknown authored
      Don't free the client's selected db (thd->db) when it has been DROPped,
      if this is a slave thread; the x_free() was causing a lot
      of various bugs in rpl_loaddata_rule_m (garbage characters, segfault, hangs in
      other threads).
      A small post-merge fix (rli->inside_transaction exists in 4.0 only).
      
      
      sql/log_event.cc:
        Post-merge fix (rli->inside_transaction existed in 4.0 only)
      sql/sql_db.cc:
        Don't free the client's selected db (thd->db) when it has been DROPped,
        if this is a slave thread; the x_free() was causing a lot
        of various bugs in rpl_loaddata_rule_m which does a DROP DATABASE 
        (garbage characters, segfault, hangs in other threads).
      44f65c24
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f755cb36
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-rplunt
      
      
      f755cb36
    • unknown's avatar
      Fixed spurios failures of rpl_until test. · 4a3bb678
      unknown authored
      
      mysql-test/r/rpl_until.result:
        Fixed race then sometimes io slave thread stopped without managing to get any data from master and sometimes not.
      mysql-test/t/rpl_until.test:
        Fixed race then sometimes io slave thread stopped without managing to get any data from master and sometimes not.
      4a3bb678
    • unknown's avatar
      Merge · dbb95967
      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
      dbb95967
    • unknown's avatar
      SCRUM: · 17053698
      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
      17053698
  7. 25 Sep, 2003 4 commits
  8. 24 Sep, 2003 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a582bf83
      unknown authored
      into mishka.mysql.fi:/home/my/mysql-4.1
      
      
      a582bf83
    • unknown's avatar
      regexp worked only with the default character set. · e9299e6d
      unknown authored
      Now it can work with any character set.
      
      
      e9299e6d
    • unknown's avatar
      merge · 74e3399a
      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
      74e3399a
    • 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
  9. 23 Sep, 2003 1 commit