1. 02 Oct, 2003 2 commits
    • unknown's avatar
      Had mangled the order of if()s in a previous changeset (1.1596) (not pushed), · cdeb6e44
      unknown authored
      correcting it now. Thanks Dmitri for spotting this.
      
      
      mysql-test/r/user_var.result:
        result update
      mysql-test/t/user_var.test:
        a simple test
      sql/item_func.cc:
        Had mangled the order of if()s in a previous changeset (1.1596) (not pushed),
        correcting it now.
      cdeb6e44
    • unknown's avatar
      fix for BUG#1331: "Unexistent user variable is not replicated". · f212ca3b
      unknown authored
      When an update query is to be written to the binlog, and it reads unset
      user variables (example: INSERT INTO t VALUEs(@A) where @A does not exist),
      we create the variable like if it had been set with SET before, and we loop
      (i.e. we redo the steps of logging, now that the variable exists).
      
      
      mysql-test/r/rpl_user_variables.result:
        result update.
      mysql-test/t/rpl_user_variables.test:
        test to see if unset user variables are written to the binlog
      sql/item_func.cc:
        When an update query is to be written to the binlog, and it reads unset
        user variables (example: INSERT INTO t VALUEs(@A) where @A does not exist),
        we create the variable like if it had been set with SET before, and we loop
        (i.e. we redo the steps of logging, now that the variable exists).
      f212ca3b
  2. 26 Sep, 2003 4 commits
    • 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
  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 1 commit
    • 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