1. 26 Mar, 2004 2 commits
    • 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 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 10 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
    • unknown's avatar
      - Do-pkg: PGK and DMG names now include the full arch name (e.g. · 84418a9e
      unknown authored
         "-apple-darwin7.3.0-powerpc") - this is needed as we now will provide
         Mac OS X 10.2.x and Mac OS X 10.3.x PGKs (and it's more in line of
         how we name all other packages)
      
      
      Build-tools/Do-pkg:
         - PGK and DMG names now include the full arch name (e.g. 
           "-apple-darwin7.3.0-powerpc") - this is needed as we now will provide
           Mac OS X 10.2.x and Mac OS X 10.3.x PGKs (and it's more in line of
           how we name all other packages)
      84418a9e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · fd15d5ae
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      fd15d5ae
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · c56697f0
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      c56697f0
    • unknown's avatar
      Portability fixes · 86ae07cd
      unknown authored
      Fixed some wrong column specifications in mysql_fix_privilege_tables
      
      
      mysql-test/mysql-test-run.sh:
        Portability fix
      mysql-test/r/func_math.result:
        portability fix
      mysql-test/r/rpl_error_ignored_table.result:
        portability fix
      mysql-test/t/func_math.test:
        portability fix
      mysql-test/t/rpl_error_ignored_table.test:
        portability fix
      scripts/mysql_fix_privilege_tables.sh:
        func.name was not generated correctly
      scripts/mysql_fix_privilege_tables.sql:
        Fixed some wrong column specifications
      86ae07cd
    • unknown's avatar
      typo in mysql_install_db fixed · 88267ae5
      unknown authored
      
      scripts/mysql_install_db.sh:
        typo fixed
        (thanks Alex Dupre <ale@FreeBSD.org> for noticing this!)
      88267ae5
    • unknown's avatar
      Removed \r · 6b465557
      unknown authored
      6b465557
    • unknown's avatar
      Portability fixes · 9935110b
      unknown authored
      Removed \r from new tests
      Fixes to get new sustem_mysql_db... tests to work
      
      
      client/mysqltest.c:
        More debug information
      innobase/que/que0que.c:
        Fixed wrong usage of __attribute
      mysql-test/mysql-test-run.sh:
        Portability fix; Added CLIENT_BINDIR
      mysql-test/t/system_mysql_db_fix.test:
        Removed \r
      mysql-test/t/system_mysql_db_refs.test:
        Removed \r
      scripts/mysql_fix_privilege_tables.sh:
        Don't set root password from first option
        Added --bindir option
      9935110b