1. 16 Dec, 2003 1 commit
    • guilhem@mysql.com's avatar
      Fix for BUG#2083 · db2d812d
      guilhem@mysql.com 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).
      db2d812d
  2. 08 Dec, 2003 3 commits
  3. 07 Dec, 2003 3 commits
    • gluh@gluh.mysql.r18.ru's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0 · 88f0fc28
      gluh@gluh.mysql.r18.ru authored
      into gluh.mysql.r18.ru:/home/gluh/mysql-4.0.defweek
      88f0fc28
    • gluh@gluh.mysql.r18.ru's avatar
      WL#1175: more default_week_formats for iso compatibility · 48317785
      gluh@gluh.mysql.r18.ru authored
      New formats added for 'week()' function and 'default_week_format' option(4 - 7).
      Next formats is supported now:
      *Value* *Meaning*
        `0'     Week starts on Sunday; First Sunday of the year starts week 1.
        	  Week() returns 0-53.
        `1'     Week starts on Monday; Weeks numbered according to ISO 8601:1988.
      	  Week() returns 0-53.
        `2'     Week starts on Sunday; First Sunday of the year starts week 1.
        	  Week() returns 1-53.
        `3'     Week starts on Monday; Weeks numbered according to ISO 8601:1988.
      	  Week() returns 1-53.
        `4'     Week starts on Sunday; Weeks numbered according to ISO 8601:1988.
      	  Week() returns 0-53.
        `5'     Week starts on Monday;  First Monday of the year starts week 1.
        	  Week() returns 0-53.
        `6'     Week starts on Sunday; Weeks numbered according to ISO 8601:1988.
      	  Week() returns 1-53.
        `7'     Week starts on Monday;  First Monday of the year starts week 1.
        	  Week() returns 1-53.
      48317785
    • gluh@gluh.mysql.r18.ru's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0 · 0cc01e25
      gluh@gluh.mysql.r18.ru authored
      into gluh.mysql.r18.ru:/home/gluh/mysql-4.0.pass
      0cc01e25
  4. 05 Dec, 2003 2 commits
  5. 04 Dec, 2003 14 commits
  6. 03 Dec, 2003 3 commits
  7. 02 Dec, 2003 8 commits
  8. 01 Dec, 2003 2 commits
  9. 28 Nov, 2003 4 commits