1. 17 Dec, 2003 7 commits
  2. 16 Dec, 2003 11 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · d8081dfd
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      mysql-test/r/rpl_rotate_logs.result:
        Auto merged
      d8081dfd
    • unknown's avatar
      Fix for BUG#2121 "Inadequate message "check permissions on master.info"": · fcb51a96
      unknown authored
      more general message when slave can't start because of incorrect
      replication information, the previous one was sometimes a misleading
      indication (i.e. sometimes the problem had nothing to do with
      system permissions).
      The perfect fix would be to report the exact error to the client
      (instead of pointing the client to the error log); this is a bit
      of work so it's more a development task:
      WL#1088 "Move all hardcoded messages of replication to share/errmsg.txt".
      I was not able to modify the errmsg.txt in these sql/ subdirectories:
      
      danish
      dutch
      german
      italian
      portuguese
      russian
      spanish
      swedish
      ukrainian
      
      
      mysql-test/r/rpl_rotate_logs.result:
        result update
      sql/share/czech/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/english/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/estonian/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/french/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/greek/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/hungarian/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/japanese/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/korean/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/norwegian-ny/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/norwegian/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/polish/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/romanian/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      sql/share/slovak/errmsg.txt:
        More general message when slave can't start because of incorrect
        replication information, the previous one was sometimes a misleading
        indication (i.e. sometimes the problem had nothing to do with
        system permissions).
      fcb51a96
    • unknown's avatar
      - bumped up version number to 4.0.18, now that 4.0.17 has been · ef2660f4
      unknown authored
         tagged/released
       - tagged ChangeSet@1.1655.1.3 as mysql-4.0.17
      
      
      configure.in:
         - bumped up version number to 4.0.18, now that 4.0.17 has been 
           tagged/released
      ef2660f4
    • unknown's avatar
      - Bugfix for Do-rpm (moving of the resulting packages did not work due to · 04c38e91
      unknown authored
         a missing space)
       - Define the subject of the failure mail reports within the calling script
         instead of logger.pm
      
      
      Build-tools/Bootstrap:
         - Define the subject for the failure mail within the Build script
      Build-tools/Do-rpm:
         - Define the subject of the failure email within the build script
         - Added missing space to make moving of the resulting packages working
      Build-tools/logger.pm:
         - Define the subject for the failure mail within the calling script instead
           of here
      04c38e91
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1ddc555f
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      1ddc555f
    • unknown's avatar
      A new better test case for bug #2128 involving overflow · f02b8110
      unknown authored
      in decimal type with prepended zero's.
      
      f02b8110
    • unknown's avatar
      Fixes for last pull · b59fa7d0
      unknown authored
      
      libmysqld/lib_sql.cc:
        Fixed compilation error in embedded library (from last pull)
      sql/field.cc:
        Safer timestamp year checking (as 1969 can be in timestamp)
      b59fa7d0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 692d3271
      unknown authored
      into mysql.com:/my/mysql-4.0
      
      692d3271
    • unknown's avatar
      Portability fixes (mostly test suite) · 7dacf466
      unknown authored
      Make ENGINE= an alias for TYPE= (Compabiltiy with 4.1)
      Fix when using symlinked data files and realpath() is not working
      
      
      client/mysqltest.c:
        Copied mysqltest from 4.1 and modified this to compile in 4.0
        This was needed to get replace_columns to work.
      include/my_sys.h:
        Stop compiler warnings about alloca on freebsd
      myisam/mi_check.c:
        Fix when using symlinked data files and realpath() is not working
      mysql-test/r/handler.result:
        test engine=
      mysql-test/r/rpl_max_relay_size.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/r/rpl_rotate_logs.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/r/rpl_trunc_binlog.result:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/handler.test:
        test engine=
      mysql-test/t/rpl_log_pos.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_max_relay_size.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_rotate_logs.test:
        Use replace_columns to replace some 'not constant' columns
      mysql-test/t/rpl_trunc_binlog.test:
        Use replace_columns to replace some 'not constant' columns
      mysys/my_symlink.c:
        More debugging
      sql/lex.h:
        Make ENGINE= an alias for TYPE=
      sql/mysqld.cc:
        Code cleanup
      strings/strto.c:
        Fix for True64
      strings/strtoll.c:
        Fix for True64
      strings/strtoull.c:
        Remove not needed include file
      7dacf466
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 45e42b95
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      45e42b95
    • unknown's avatar
      Fix for BUG#2083 · 69c24cce
      unknown authored
      "EE_ error codes (EE_DELETE, EE_WRITE) end up in the binlog, making slave stop".
      The problem was that during execution of the command on the master, an error
      can occur (for example, not space left on device, then mysqld waits and when
      there is space it completes successfully: so finally it worked but the error
      EE_WRITE remains in thd->net.last_errno and thd->net.last_error).
      To know if finally the command succeeded, we test the 'error' variable in
      every place, and if it shows no failure we reset thd->net.last_err* using
      the function THD::clear_error() which is backported from 4.1.
      A new test to see if now only real errors get to the binlog (note: the test
      uses "rm").
      
      Also a bit of memory free/alloc saving in log_event.cc (do not free the whole
      mem_root after every query in the slave SQL thread: we can keep the initial
      block of it; which will be freed when the thread terminates).
      
      
      sql/log_event.cc:
        In the slave SQL thread, it's a waste to free the initial block of the mem_root
        after every query. We can instead keep it. It will be freed when the thread
        terminates (in THD::~THD()).
      sql/sql_acl.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_base.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_class.h:
        Backport of THD::clear_error() from 4.1:
        clears the error in thd->net.last_errno
      sql/sql_db.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_delete.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_insert.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_parse.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_rename.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_table.cc:
        clear the error in thd->net.last_errno as there was no error
      sql/sql_update.cc:
        clear the error in thd->net.last_errno as there was no error
      69c24cce
  3. 15 Dec, 2003 1 commit
    • unknown's avatar
      Merge · 918202df
      unknown authored
      
      client/mysql.cc:
        SCCS merged
      918202df
  4. 14 Dec, 2003 3 commits
    • unknown's avatar
      Portablity fix · ffe376cd
      unknown authored
      
      mysql-test/r/have_met_timezone.require:
        Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone)
      mysql-test/r/timezone.result:
        Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone)
      mysql-test/t/mysqldump.test:
        Portablity fix (Some machines like OSF doesn't read a big double as 'inf'
      mysql-test/t/timezone.test:
        Portability fix (For AIX 4.3 and other machines that doesn't support MET timezone)
      ffe376cd
    • unknown's avatar
      Fixed bug in last push found by valgrind · eb2550d5
      unknown authored
      
      myisam/mi_dbug.c:
        Added comment to warn about probabably unimportant valgrind warning
      sql/opt_range.cc:
        Fixed bug in last push (did not fill max string properly with end space)
      sql/sql_update.cc:
        Initalize not initialized variable
      eb2550d5
    • unknown's avatar
      Extend max_allowed_packet to 2G in mysql and mysqldump (Bug #2105) · 199f0cea
      unknown authored
      Don't dump data for MRG_ISAM or MRG_MYISAM tables. (Bug #1846)
      Ensure that 'lower_case_table_names' is always set on case insensitive file systems. (Bug #1812)
      One can now configure MySQL as windows service as a normal user. (Bug #1802)
      Database names is now compared with lower case in ON clause when lower_case_table_names is set. (Bug #1736)
      IGNORE ... LINES option didn't work when used with fixed length rows. (Bug #1704)
      Change INSERT DELAYED ... SELECT... to INSERT .... SELECT (Bug #1983)
      Safety fix for service 'mysql start' (Bug #1815)
      
      
      client/mysql.cc:
        Extend max_allowed_packet to 2G (Bug #2105)
      client/mysqldump.c:
        Extend max_allowed_packet to 2G (Bug #2105)
        Don't dump data for MRG_ISAM or MRG_MYISAM tables. (Bug #1846)
      configure.in:
        Test for file linux/config.h
      include/my_global.h:
        Portability fix (Bug #1924)
      mysql-test/r/insert.result:
        Update test results
      mysql-test/r/loaddata.result:
        Update test results
      mysql-test/r/lowercase_table.result:
        Update test results
      mysql-test/t/insert.test:
        Test INSERT ... DELAYED ... SELECT
      mysql-test/t/loaddata.test:
        Added test of LOAD DATA INFILE ... IGNORE # LINES for fixed size tables
      mysql-test/t/lowercase_table.test:
        Test mixed lower/uppercase database names
      sql/item.cc:
        Made function not inline (to make it easier to modify it without recompilation of all files)
      sql/item.h:
        Moved function to item.cc
      sql/mysqld.cc:
        Merge pidfile create code
        Ensure that 'lower_case_table_names' is always set on case insensitive file systems. (Bug #1812)
      sql/nt_servc.cc:
        One can now configure MySQL as windows service as a normal user. (Bug #1802)
      sql/sql_base.cc:
        Database names is now compared with lower case in ON clause when lower_case_table_names is set. (Bug #1736)
      sql/sql_class.h:
        Fixed type
      sql/sql_load.cc:
        IGNORE ... LINES option didn't work when used with fixed length rows. (Bug #1704)
      sql/sql_parse.cc:
        Change INSERT DELAYED ... SELECT... to INSERT .... SELECT
      strings/ctype-tis620.c:
        Ensure that memory is freed properly (Partly becasue of bug #1770)
        Bar should check the proposed patch in #1770 if we can use it
      support-files/mysql.server.sh:
        Safety fix (Bug #1815)
      199f0cea
  5. 13 Dec, 2003 15 commits
  6. 12 Dec, 2003 3 commits
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 148e0384
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      148e0384
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0 · e3e0ea95
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.0.1224
      
      e3e0ea95
    • unknown's avatar
      btr0cur.c, row0umod.c: · f22b0833
      unknown authored
        Fix bug: if one updated a secondary index column so that its alphabetical value did not change (e.g., abc -> aBc) and rolled back the update, InnoDB failed to return the value in the secondary index to its original value
      row0upd.h:
        Correct typing error
      sync0sync.ic:
        Remove inadvertently pushed sync debug code
      
      
      innobase/include/sync0sync.ic:
        Remove inadvertently pushed sync debug code
      innobase/include/row0upd.h:
        Correct typing error
      innobase/row/row0umod.c:
        Fix bug: if one updated a secondary index column so that its alphabetical value did not change (e.g., abc -> aBc) and rolled back the update, InnoDB failed to return the value in the secondary index to its original value
      innobase/btr/btr0cur.c:
        Fix bug: if one updated a secondary index column so that its alphabetical value did not change (e.g., abc -> aBc) and rolled back the update, InnoDB failed to return the value in the secondary index to its original value
      f22b0833