1. 18 Sep, 2004 1 commit
    • unknown's avatar
      bug#2831 - --extenral-locking does not fully work with --myisam-recover. · 3573368b
      unknown authored
      Changed the semantics of open_count so that it is decremented
      at every unlock (if it was incremented due to data changes).
      So it indicates a crash, if it is non-zero after a lock.
      The table will then be repaired.
      
      
      myisam/mi_close.c:
        bug#2831 - --extenral-locking does not fully work with --myisam-recover.
        To avoid flushing the open_count at every unlock,
        we need to do so at close at least.
      myisam/mi_locking.c:
        bug#2831 - --extenral-locking does not fully work with --myisam-recover.
        open_count is now decremented at unlock (from a writelock) with
        mi_unlock_open_count(). After every new lock the state is read
        from the index file and the open_count checked. If not zero,
        another server must have crashed, so the table is marked as crashed.
        In certain situations the decremented open_count mut be flushed to
        the index file. I tried to keep these extra flushes as seldom as possible.
      sql/ha_myisam.cc:
        bug#2831 - --extenral-locking does not fully work with --myisam-recover.
        Added code to repair the table, if it is marked crashed after
        successful locking and the --myisam-recover option is set.
      sql/sql_table.cc:
        This does not really belong to the bugfix for #2831.
        But it was detected during fixing the external locking.
      3573368b
  2. 09 Sep, 2004 4 commits
  3. 08 Sep, 2004 2 commits
  4. 07 Sep, 2004 16 commits
  5. 06 Sep, 2004 9 commits
  6. 05 Sep, 2004 1 commit
    • unknown's avatar
      union.test: drop table added · f6b5313e
      unknown authored
      
      BitKeeper/etc/ignore:
        Added support-files/my-innodb-heavy-4G.cnf to the ignore list
      mysql-test/r/union.result:
        drop table added
      mysql-test/t/union.test:
        drop table added
      f6b5313e
  7. 03 Sep, 2004 5 commits
    • unknown's avatar
      sql_yacc.yy: · cf43c238
      unknown authored
        Allow FROM or IN in SHOW KEYS, as in other SHOW statements.
      
      
      sql/sql_yacc.yy:
        Allow FROM or IN in SHOW KEYS, as in other SHOW statements.
      cf43c238
    • unknown's avatar
    • unknown's avatar
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.0 · 3f79af6a
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.0-0
      
      
      sql/sql_select.cc:
        Auto merged
      3f79af6a
    • unknown's avatar
      select.result, select.test: · 76936ace
      unknown authored
        Added a test case for bug #5333.
      null_key.result, key_primary.result:
        Made covering index usable for const tables.
      sql_select.cc:
        Made covering index usable for const tables:
        downported the corresponding code from 4.1.
        Simultaneously fixed bug #5333 reported for 4.1.
        The bug was due to the fact that field index in join
        structures was always set to 0 for const tables.
      
      
      sql/sql_select.cc:
        Made covering index usable for const tables:
        downported the corresponding code from 4.1.
        Simultaneously fixed bug #5333 reported for 4.1.
        The bug was due to the fact that field index in join
        structures was always set to 0 for const tables.
      mysql-test/t/select.test:
        Added a test case for bug #5333.
      mysql-test/r/key_primary.result:
        Made covering index usable for const tables.
      mysql-test/r/null_key.result:
        Made covering index usable for const tables.
      mysql-test/r/select.result:
        Added a test case for bug #5333.
      76936ace
  8. 02 Sep, 2004 2 commits
    • unknown's avatar
      errmsg.txt: · f956ce52
      unknown authored
        Add GPL comment
      
      
      sql/share/czech/errmsg.txt:
        Add GPL comment
      sql/share/danish/errmsg.txt:
        Add GPL comment
      sql/share/dutch/errmsg.txt:
        Add GPL comment
      sql/share/english/errmsg.txt:
        Add GPL comment
      sql/share/estonian/errmsg.txt:
        Add GPL comment
      sql/share/french/errmsg.txt:
        Add GPL comment
      sql/share/german/errmsg.txt:
        Add GPL comment
      sql/share/greek/errmsg.txt:
        Add GPL comment
      sql/share/hungarian/errmsg.txt:
        Add GPL comment
      sql/share/italian/errmsg.txt:
        Add GPL comment
      sql/share/japanese/errmsg.txt:
        Add GPL comment
      sql/share/korean/errmsg.txt:
        Add GPL comment
      sql/share/norwegian-ny/errmsg.txt:
        Add GPL comment
      sql/share/norwegian/errmsg.txt:
        Add GPL comment
      sql/share/polish/errmsg.txt:
        Add GPL comment
      sql/share/portuguese/errmsg.txt:
        Add GPL comment
      sql/share/romanian/errmsg.txt:
        Add GPL comment
      sql/share/russian/errmsg.txt:
        Add GPL comment
      sql/share/slovak/errmsg.txt:
        Add GPL comment
      sql/share/spanish/errmsg.txt:
        Add GPL comment
      sql/share/swedish/errmsg.txt:
        Add GPL comment
      sql/share/ukrainian/errmsg.txt:
        Add GPL comment
      f956ce52
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 77919917
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b5232
      
      77919917