1. 02 Oct, 2003 2 commits
    • unknown's avatar
      Had mangled the order of if()s in a previous changeset (1.1596) (not pushed), · 311cd84d
      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.
      311cd84d
    • unknown's avatar
      fix for BUG#1331: "Unexistent user variable is not replicated". · 031b6b5f
      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).
      031b6b5f
  2. 26 Sep, 2003 4 commits
    • 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
  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 · 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
  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: · 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
  9. 18 Sep, 2003 1 commit
    • 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