1. 15 Feb, 2006 1 commit
    • unknown's avatar
      Fix bug #15706 find_field_in_tables() returns field from outer select · 9f1a3d10
      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
      9f1a3d10
  2. 14 Dec, 2005 5 commits
  3. 13 Dec, 2005 20 commits
    • unknown's avatar
      Netware specific changes. · 6ea16156
      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.
      6ea16156
    • unknown's avatar
      Fixed test case. · a2626146
      unknown authored
      a2626146
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5beef0a1
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
      
      5beef0a1
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 407046df
      unknown authored
      into moonbone.local:/work/15268-bug-5.0-mysql
      
      407046df
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · a8f806ff
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
      
      a8f806ff
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5bfd3bf1
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-5.0-ss92
      
      5bfd3bf1
    • unknown's avatar
      Fix BUG#12071: "Windows hang:'Opening tables' or 'Waiting for · dd14235f
      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.
      dd14235f
    • unknown's avatar
      Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1 · 3d5ba7a7
      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
      3d5ba7a7
    • unknown's avatar
      Bug#15675 - ndb - fix read_multi_range.test drop all tables it using · 80d71e04
      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
      80d71e04
    • unknown's avatar
      Minor Netware specific changes. · ef5390e5
      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.
      ef5390e5
    • unknown's avatar
      Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 · 93eeb151
      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
      93eeb151
    • unknown's avatar
      Increased stack size for clients on Netware. · 99c55577
      unknown authored
      New libc suggests doing this.
      
      99c55577
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · a0e9413b
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-5.0-ss11
      
      a0e9413b
    • unknown's avatar
      ndb - merge error · 74a95e0a
      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
      74a95e0a
    • unknown's avatar
      Null-merge from 4.1 · 13752f18
      unknown authored
      13752f18
    • unknown's avatar
      Merge mysql.com:/home/alexi/mysql-4.1 · 4df0d363
      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
      4df0d363
    • unknown's avatar
      Update ndb version in configure.in · 3767d079
      unknown authored
      3767d079
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · 0eb7bb07
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      0eb7bb07
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 43b61de0
      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
      43b61de0
    • unknown's avatar
      Merge knielsen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9c7c72a9
      unknown authored
      into  production.mysql.com:/usersnfs/knielsen/mysql-5.0
      
      9c7c72a9
  4. 12 Dec, 2005 14 commits
    • unknown's avatar
      Merge knielsen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 107f5af6
      unknown authored
      into  production.mysql.com:/usersnfs/knielsen/mysql-5.0
      
      107f5af6
    • unknown's avatar
      Merge rparranovo@bk-internal.mysql.com:/home/bk/mysql-5.0 · 25fcc212
      unknown authored
      into  mysql.com:/home/novo/MySQL/mysql-5.0
      
      25fcc212
    • unknown's avatar
      mysql.spec.sh: · 45024109
      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"
      45024109
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2cc3119d
      unknown authored
      into  mysql.com:/home/alexi/innodb-ss/mysql-4.1-ss11
      
      2cc3119d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 56d46008
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      56d46008
    • unknown's avatar
      Merge knielsen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 400cdbf6
      unknown authored
      into  production.mysql.com:/usersnfs/knielsen/mysql-5.0
      
      400cdbf6
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 079ab1ae
      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
      079ab1ae
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 91ed373b
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      91ed373b
    • unknown's avatar
      Fix BUG#12071: "Windows hang: 'Opening tables' or 'Waiting for · bb69e6ff
      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
      bb69e6ff
    • unknown's avatar
      0bb9d20c
    • unknown's avatar
      77ba92c4
    • unknown's avatar
      rpl_until.test + rpl_until.result Fix (completion) for bug#12429 · ea04b8b7
      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.
      ea04b8b7
    • unknown's avatar
      rpl_until.test + rpl_until.result · 7428cf62
      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
      7428cf62
    • unknown's avatar
      ndb - bug#15685 · b00fbda2
      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
      b00fbda2