1. 29 Sep, 2003 12 commits
    • unknown's avatar
      29ccd7ca
    • unknown's avatar
      fix for #1344 · c101051c
      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
      c101051c
    • unknown's avatar
      Bugfix for #1342 · 1a4637fa
      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
      1a4637fa
    • unknown's avatar
      bugfix for #1375 · 17800c9d
      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
      17800c9d
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · dabd99d6
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      dabd99d6
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 202a0c24
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/help_correction/mysql-4.1
      
      202a0c24
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · 7c6601a2
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/help_correction/mysql-4.1
      
      7c6601a2
    • unknown's avatar
      added fine error messages in scripts/fill_help_tables.sh · fbee388a
      unknown authored
      
      scripts/fill_help_tables.sh:
        added fine error messages
      fbee388a
    • unknown's avatar
      SCRUM · 2b0b46bf
      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
      2b0b46bf
    • unknown's avatar
      SCRUM · a92ade65
      unknown authored
      WL604 Privilegies in embedded library
      another bug fixed
      
      
      sql/sql_parse.cc:
        flag selection fixed
      a92ade65
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2986975d
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      sql/sql_db.cc:
        Auto merged
      2986975d
    • 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 9 commits
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1 · 435cd91a
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      435cd91a
    • unknown's avatar
      - better test for a string to avoid "test: integer expression expected" · 1827a089
      unknown authored
         if a variable is not defined (empty).
      
      1827a089
    • unknown's avatar
      - added missing zlib subdirectory to the source distribution · 20060cd2
      unknown authored
         (crc32.c is included by mysys/my_crc32.c)
      
      20060cd2
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · e6f2b9fc
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      e6f2b9fc
    • unknown's avatar
      A fix of the fix for BUG#1209 (was: SELECT DATABASE() still shows dropped database). · 01669e4a
      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).
      01669e4a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5c5aa713
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-rplunt
      
      5c5aa713
    • unknown's avatar
      Fixed spurios failures of rpl_until test. · 8f039a8d
      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.
      8f039a8d
    • 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 4 commits