1. 26 Mar, 2004 9 commits
    • unknown's avatar
      some cleanup of last patch for BUG #2342 · 04e879e7
      unknown authored
      
      mysql-test/t/bdb-crash.test:
        added newline
      sql/ha_berkeley.cc:
        added a commet
      04e879e7
    • unknown's avatar
      Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 2e3950b2
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2342/mysql-4.0
      
      
      2e3950b2
    • unknown's avatar
      fixed bug #2342 · aab1e50e
      unknown authored
      "Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
      
      1. added new status HA_ADMIN_REJECT and processing of it in mysql_admin_table
      2. got ha_berkley::analyze to return HA_ADMIN_REJECT if there are any 
       transactions with the table.. 
      
      
      mysql-test/r/bdb-crash.result:
        added test for bug #2342 
        "Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
      mysql-test/t/bdb-crash.test:
        added test for bug #2342 
        "Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
      sql/ha_berkeley.cc:
        fixed bug #2342 
        "Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
        
        we have to return new status "HA_ADMIN_REJECT" for ha_berkley::analyze 
        if there are any transaction for this table 
        so as bdb documentation says:
        "The DB->stat method cannot be transaction protected"
      sql/handler.h:
        added new status of table info "HA_ADMIN_REJECT"
        
        We have to return this status for bdb tables which 
        have any active transactions so as bdb-documentation says:
        "The DB->stat method cannot be transaction-protected"
      sql/sql_table.cc:
        added processing of the new status HA_ADMIN_REJECT in mysql_admin_table
        (reason to add this status is explained in comment 
        for commit on sql/handler.h)
      aab1e50e
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 10d80288
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      10d80288
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 185c68d9
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      
      185c68d9
    • unknown's avatar
      mem0dbg.c: · 08d31b97
      unknown authored
        Backport from 4.1: make mem_current_allocated_memory global variable
      
      
      innobase/mem/mem0dbg.c:
        Backport from 4.1: make mem_current_allocated_memory global variable
      08d31b97
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 13e6d008
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      13e6d008
    • unknown's avatar
      order_by.result: · 9cc75495
      unknown authored
        result of the test case for FORCE INDEX on ORDER BY
      order_by.test:
        test case for FORCE INDEX on ORDER BY
      sql_select.cc:
        Changing behaviour that MySQL server takes FORCE INDEX clause into account when optimising ORDER BY clause
      
      
      sql/sql_select.cc:
        Changing behaviour that MySQL server takes FORCE INDEX clause into account when optimising ORDER BY clause
      mysql-test/t/order_by.test:
        test case for FORCE INDEX on ORDER BY
      mysql-test/r/order_by.result:
        result of the test case for FORCE INDEX on ORDER BY
      9cc75495
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 · 8a6ae839
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc-4.0
      
      
      8a6ae839
  2. 25 Mar, 2004 7 commits
  3. 24 Mar, 2004 3 commits
  4. 23 Mar, 2004 5 commits
  5. 22 Mar, 2004 8 commits
    • unknown's avatar
      Changes to project files precipitated from 4.1 test builds. · a99039f8
      unknown authored
      
      BitKeeper/deleted/.del-libmysql.def~f5dffcb3ed925d28:
        Delete: VC++Files/libmysql/libmysql.def
      VC++Files/innobase/innobase.dsp:
        'com' module no longer exists.
      VC++Files/strings/MASM6x/strings.dsp:
        Add strnlen
      VC++Files/strings/strings.dsp:
        Add strnlen
      a99039f8
    • unknown's avatar
      sync0sync.c: · 76bff7b6
      unknown authored
        Actually, assembler is used onnly on 32-bit x86 Win, and no need to exclude Netware specifically
      
      
      innobase/sync/sync0sync.c:
        Actually, assembler is used onnly on 32-bit x86 Win, and no need to exclude Netware specifically
      76bff7b6
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 741f55c6
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      
      741f55c6
    • unknown's avatar
      sync0sync.c: · c656035e
      unknown authored
        Fix typo __NETWARE --> __NETWARE__ in mutex creation
      
      
      innobase/sync/sync0sync.c:
        Fix typo __NETWARE --> __NETWARE__ in mutex creation
      c656035e
    • unknown's avatar
      "automagically" is not a word. · 6a4c0ccb
      unknown authored
      6a4c0ccb
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1208e5c8
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      
      1208e5c8
    • unknown's avatar
      union.result: · bb9584fd
      unknown authored
         A test case for the bug  that allowed table names to be used in ORDER BY columns (But #3064)
      union.test:
        A test case for the bug  that allowed table names to be used in ORDER BY columns (But #3064)
      sql_union.cc:
        A fix for a bug that allowed table names to be used in ORDER BY columns (But #3064)
      
      
      sql/sql_union.cc:
        A fix for a bug that allowed table names to be used in ORDER BY columns (But #3064)
      mysql-test/t/union.test:
        A test case for the bug  that allowed table names to be used in ORDER BY columns (But #3064)
      mysql-test/r/union.result:
         A test case for the bug  that allowed table names to be used in ORDER BY columns (But #3064)
      bb9584fd
    • unknown's avatar
      Fixed wrong 'mysql.func' definition · 071aed69
      unknown authored
      071aed69
  6. 21 Mar, 2004 1 commit
    • unknown's avatar
      fixed BUG in query cahe statistic counting · 91bac76e
      unknown authored
      
      mysql-test/r/grant_cache.result:
        right results in query cache
      mysql-test/t/grant_cache.test:
        proving new results
      sql/sql_cache.cc:
        fixed statistic calculating in query cahe
      91bac76e
  7. 20 Mar, 2004 4 commits
    • unknown's avatar
      fixed config parser to recognize correctly strings like following: · 0e75717d
      unknown authored
      test="\"#no comment here"#real comment
      
      
      0e75717d
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 331ff0d8
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      331ff0d8
    • unknown's avatar
      The automatic DROP TEMPORARY TABLE is now DROP TEMPORARY TABLE IF EXISTS, · 02d2d70c
      unknown authored
      this is better in this case:
      - imagine user1 has created a temp table
      - imagine user2 does FLUSH TABLES WITH READ LOCK, then takes a backup,
      then RESET MASTER then UNLOCK TABLES, like mysqldump --first-slave
      - then in the binlog you will finally have the DROP TEMPORARY TABLE,
      but not the CREATE TEMPORARY TABLE, so when you later restore with
      mysqlbinlog|mysql, mysql will complain that table does not exist.
      Replication was already protected of this (it processes DROP TEMPORARY
      TABLE as if there was a IF EXISTS), now I add it directly to the query
      for mysqlbinlog|mysql to work.
      
      
      mysql-test/r/drop_temp_table.result:
        result update (query changed)
      02d2d70c
    • unknown's avatar
      btr0btr.c: · 3e5f1eae
      unknown authored
        Correct previous bk commit comment about page splits: actually, in versions < 4.0.19 space utilization is very poor if 1500 - 8000 byte rows are inserted in the order of the primary key
      
      
      innobase/btr/btr0btr.c:
        Correct previous bk commit comment about page splits: actually, in versions < 4.0.19 space utilization is very poor if 1500 - 8000 byte rows are inserted in the order of the primary key
      3e5f1eae
  8. 19 Mar, 2004 3 commits
    • unknown's avatar
      btr0btr.c: · 72d15bcc
      unknown authored
        Improve space utilization if we have 3 kB - 8 kB rows to insert in the order of the primary key
      btr0cur.c:
        Fix bug: The row count and key cardinality estimate was grossly too small if each clustered index page only contained one record
      
      
      innobase/btr/btr0cur.c:
        Fix bug: The row count and key cardinality estimate was grossly too small if each clustered index page only contained one record
      innobase/btr/btr0btr.c:
        Improve space utilization if we have 3 kB - 8 kB rows to insert in the order of the primary key
      72d15bcc
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · eb72cf66
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      eb72cf66
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 · a53fc49e
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      
      a53fc49e