1. 15 Feb, 2006 1 commit
    • unknown's avatar
      Fix bug #15706 find_field_in_tables() returns field from outer select · de0c65dd
      unknown authored
      If item->cached_table is set, find_field_in_tables() returns found field
      even if it doesn't belong to current select. Because Item_field::fix_fields
      doesn't expect such behaviour, reported bug occurs.
      
      Item_field::fix_fields() was modifed to detect when find_field_in_tables() 
      can return field from outer select and process such fields accordingly.
      In order to ease this code which was searching and processing outed fields was
      moved into separate function called Item_field::fix_outer_field().
      
      
      sql/item_subselect.h:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        Item_field::fix_outer_field() was marked as friend to Item_subselect class.
      sql/item.h:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        fix_outer_field() function is added to the Item_field class.
      sql/item.cc:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        
        Item_ref::fix_fields() and Item_field::fix_fields() were modifed to detect when
        find_field_in_tables() can return field from outer select and process such
        fields accordingly.
        In order to ease this, code Item_field::fix_fields() which was searching and
        processing outer fields was moved into separate function called
        Item_field::fix_outer_field().
        To the Item_field::fix_field() added a loop for finding context for found field.
      mysql-test/t/disabled.def:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        Enable subselect test
      de0c65dd
  2. 14 Dec, 2005 5 commits
  3. 13 Dec, 2005 20 commits
    • unknown's avatar
      Netware specific changes. · 4e1d88af
      unknown authored
      
      sql/ha_archive.cc:
        Disabled archive db for Netware until
        zlibCompileFlags() is available for this platform.
      sql/sql_string.h:
        Added casts. Won't work with Metrowerks compiler without.
      4e1d88af
    • unknown's avatar
      Fixed test case. · 67183a7b
      unknown authored
      67183a7b
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 99892b64
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
      
      
      99892b64
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 27970ee7
      unknown authored
      into moonbone.local:/work/15268-bug-5.0-mysql
      
      
      27970ee7
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · c42f4db0
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
      
      
      c42f4db0
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 11b6afd3
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-5.0-ss92
      
      
      11b6afd3
    • unknown's avatar
      Fix BUG#12071: "Windows hang:'Opening tables' or 'Waiting for · 778d212b
      unknown authored
       table' lockup".
       Changes from the innodb-5.0-ss92 snapshot.
       Do not call os_file_create_tmpfile() at runtime. Instead, create
       all tempfiles at startup and guard access to them with mutexes.
      
      
      innobase/btr/btr0sea.c:
        Changes from the innodb-5.0ss92 snapshot.
      innobase/include/buf0buf.h:
        Changes from the innodb-5.0ss92 snapshot.
      innobase/include/os0file.h:
        Changes from the innodb-5.0ss92 snapshot.
      innobase/include/srv0srv.h:
        Changes from the innodb-5.0ss92 snapshot.
      innobase/row/row0ins.c:
        Changes from the innodb-5.0ss92 snapshot.
      innobase/srv/srv0srv.c:
        Changes from the innodb-5.0ss92 snapshot.
      innobase/srv/srv0start.c:
        Changes from the innodb-5.0ss92 snapshot.
      mysql-test/r/innodb.result:
        Changes from the innodb-5.0ss92 snapshot.
      mysql-test/t/innodb.test:
        Changes from the innodb-5.0ss92 snapshot.
      sql/ha_innodb.cc:
        Changes from the innodb-5.0ss92 snapshot.
      778d212b
    • unknown's avatar
      Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1 · bc72c684
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
      
      
      netware/libmysql.def:
        Auto merged
      netware/myisamlog.def:
        Auto merged
      netware/myisampack.def:
        Auto merged
      netware/mysql.def:
        Auto merged
      netware/mysql_install_db.def:
        Auto merged
      netware/mysqlbinlog.def:
        Auto merged
      netware/mysqlcheck.def:
        Auto merged
      netware/mysqld_safe.def:
        Auto merged
      netware/mysqldump.def:
        Auto merged
      netware/mysqlimport.def:
        Auto merged
      netware/perror.def:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/tztime.cc:
        Auto merged
      netware/BUILD/compile-linux-tools:
        Merged from 4.1
      netware/my_print_defaults.def:
        Merged from 4.1
      netware/mysqladmin.def:
        Merged from 4.1
      bc72c684
    • unknown's avatar
      Bug#15675 - ndb - fix read_multi_range.test drop all tables it using · a0a942fb
      unknown authored
        NOTE: only changes to test script
      
      
      mysql-test/t/ndb_read_multi_range.test:
        Bug#15675 - ndb - fix read_multi_range.test drop all tables it using
      a0a942fb
    • unknown's avatar
      Minor Netware specific changes. · 12046696
      unknown authored
      
      netware/BUILD/compile-linux-tools:
        Fixed compilation problem with Linux tools.
      scripts/make_binary_distribution.sh:
        Netware specific changes. Discard platform
        specific files and added a couple of missing files.
      sql/tztime.cc:
        Code not ported to Netware yet.
      12046696
    • unknown's avatar
      Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 · 4fc6562f
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
      
      
      netware/libmysql.def:
        Auto merged
      netware/my_print_defaults.def:
        Auto merged
      netware/myisamlog.def:
        Auto merged
      netware/myisampack.def:
        Auto merged
      netware/mysql.def:
        Auto merged
      netware/mysql_install_db.def:
        Auto merged
      netware/mysqladmin.def:
        Auto merged
      netware/mysqlbinlog.def:
        Auto merged
      netware/mysqlcheck.def:
        Auto merged
      netware/mysqld_safe.def:
        Auto merged
      netware/mysqldump.def:
        Auto merged
      netware/mysqlimport.def:
        Auto merged
      netware/perror.def:
        Auto merged
      4fc6562f
    • unknown's avatar
      Increased stack size for clients on Netware. · 2e8dc5ff
      unknown authored
      New libc suggests doing this.
      
      
      2e8dc5ff
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3bef0071
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-5.0-ss11
      
      
      3bef0071
    • unknown's avatar
      ndb - merge error · 2bec1f7e
      unknown authored
      note bug#15629 has been fixed in release clone (sp on 64 bit platform), but not merged here yet
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        merge error
      2bec1f7e
    • unknown's avatar
      Null-merge from 4.1 · d6373a22
      unknown authored
      d6373a22
    • unknown's avatar
      Merge mysql.com:/home/alexi/mysql-4.1 · 8e239a27
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-5.0-ss11
      Null merge
      
      
      BitKeeper/deleted/.del-ha_blackhole.cc~727c69ef7846623a:
        Auto merged
      innobase/include/dict0load.h:
        Auto merged
      innobase/dict/dict0dict.c:
        Null-merge from 4.1
      innobase/include/dict0dict.h:
        Null-merge from 4.1
      innobase/include/os0file.h:
        Null-merge from 4.1
      innobase/include/rem0cmp.h:
        Null-merge from 4.1
      innobase/include/srv0srv.h:
        Null-merge from 4.1
      innobase/rem/rem0cmp.c:
        Null-merge from 4.1
      innobase/row/row0ins.c:
        Null-merge from 4.1
      innobase/row/row0mysql.c:
        Null-merge from 4.1
      innobase/srv/srv0srv.c:
        Null-merge from 4.1
      innobase/srv/srv0start.c:
        Null-merge from 4.1
      mysql-test/r/innodb.result:
        Null-merge from 4.1
      mysql-test/t/innodb.test:
        Null-merge from 4.1
      sql/ha_innodb.cc:
        Null-merge from 4.1
      8e239a27
    • unknown's avatar
      Update ndb version in configure.in · 88b65dd2
      unknown authored
      88b65dd2
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · 1df94c92
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      1df94c92
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 01c7bd20
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        merge
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      01c7bd20
    • unknown's avatar
      Merge knielsen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 05144f7e
      unknown authored
      into  production.mysql.com:/usersnfs/knielsen/mysql-5.0
      
      
      05144f7e
  4. 12 Dec, 2005 14 commits
    • unknown's avatar
      Merge knielsen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5946c950
      unknown authored
      into  production.mysql.com:/usersnfs/knielsen/mysql-5.0
      
      
      5946c950
    • unknown's avatar
      Merge rparranovo@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4904fd3c
      unknown authored
      into  mysql.com:/home/novo/MySQL/mysql-5.0
      
      
      4904fd3c
    • unknown's avatar
      mysql.spec.sh: · ed3b63e1
      unknown authored
        * made the following changes for the generic 5.0 RPM spec file
        - Added zlib to the list of (static) libraries installed
        - Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
        - Compile MySQL with bundled zlib
        - Fixed %packager name to "MySQL Production Engineering Team"
      
      
      support-files/mysql.spec.sh:
        * made the following changes for the generic 5.0 RPM spec file
        - Added zlib to the list of (static) libraries installed
        - Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
        - Compile MySQL with bundled zlib
        - Fixed %packager name to "MySQL Production Engineering Team"
      ed3b63e1
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8c911a25
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-4.1-ss11
      
      
      8c911a25
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 50bcb962
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      50bcb962
    • unknown's avatar
      Merge knielsen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3cdc83db
      unknown authored
      into  production.mysql.com:/usersnfs/knielsen/mysql-5.0
      
      
      3cdc83db
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · d6e5fdf0
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      mysql-test/r/bdb.result:
        Resolve conflicts
      mysql-test/t/bdb.test:
        Resolve conflicts
      sql/sql_delete.cc:
        Resolve conflicts
      sql/sql_insert.cc:
        Resolve conflicts
      sql/sql_update.cc:
        Resolve conflicts
      d6e5fdf0
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8bf4a099
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      
      8bf4a099
    • unknown's avatar
      Fix BUG#12071: "Windows hang: 'Opening tables' or 'Waiting for · 8e3f95b5
      unknown authored
       table' lockup".
       Changes from the innodb-4.1-ss11 snapshot.
       Do not call os_file-create_tmpfile() at runtime. Instead, create
       a tempfile at startup and guard access to it with a mutex.
       Also, fix bugs:
       10511: "Wrong padding of UCS2 CHAR columns in ON UPDATE CASCADE";
       13778: "If FOREIGN_KEY_CHECKS=0, one can create inconsistent FOREIGN
       KEYs". When FOREIGN_KEY_CHECKS=0 we still need to check that
       datatypes between foreign key references are compatible.
       Also, added test cases (also for bug 9802).
      
      
      innobase/dict/dict0dict.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/dict/dict0load.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/dict0dict.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/dict0load.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/os0file.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/rem0cmp.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/include/srv0srv.h:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/rem/rem0cmp.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/row/row0ins.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/row/row0mysql.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/srv/srv0srv.c:
        Changes from the innodb-4.1-ss11 snapshot
      innobase/srv/srv0start.c:
        Changes from the innodb-4.1-ss11 snapshot
      libmysqld/ha_blackhole.cc:
        Changes from the innodb-4.1-ss11 snapshot
      mysql-test/r/innodb.result:
        Changes from the innodb-4.1-ss11 snapshot
      mysql-test/t/innodb.test:
        Changes from the innodb-4.1-ss11 snapshot
      sql/ha_innodb.cc:
        Changes from the innodb-4.1-ss11 snapshot
      8e3f95b5
    • unknown's avatar
      edf3915a
    • unknown's avatar
      45f2e2ae
    • unknown's avatar
      rpl_until.test + rpl_until.result Fix (completion) for bug#12429 · cc3f2163
      unknown authored
      Manual merge from 4.1,
      extension of the old fix (1.1976 05/12/05 17:57:48 mleich@mysql.com) to two other places.
      
      
      mysql-test/t/rpl_until.test:
        Auto merged
      mysql-test/r/rpl_until.result:
        Manual merge from 4.1,
        extension of the old fix (1.1976 05/12/05 17:57:48 mleich@mysql.com) to two other places.
      cc3f2163
    • unknown's avatar
      rpl_until.test + rpl_until.result · 56830072
      unknown authored
      Fix for bug#12429: Replication tests fail: "Slave_IO_Running" differs:
      The value is not important, and it depends on timing. Mask it.
      
      Backport and extension of a fix made by Matthias in 5.0, originally it was
      1.1976 05/12/05 17:57:48 mleich@mysql.com
      
      
      mysql-test/r/rpl_until.result:
        Fix for bug#12429: Replication tests fail: "Slave_IO_Running" differs:
        The value is not important, and it depends on timing. Mask it.
        
        Backport and extension of a fix made by Matthias in 5.0, originally it was
        1.1976 05/12/05 17:57:48 mleich@mysql.com
      mysql-test/t/rpl_until.test:
        Fix for bug#12429: Replication tests fail: "Slave_IO_Running" differs:
        The value is not important, and it depends on timing. Mask it.
        
        Backport and extension of a fix made by Matthias in 5.0, originally it was
        1.1976 05/12/05 17:57:48 mleich@mysql.com
      56830072
    • unknown's avatar
      ndb - bug#15685 · fd80fa2d
      unknown authored
        Error in abort handling in TC when timeout during abort
        
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        New error codes
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        New error codes
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Dont release transaction record to early
      ndb/test/ndbapi/testNodeRestart.cpp:
        Test case
      ndb/test/run-test/daily-basic-tests.txt:
        Test case
      fd80fa2d