1. 16 Mar, 2005 11 commits
    • unknown's avatar
      ha_innodb.cc: · 66978616
      unknown authored
        Fix bug: InnoDB created all indexes on true VARCHARs as column prefix keys because field->pack_length() for a true VARCHAR is bigger than key_part->length; FOREIGN KEYs could not be created on true VARCHARs then
      
      
      sql/ha_innodb.cc:
        Fix bug: InnoDB created all indexes on true VARCHARs as column prefix keys because field->pack_length() for a true VARCHAR is bigger than key_part->length; FOREIGN KEYs could not be created on true VARCHARs then
      66978616
    • unknown's avatar
      data0type.h, row0sel.c: · f21905e0
      unknown authored
        Fix a crash in a simple search with a key: the dtype->len of a true VARCHAR is the payload maximum len in bytes: it does not include the 2 bytes MySQL uses to store the string length
      ha_innodb.cc:
        Fix a crash in true VARCHARs in test-innodb: we passed a wrong pointer to the column conversion in an UPDATE
      rowid_order_innodb.result, ps_3innodb.result, innodb.result, endspace.result:
        Edit InnoDB test results to reflect the arrival of true VARCHARs
      
      
      mysql-test/r/endspace.result:
        Edit InnoDB test results to reflect the arrival of true VARCHARs
      mysql-test/r/innodb.result:
        Edit InnoDB test results to reflect the arrival of true VARCHARs
      mysql-test/r/ps_3innodb.result:
        Edit InnoDB test results to reflect the arrival of true VARCHARs
      mysql-test/r/rowid_order_innodb.result:
        Edit InnoDB test results to reflect the arrival of true VARCHARs
      sql/ha_innodb.cc:
        Fix a crash in true VARCHARs in test-innodb: we passed a wrong pointer to the column conversion in an UPDATE
      innobase/row/row0sel.c:
        Fix a crash in a simple search with a key: the dtype->len of a true VARCHAR is the payload maximum len in bytes: it does not include the 2 bytes MySQL uses to store the string length
      innobase/include/data0type.h:
        Fix a crash in a simple search with a key: the dtype->len of a true VARCHAR is the payload maximum len in bytes: it does not include the 2 bytes MySQL uses to store the string length
      f21905e0
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · ded3d0cb
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      
      ded3d0cb
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 277a9e83
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      
      277a9e83
    • unknown's avatar
      DATA_MYSQL_TRUE_VARCHAR can be DATA_VARCHAR, DATA_BINARY, or · b90feaed
      unknown authored
      DATA_VARMYSQL so remove unnecessary condition.
      
      
      
      b90feaed
    • unknown's avatar
      97a281f5
    • unknown's avatar
      mysql-test-run.sh: · 6f36a062
      unknown authored
        Check that there is a disabled.def before using it
      disabled.def:
        Reenable ndb tests accidently disabled
      
      
      mysql-test/t/disabled.def:
        Reenable ndb tests accidently disabled
      mysql-test/mysql-test-run.sh:
        Check that there is a disabled.def before using it
      6f36a062
    • unknown's avatar
      ha_innodb.cc: · 8c45e43e
      unknown authored
        calc_row_difference(): Use non-inlined functions to avoid linking error.
      
      
      sql/ha_innodb.cc:
        calc_row_difference(): Use non-inlined functions to avoid linking error.
      8c45e43e
    • unknown's avatar
      Merge grichter@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5d3c9a9a
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/sap/mysql-5.0
      
      
      5d3c9a9a
    • unknown's avatar
      typecast fix for windows 64-bit compilation error · 0cd045ca
      unknown authored
      
      BitKeeper/etc/ignore:
        Added VC++Files/client/mysql_amd64.dsp to the ignore list
      0cd045ca
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2576beab
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      
      2576beab
  2. 15 Mar, 2005 29 commits
    • unknown's avatar
      Many files: · 7955fe52
      unknown authored
        InnoDB true VARCHAR
      
      
      sql/ha_innodb.h:
        InnoDB true VARCHAR
      sql/ha_innodb.cc:
        InnoDB true VARCHAR
      innobase/include/data0type.h:
        InnoDB true VARCHAR
      innobase/include/que0que.h:
        InnoDB true VARCHAR
      innobase/include/row0mysql.h:
        InnoDB true VARCHAR
      innobase/include/data0type.ic:
        InnoDB true VARCHAR
      innobase/include/row0mysql.ic:
        InnoDB true VARCHAR
      innobase/row/row0ins.c:
        InnoDB true VARCHAR
      innobase/row/row0mysql.c:
        InnoDB true VARCHAR
      innobase/row/row0sel.c:
        InnoDB true VARCHAR
      innobase/trx/trx0trx.c:
        InnoDB true VARCHAR
      7955fe52
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4db638f3
      unknown authored
      into mdk10.(none):/home/reggie/bk/mysql-5.0
      
      
      4db638f3
    • unknown's avatar
      Merge mdk10.(none):/home/reggie/bk/mysql-4.1 · 799e4522
      unknown authored
      into mdk10.(none):/home/reggie/bk/mysql-5.0
      
      
      sql/sql_show.cc:
        Auto merged
      799e4522
    • unknown's avatar
      Bug #6660 mysqldump creates bad pathnames on Windows · 32e027ea
      unknown authored
      sql_show.cc:
        changed strdup to thd->memdup per Serg's advice
      
      
      sql/sql_show.cc:
        changed strdup to thd->memdup per Serg's advice
      32e027ea
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · 03626147
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      
      03626147
    • unknown's avatar
      4ff085f2
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4421c4a5
      unknown authored
      into mysql.com:/home/cps/mysql/devel/im-fix-review
      
      
      4421c4a5
    • unknown's avatar
      IM setup patch. Enable IM instead of mysqld_safe in start/stop script. · 21c83834
      unknown authored
      Alter RPM to include mysqlmanger binary and config files.
      
      
      support-files/mysql.server.sh:
        mysql start/stop script altered to use mysqlmanager instead of mysqld_safe, novel 'reload' option
        was temporarily removed
      support-files/mysql.spec.sh:
        correct RPM to include mysqlmanager
      21c83834
    • unknown's avatar
      mysql-test-run.sh: · 6272f6f2
      unknown authored
        Added feature to disable tests from a list in a file "disabled.def"
        Moved down the code that disables, so that --do-test and --start-from
        don't list the disabled tests not in range.
      disabled.def:
        List of test cases to temporarely disable
      
      
      mysql-test/t/disabled.def:
        List of test cases to temporarely disable
      mysql-test/mysql-test-run.sh:
        Added feature to disable tests from a list in a file "disabled.def"
        Moved down the code that disables, so that --do-test and --start-from
        don't list the disabled tests not in range.
      6272f6f2
    • unknown's avatar
    • unknown's avatar
      Merge mdk10.(none):/home/reggie/bk/mysql-4.1 · 4a49d3f3
      unknown authored
      into mdk10.(none):/home/reggie/bk/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      client/mysqldump.c:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      4a49d3f3
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1 · 822a46d5
      unknown authored
      into mdk10.(none):/home/reggie/bk/mysql-4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      822a46d5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · b2cabf32
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      b2cabf32
    • unknown's avatar
      Bug #6660 mysqldump creates bad pathnames on Windows · ccfd1746
      unknown authored
      This is a modifiction of my previous patch after receiving feedback. This is a better way to fix the problem.  With this patch, data directory and index directory will use only forward slashes (/) when on Windows.
      
      mysqldump.c:
        Removed fixPaths routine.  Was improper fix for bug #6660
      sql_show.cc:
        Changed append_directory to convert backslashes to foward slashes when on Windows.
      
      
      sql/sql_show.cc:
        Changed append_directory to convert backslashes to foward slashes when on Windows.
      client/mysqldump.c:
        Removed fixPaths routine.  Was improper fix for bug #6660
      ccfd1746
    • unknown's avatar
      include/my_global.h · b975a872
      unknown authored
          define _XOPEN_SOURCE=500 for solaris
      include/my_sys.h
          remove a cast
      
      
      include/my_global.h:
        define _XOPEN_SOURCE=500 for solaris
      include/my_sys.h:
        remove a cast
      b975a872
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 268a3ecc
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0
      
      
      268a3ecc
    • unknown's avatar
      after merge fix · 7e743721
      unknown authored
      7e743721
    • unknown's avatar
      merging · 3c42daa9
      unknown authored
      
      heap/hp_create.c:
        Auto merged
      sql/filesort.cc:
        Auto merged
      mysql-test/r/heap.result:
        manual merging
      mysql-test/t/heap.test:
        manual merging
      sql/ha_heap.cc:
        manual merging
      3c42daa9
    • unknown's avatar
      Merged WL#2269 to mysql-5.0 · ef2ca978
      unknown authored
      
      sql/ha_ndbcluster.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/ha_ndbcluster.cc:
        Manual merge
      ef2ca978
    • unknown's avatar
      WL#2269 Enable query cache for NDB part 2 · aa5dba42
      unknown authored
      -This is mostly fixes for correct behaviour when using query cache + transactions + the thread that
      fetches commit count from NDB at regular intervals. The major fix is to add a
      list in thd_ndb, that keeps a list of NDB_SHARE's that were modified by
      transaction and then "clearing" them in ndbcluster_commit.
      
      
      mysql-test/r/ndb_cache2.result:
        Updated test cases for the ndb_util thread, more simultaneous tables and more tesst
      mysql-test/t/ndb_cache2.test:
        Updated test cases for the ndb_util thread, more simultaneous tables and more advanced tesst
      sql/ha_ndbcluster.cc:
        Add table changed during transaction to list of changed tables in Thd_ndb, this list is then used in ndbcluster_commit to invalidate the cached commit_count in share
        Fix so that ndb_util_thread uses milliseconds "sleeps"
        Changed so that ndb_commit_count uses the commit_count from share if available
      sql/ha_ndbcluster.h:
        Add commit_count_lock to NBD_SHARE, use for detecting simultaneous attempts to update commit_count
        Add list of tables changed by transaction to Thd_ndb
        Change check_ndb_connection to take thd as argument, use current_thd as default
        Added m_rows_changed variable to keep track of if this handler has modified any records within the transaction
      sql/set_var.cc:
        Change format of code
        Sort sys__ variables in aplha order
      aa5dba42
    • unknown's avatar
      Cleanup · 9af776c8
      unknown authored
      9af776c8
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · e656fba7
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-4.1
      
      
      e656fba7
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · be26b499
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      be26b499
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6c82fa80
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-5.0
      
      
      6c82fa80
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-5.0 · 33e3c6dc
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      33e3c6dc
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 0d0c6ba6
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      0d0c6ba6
    • unknown's avatar
      A fix (bug #8799: Killed filesorts can fail inited==RND assertion in ha_rnd_end). · 0ba3164e
      unknown authored
      
      sql/filesort.cc:
        A fix (bug #8799: Killed filesorts can fail inited==RND assertion in ha_rnd_end).              
        Should call ha_rnd_end() only if ha_rnd_init() was called.
      0ba3164e
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1-build · 7031cea4
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      support-files/mysql.server.sh:
        Auto merged
      7031cea4
    • unknown's avatar
      - Build fix for Do-solaris-pkg: fixed package name matching regex to be satisfied with · 8418e31f
      unknown authored
        "mysql-pro-gpl-cert" packages as well (thanks to Kent for the suggestion)
      
      
      Build-tools/Do-solaris-pkg:
        - fixed package name matching regex to be satisfied with "mysql-pro-gpl-cert" packages as well
          (thanks to Kent for the suggestion)
      8418e31f