1. 07 Oct, 2003 1 commit
    • unknown's avatar
      mysql_real_connect picks the Unix login when the user "" is used. · 12e5e094
      unknown authored
       This makes the test non-repeatable when running as root.
       So I change to not use the "" user, but a random string which will
       always result in the @localhost user being selected by the server.
      
      
      mysql-test/t/rpl_temporary.test:
        mysql_real_connect picks the Unix login when the user "" is used.
        This makes the test non-repeatable when running as root.
        So I change to not use the "" user, but a random string which will
        always result in the @localhost user being selected by the server.
      12e5e094
  2. 06 Oct, 2003 8 commits
  3. 05 Oct, 2003 2 commits
    • unknown's avatar
      Merge laptop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 9b811484
      unknown authored
      into laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-errs-4.1
      
      
      sql/share/czech/errmsg.txt:
        Auto merged
      sql/share/danish/errmsg.txt:
        Auto merged
      sql/share/dutch/errmsg.txt:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/estonian/errmsg.txt:
        Auto merged
      sql/share/french/errmsg.txt:
        Auto merged
      sql/share/greek/errmsg.txt:
        Auto merged
      sql/share/hungarian/errmsg.txt:
        Auto merged
      sql/share/italian/errmsg.txt:
        Auto merged
      sql/share/japanese/errmsg.txt:
        Auto merged
      sql/share/korean/errmsg.txt:
        Auto merged
      sql/share/norwegian/errmsg.txt:
        Auto merged
      sql/share/norwegian-ny/errmsg.txt:
        Auto merged
      sql/share/polish/errmsg.txt:
        Auto merged
      sql/share/romanian/errmsg.txt:
        Auto merged
      sql/share/serbian/errmsg.txt:
        Auto merged
      sql/share/slovak/errmsg.txt:
        Auto merged
      sql/share/spanish/errmsg.txt:
        Auto merged
      9b811484
    • unknown's avatar
      prohibited using derived tables in UPDATE command (BUG#1477) · ff518b98
      unknown authored
      fixed incorrect table name in test
      
      
      mysql-test/r/derived.result:
        fixed incorrect table name in test
        new test of derived table
      mysql-test/t/derived.test:
        fixed incorrect table name in test
        new test of derived table
      sql/sql_yacc.yy:
        prohibited using derived tables in UPDATE command
      ff518b98
  4. 04 Oct, 2003 3 commits
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4f4b786d
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.stmt
      
      
      sql/sql_parse.cc:
        Auto merged
      4f4b786d
    • unknown's avatar
      Fix for bugs #1437, #1446 · 759aabf7
      unknown authored
      
      include/mysql.h:
        read_statistic added to virtual methods
      libmysql/client_settings.h:
        interface for cli_read_statistic added
      libmysql/libmysql.c:
        read_statistic and mysql_stat code changes
      libmysqld/lib_sql.cc:
        emb_read_statistic implemented
        server_version initialized
      sql-common/client.c:
        cli_read_statistic added to the table
      sql/sql_parse.cc:
        storage of result of COM_STATISTIC changed in embedded library
      759aabf7
    • unknown's avatar
      67bb21cb
  5. 03 Oct, 2003 7 commits
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 867f1d28
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      867f1d28
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · d52e9516
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_1323/mysql-4.1
      
      
      d52e9516
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1 · ffc5c669
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_1323/mysql-4.1
      
      
      ffc5c669
    • unknown's avatar
    • unknown's avatar
      editing comments. · f8a27fef
      unknown authored
      
      mysql-test/t/rpl_relayrotate.test:
        a comment
      sql/log_event.cc:
        removed irrelevant comment, added another one.
      f8a27fef
    • unknown's avatar
      Fix for a rpl_relayrotate failure. · c78680b4
      unknown authored
      Changed Rotate_log_event::exec_event() to not increment positions when the
      event is seen in the middle of a transaction.
      
      
      mysql-test/r/rpl_relayrotate.result:
        remove timeout which was too short for Valgrind
      mysql-test/r/rpl_until.result:
        updated error message
      mysql-test/t/rpl_relayrotate.test:
        removed timeout which was too short for Valgrind
      sql/log_event.cc:
        Fix for a rpl_relayrotate failure. The problem was that Rotate_log_event::exec_event()
        believed that the relay log was corrupted. Fixed it by moving the test for
        corruption to Start_log_event::exec_event(). 
        Changed Rotate_log_event::exec_event() to not increment positions when the
        event is seen in the middle of a transaction (that was an old bug found by
        chance :)
      c78680b4
    • 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
  6. 02 Oct, 2003 7 commits
    • unknown's avatar
      9a0b864a
    • unknown's avatar
      minor edit (changed tense) as suggested by our docs team. · 187ca485
      unknown authored
      Portuguese and Swedish are not affected (they were already translated).
      
      
      sql/share/czech/errmsg.txt:
        changed tense
      sql/share/danish/errmsg.txt:
        changed tense
      sql/share/dutch/errmsg.txt:
        changed tense
      sql/share/english/errmsg.txt:
        changed tense
      sql/share/estonian/errmsg.txt:
        changed tense
      sql/share/french/errmsg.txt:
        changed tense
      sql/share/german/errmsg.txt:
        changed tense
      sql/share/greek/errmsg.txt:
        changed tense
      sql/share/hungarian/errmsg.txt:
        changed tense
      sql/share/italian/errmsg.txt:
        changed tense
      sql/share/japanese/errmsg.txt:
        changed tense
      sql/share/korean/errmsg.txt:
        changed tense
      sql/share/norwegian-ny/errmsg.txt:
        changed tense
      sql/share/norwegian/errmsg.txt:
        changed tense
      sql/share/polish/errmsg.txt:
        changed tense
      sql/share/romanian/errmsg.txt:
        changed tense
      sql/share/russian/errmsg.txt:
        changed tense
      sql/share/serbian/errmsg.txt:
        changed tense
      sql/share/slovak/errmsg.txt:
        changed tense
      sql/share/spanish/errmsg.txt:
        changed tense
      sql/share/ukrainian/errmsg.txt:
        changed tense
      187ca485
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 7722d99e
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      7722d99e
    • 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
      Merge laptop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · dcf02aa5
      unknown authored
      into laptop.sanja.is.com.ua:/home/bell/mysql/bk/work-qc_struct-4.1
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      dcf02aa5
    • unknown's avatar
      Structure for storing parameters of query in query cache (asked by Bar) · f1666943
      unknown authored
      
      sql/mysql_priv.h:
        Structure for storing parameters of query in query cache
      sql/sql_cache.cc:
        Structure for storing parameters of query in query cache
      sql/sql_parse.cc:
        Structure for storing parameters of query in query cache
      f1666943
    • 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
  7. 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
  8. 30 Sep, 2003 1 commit
  9. 29 Sep, 2003 7 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