1. 03 Mar, 2003 4 commits
    • unknown's avatar
      Do not give an error when the user does START SLAVE on an already · c856a692
      unknown authored
      running slave, just give a warning. Same thing for STOP SLAVE.
      This will make scripts writing easier for users.
      
      
      include/mysqld_error.h:
        New error codes (warning codes in fact) to warn that the slave was already started or stopped
      mysql-test/include/master-slave.inc:
        STOP SLAVE now prints a warning, not an error, so we should expect a warning here
      sql/share/czech/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/danish/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/dutch/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/english/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/estonian/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/french/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/german/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/greek/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/hungarian/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/italian/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/japanese/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/korean/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/norwegian-ny/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/norwegian/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/polish/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/portuguese/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/romanian/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/russian/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/serbian/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/slovak/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/spanish/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/swedish/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/share/ukrainian/errmsg.txt:
        New messages to warn that the slave was already started or stopped
      sql/sql_repl.cc:
        Do not give an error when the user does START SLAVE on an already
        running slave, just give a warning. Same thing for STOP SLAVE.
      c856a692
    • unknown's avatar
      Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1 · 47c86db5
      unknown authored
      into mysql.r18.ru:/usr/home/ram/work/mysql-4.1
      
      47c86db5
    • unknown's avatar
      Coercibility is now stored in user vars · 67abbc0b
      unknown authored
      
      sql/item.h:
        Change constant values order according to the word "coercibility" nature
      sql/item_func.cc:
        Change constant values order according to the word "coercibility" nature
      67abbc0b
    • unknown's avatar
      Strings which appear without charset context, · bf56f26c
      unknown authored
      like number-to-string-convertion-result, now 
      takes current database character set, instead of
      thread character set. This makes it easy to be
      SQL99 conformant and 4.0 compatible.
      
      Item->thd_charset() is renamed to Item->default_charset()
      as old name doesn't describe its nature anymore.
      
      bf56f26c
  2. 02 Mar, 2003 3 commits
    • unknown's avatar
      COLLATE tests · 4c71ecf9
      unknown authored
      4c71ecf9
    • unknown's avatar
      sql_yacc.yy: · 073ba9f8
      unknown authored
        Produce an error when a field collation and charset are not compatible
      
      
      sql/sql_yacc.yy:
        Produce an error when a field collation and charset are not compatible
      073ba9f8
    • unknown's avatar
      New error message for situation like: · 987a0d23
      unknown authored
      SELECT latin1_expr COLLATE anpther_charset_collation
      
      987a0d23
  3. 01 Mar, 2003 6 commits
    • unknown's avatar
      Replication: give the slave I/O thread a higher priority than the slave SQL thread · bb1e1649
      unknown authored
      so that it has fetched the most from the master's binlog before the master
      accidently dies. SCRUM task #756.
      
      
      sql/slave.cc:
        Replication: give the slave I/O thread a higher priority than the slave SQL thread
        so that it has fetched the most from the master's binlog before the master
        accidently dies.
      sql/slave.h:
        Replication: give the slave I/O thread a higher priority than the slave SQL thread
        so that it has fetched the most from the master's binlog before the master
        accidently dies.
      bb1e1649
    • unknown's avatar
      Added options reconnect/enable-reconnect/disable-reconnect/skip-reconnect to... · abe6013f
      unknown authored
      Added options reconnect/enable-reconnect/disable-reconnect/skip-reconnect to the 'mysql' command-line client.
      Disabling can be safer when the server silently dies & restarts.
      This is for SCRUM task #727.
      
      
      client/client_priv.h:
        Added options reconnect/enable-reconnect/disable-reconnect/skip-reconnect to the 'mysql' command-line client
      client/mysql.cc:
        Added options reconnect/enable-reconnect/disable-reconnect/skip-reconnect to the 'mysql' command-line client.
        Disabling can be safer when the server silently dies & restarts.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      abe6013f
    • unknown's avatar
      Merge work:/home/bk/mysql-4.1 · 3e721cad
      unknown authored
      into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        auto-union
      sql/sql_select.cc:
        Auto merged
      3e721cad
    • unknown's avatar
      Test case for spatial objects. · a188a904
      unknown authored
      a188a904
    • unknown's avatar
      os_rename.c: · ba982893
      unknown authored
        Typo fix.
      
      
      bdb/os_win32/os_rename.c:
        Typo fix.
      ba982893
    • unknown's avatar
      os_rename.c: · 76570ab8
      unknown authored
        Portability fix. GetLongPathName is not supported by Windows95.
      
      
      bdb/os_win32/os_rename.c:
        Portability fix. GetLongPathName is not supported by Windows95.
      76570ab8
  4. 28 Feb, 2003 12 commits
    • unknown's avatar
      Added GeometryFromText, MultiPointFromText aliases. · ddb1b0b6
      unknown authored
      Added GeometryCollection type.
      
      ddb1b0b6
    • unknown's avatar
      item_func.cc: · 203bc9ec
      unknown authored
        Fix for coercibility of function
      
      
      sql/item_func.cc:
        Fix for coercibility of function
      203bc9ec
    • unknown's avatar
      item_strfunc.cc: · aed2e289
      unknown authored
        Charset conversion function changes coercibility to IMPLICIT
      
      
      sql/item_strfunc.cc:
        Charset conversion function changes coercibility to IMPLICIT
      aed2e289
    • unknown's avatar
      sql_yacc.yy: · d8eec237
      unknown authored
        _charset cast changes coercibility to implicit
      item_strfunc.cc:
        Collation cast change coercibility to EXPLICIT
      
      
      sql/item_strfunc.cc:
        Collation cast change coercibility to EXPLICIT
      sql/sql_yacc.yy:
        _charset cast changes coercibility to implicit
      d8eec237
    • unknown's avatar
      Many files: · 3467b168
      unknown authored
         Coercibility, initial stage
      item_func.h:
        Coercibility, initial stage
      
      
      sql/item_func.h:
        Coercibility, initial stage
      sql/item.cc:
         Coercibility, initial stage
      sql/item_create.cc:
         Coercibility, initial stage
      sql/item_create.h:
         Coercibility, initial stage
      sql/item.h:
         Coercibility, initial stage
      sql/item_func.cc:
         Coercibility, initial stage
      sql/lex.h:
         Coercibility, initial stage
      sql/sql_yacc.yy:
         Coercibility, initial stage
      3467b168
    • unknown's avatar
      304086b6
    • unknown's avatar
      Portability fixes · c2af53fe
      unknown authored
      
      cmd-line-utils/libedit/readline.c:
        Portability fix (For IRIX)
      include/my_global.h:
        Portability fix (For Tru64)
      include/my_xml.h:
        Portability fix (True64)
        ('leave' is already defined)
      strings/xml.c:
        Portability fix (True64)
      c2af53fe
    • unknown's avatar
      Merge with 3.23 -> 4.0 · 2e16ca08
      unknown authored
      
      configure.in:
        Auto merged
      include/config-win.h:
        Auto merged
      include/thr_lock.h:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/log_event.cc:
        merge
      sql/mysqld.cc:
        merge
      2e16ca08
    • unknown's avatar
      Portability fixes · acb12190
      unknown authored
      
      include/config-win.h:
        Removed wrong ;
      include/my_global.h:
        Portability fix for AIX
      acb12190
    • unknown's avatar
      Merge narttu.mysql.fi:/my/mysql-3.23 into narttu.mysql.fi:/my/mysql-4.0 · 0a77e7c4
      unknown authored
      
      mysql-test/Makefile.am:
        Auto merged
      0a77e7c4
    • unknown's avatar
      Added copying of *.slave-mi mysql-test files · 02255fd7
      unknown authored
      02255fd7
    • unknown's avatar
      func_group.result: · 90aa0345
      unknown authored
        Added new tests for better coverage of
        min/max optimization code.
      func_group.test:
        Added new tests for better coverage of 
        min/max optimization code.
      opt_sum.cc:
        Fixed wrong previous manual merge.
        Fixed bugs concerning fields used in min/max
        functions for which there are conditions of
        the form field=const.
      
      
      sql/opt_sum.cc:
        Fixed wrong previous manual merge.
        Fixed bugs concerning fields used in min/max
        functions for which there are conditions of
        the form field=const.
      mysql-test/t/func_group.test:
        Added new test for better coverage of 
        min/max optimization code.
      mysql-test/r/func_group.result:
        Added new tests for better coverage of
        min/max optimization code.
      90aa0345
  5. 27 Feb, 2003 15 commits
    • unknown's avatar
      Added detection if pthread_attr_getstacksize() exists · ab1f1e19
      unknown authored
      Fixed bug in RAND() usage in mysqlbinlog
      
      
      configure.in:
        Added detection if pthread_attr_getstacksize() exists
      include/thr_lock.h:
        Fixed wrong comment
      sql/log_event.cc:
        Fixed bug in RAND() usage in mysqlbinlog
      sql/mysqld.cc:
        Portablity fix
      sql/repl_failsafe.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/slave.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_class.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_insert.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_show.cc:
        Set host_or_ip for system threads (to make other code simpler)
      ab1f1e19
    • unknown's avatar
      sql_yacc.yy: · 6c13719d
      unknown authored
        set names binary  didn't work
        ,
      
      
      sql/sql_yacc.yy:
        set names binary  didn't work
        ,
      6c13719d
    • unknown's avatar
      sql_yacc.yy, item_strfunc.cc: · 575c842d
      unknown authored
        Two separate functions charset() and collatio()
      item_strfunc.h:
        Two separate functions charset() and collation()
      
      
      sql/item_strfunc.cc:
        Two separate functions charset() and collatio()
      sql/item_strfunc.h:
        Two separate functions charset() and collation()
      sql/sql_yacc.yy:
        Two separate functions charset() and collatio()
      575c842d
    • unknown's avatar
      fixed bug on case insensetive file systems · 624eaebb
      unknown authored
      624eaebb
    • unknown's avatar
    • unknown's avatar
      Merge ibabaev@work.mysql.com:/home/bk/mysql-4.1 · 4f7f6b9b
      unknown authored
      into hundin.mysql.fi:/home/igor/dev/mysql-4.1
      
      4f7f6b9b
    • unknown's avatar
      field.cc: · ece39ffe
      unknown authored
        Now all text fields convert data into proper charset before storing
      
      
      sql/field.cc:
        Now all text fields convert data into proper charset before storing
      ece39ffe
    • unknown's avatar
      Merge ibabaev@work.mysql.com:/home/bk/mysql-4.1 · 33423ef7
      unknown authored
      into hundin.mysql.fi:/home/igor/dev/mysql-4.1
      
      33423ef7
    • unknown's avatar
      func_group.result, func_group.test: · 0255ca31
      unknown authored
        Added tests for extended max/min optimization
      opt_sum.cc:
        Extended min/max optimization
      
      
      sql/opt_sum.cc:
        Extended min/max optimization
      mysql-test/t/func_group.test:
        Added tests for extended max/min optimization
      mysql-test/r/func_group.result:
        Added tests for extended max/min optimization
      0255ca31
    • unknown's avatar
      ctype_many.test: · 3692635e
      unknown authored
        Insert constants with an explicit character set
      ctype_many.result:
        Fix according test change
      
      
      mysql-test/r/ctype_many.result:
        Fix according test change
      mysql-test/t/ctype_many.test:
        Insert constants with an explicit character set
      3692635e
    • unknown's avatar
      field.cc: · bd5be628
      unknown authored
        rename len -> length, to look in common style
      
      
      sql/field.cc:
        rename len -> length, to look in common style
      bd5be628
    • unknown's avatar
      Merge work:/my/mysql-4.1 into narttu.mysql.fi:/my/mysql-4.1 · c3e6c661
      unknown authored
      
      sql/item_func.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      c3e6c661
    • unknown's avatar
      Merge with 4.0 · b9839588
      unknown authored
      
      mysql-test/r/bigint.result:
        Auto merged
      mysql-test/t/bigint.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/item.h:
        merge (use local copy)
      sql/sql_show.cc:
        merge
      b9839588
    • unknown's avatar
      Portability fixes · e16918ff
      unknown authored
      Don't define crc32 if we are not linking with gzip
      
      
      cmd-line-utils/libedit/libedit_term.h:
        Rename: cmd-line-utils/libedit/term.h -> cmd-line-utils/libedit/libedit_term.h
      BitKeeper/etc/ignore:
        added scripts/make_win_src_distribution
      client/connect_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      client/insert_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      client/select_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      cmd-line-utils/libedit/Makefile.am:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/el.h:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/key.h:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/makelist:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/read.c:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/readline.c:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/readline/readline.h:
        Systems that has sys/cdefs may not have __BEGIN_DECLS
      cmd-line-utils/libedit/sig.c:
        sig_t is not portable
      cmd-line-utils/libedit/sig.h:
        sig_t is not portable
      cmd-line-utils/libedit/term.c:
        Portablity fixes
        Fixed core dump when using a terminal without arrow key definitions
      heap/_check.c:
        Portability fix
      heap/hp_hash.c:
        Portability fix
      heap/hp_rkey.c:
        Portability fix
      include/my_global.h:
        Portability fixes for HPUX11
      libmysql/libmysql.c:
        Removed wrong cast
      mysql-test/r/union.result:
        New union tests
      mysql-test/t/union.test:
        New union tests
      sql/gen_lex_hash.cc:
        Fixed portability bug.
      sql/gstream.h:
        Portablity fix
      sql/item_create.cc:
        Don't define crc32 if we are not linking with gzip
      sql/item_create.h:
        Don't define crc32 if we are not linking with gzip
      sql/item_func.cc:
        Don't define crc32 if we are not linking with gzip
      sql/item_func.h:
        Don't define crc32 if we are not linking with gzip
      sql/lex.h:
        Don't define crc32 if we are not linking with gzip
      sql/sql_show.cc:
        Name can't be NULL
      e16918ff
    • unknown's avatar
      Integer values between 9223372036854775807 and 9999999999999999999 are now · 8bdf015a
      unknown authored
      regarded as unsigned longlongss, not as floats. This make these values work
      similar to values between 10000000000000000000 and 18446744073709551615.
      
      
      mysql-test/r/bigint.result:
        Fixed results for bigints
      mysql-test/t/bigint.test:
        Fixed results for bigints
      sql/item.h:
        Mark unsigned big ints as unsigned
      sql/sql_lex.cc:
        Returns numbers between 9223372036854775807 and 9999999999999999999 as unsigned 64 bit numbers
      8bdf015a