1. 19 Feb, 2004 14 commits
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 3c69d7c9
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      3c69d7c9
    • unknown's avatar
      Fix for a bug #2799. · 22a70c11
      unknown authored
      Multi-table delete's with tables having foreign key constraints
      did not return the error.
      
      Also added tests for multi-table updates.
       
      
      22a70c11
    • unknown's avatar
      Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0 · 8d7d50f0
      unknown authored
      into mysql.com:/bk/mysql-4.0
      
      
      libmysql/libmysql.c:
        Auto merged
      8d7d50f0
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 6ffeddcd
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      6ffeddcd
    • unknown's avatar
      que0que.c: · acbe8aca
      unknown authored
        Testing if bk push works
      
      
      innobase/que/que0que.c:
        Testing if bk push works
      acbe8aca
    • unknown's avatar
      First round of changes to set up for Windows build automation. · 043ccc2a
      unknown authored
      
      VC++Files/InstallShield/4.0.XX-classic/File Groups/Clients and Tools.fgl:
        Add myisam_ftdump to client files
      VC++Files/InstallShield/4.0.XX-classic/File Groups/Development.fgl:
        Add mysql_fix_privilege_tables.sql
      VC++Files/InstallShield/4.0.XX-classic/File Groups/Servers.fgl:
        Add README.txt
      VC++Files/InstallShield/4.0.XX-gpl/File Groups/Clients and Tools.fgl:
        Add myisam_ftdump to client files
      VC++Files/InstallShield/4.0.XX-gpl/File Groups/Development.fgl:
        Add mysql_fix_privilege_tables.sql
      VC++Files/InstallShield/4.0.XX-gpl/File Groups/Servers.fgl:
        Add README.txt
      VC++Files/InstallShield/4.0.XX-pro/File Groups/Clients and Tools.fgl:
        Add myisam_ftdump to client files
      VC++Files/InstallShield/4.0.XX-pro/File Groups/Development.fgl:
        Add mysql_fix_privilege_tables.sql
      VC++Files/InstallShield/4.0.XX-pro/File Groups/Servers.fgl:
        Add README.txt
      VC++Files/mysql.dsw:
        Add myisam_ftdump
      VC++Files/mysys/mysys.dsp:
        Fix defines
      VC++Files/sql/mysqld.dsp:
        Fix defines, etc
      043ccc2a
    • unknown's avatar
      srv_add_path_separator_if_needed: be static; use memcpy, not sprintf · 5a650214
      unknown authored
      
      innobase/include/srv0start.h:
        Remove unused functions
      innobase/srv/srv0start.c:
        srv_add_path_separator_if_needed: Replace sprintf with memcpy
      5a650214
    • unknown's avatar
      Remove unnecessary files and functions · 5e1717c0
      unknown authored
      
      innobase/srv/srv0srv.c:
        Removed unused code
      BitKeeper/deleted/.del-FSP0FSP.C~f1c7e596cadd429:
        Delete: innobase/fsp/trash/FSP0FSP.C
      BitKeeper/deleted/.del-log0trsh.c~ebdd6ce463d8bf0:
        Delete: innobase/log/trash/log0trsh.c
      BitKeeper/deleted/.del-os0fileold.c~7be518438162e2f:
        Delete: innobase/os/os0fileold.c
      innobase/include/usr0sess.h:
        Remove unused functions
      innobase/lock/lock0lock.c:
        Remove commented-out call to deleted function sess_raise_error_low()
      innobase/trx/trx0trx.c:
        Remove commented-out or unreachable calls to deleted function sess_raise_error_low()
      innobase/usr/usr0sess.c:
        Remove unused functions
      5e1717c0
    • unknown's avatar
      Many files: · 4f58448e
      unknown authored
        Remove leading whitespace from lines containing preprocessor directives
      Makefile.am:
        Remove univold.i and univoldmysql.i
      
      
      innobase/include/Makefile.am:
        Remove univold.i and univoldmysql.i
      innobase/buf/buf0buf.c:
        Remove leading whitespace from lines containing preprocessor directives
      innobase/include/mem0mem.ic:
        Remove leading whitespace from lines containing preprocessor directives
      innobase/include/sync0rw.ic:
        Remove leading whitespace from lines containing preprocessor directives
      innobase/include/sync0sync.ic:
        Remove leading whitespace from lines containing preprocessor directives
      innobase/include/ut0rnd.ic:
        Remove leading whitespace from lines containing preprocessor directives
      innobase/mem/mem0dbg.c:
        Remove leading whitespace from lines containing preprocessor directives
      innobase/mem/mem0mem.c:
        Remove leading whitespace from lines containing preprocessor directives
      innobase/sync/sync0rw.c:
        Remove leading whitespace from lines containing preprocessor directives
      innobase/sync/sync0sync.c:
        Remove leading whitespace from lines containing preprocessor directives
      4f58448e
    • unknown's avatar
      Remove unnecessary files · 806f03f7
      unknown authored
      .del-univoldmysql.i~9253a6f92058c565:
        Delete: innobase/include/univoldmysql.i
      .del-univold.i~4b5ed652407f63f1:
        Delete: innobase/include/univold.i
      .del-tsut.c~4a154913fc9cd5c0:
        Delete: innobase/ut/ts/tsut.c
      .del-makefile~9b8356bbdb8bd94e:
        Delete: innobase/ut/ts/makefile
      .del-tsttrxold.c~eb6fd6091405d54e:
        Delete: innobase/trx/ts/tsttrxold.c
      .del-tstrx.c~5425c98548ec1e0d:
        Delete: innobase/trx/ts/tstrx.c
      .del-makefile~16d63c17c8edf62a:
        Delete: innobase/trx/ts/makefile
      .del-tsthr.c~b095667070d626a9:
        Delete: innobase/thr/ts/tsthr.c
      .del-makefile~d5e4661188c1939d:
        Delete: innobase/thr/ts/makefile
      .del-tssync.c~fed4676cd4eb8457:
        Delete: innobase/sync/ts/tssync.c
      .del-makefile~f23368879649c806:
        Delete: innobase/sync/ts/makefile
      .del-tssrv.c~b8a6f5ad9ae639c8:
        Delete: innobase/srv/ts/tssrv.c
      .del-tsdbc.c~d36206bdccf338f:
        Delete: innobase/srv/ts/tsdbc.c
      .del-makefile~da6e87ef29c12dca:
        Delete: innobase/srv/ts/makefile
      .del-tstcur.c~a9d5cf73b020ec41:
        Delete: innobase/row/ts/tstcur.c
      .del-makefile~2cdfe39689004e6:
        Delete: innobase/row/ts/makefile
      .del-tsrem.c~bb4e1e2e8c2ee179:
        Delete: innobase/rem/ts/tsrem.c
      .del-makefile~3e48a33b4970faef:
        Delete: innobase/rem/ts/makefile
      .del-tspage.c~f5baf63f9924e43b:
        Delete: innobase/page/ts/tspage.c
      .del-makefile~66de73bc499566f9:
        Delete: innobase/page/ts/makefile
      .del-tsosaux.c~9ec97a83392a984c:
        Delete: innobase/os/ts/tsosaux.c
      .del-tsos.c~f6057d3c171f5915:
        Delete: innobase/os/ts/tsos.c
      .del-makefile~9a1d210afa6d666e:
        Delete: innobase/os/ts/makefile
      .del-tsmtr.c~293250c7ebfe0d3:
        Delete: innobase/mtr/ts/tsmtr.c
      .del-tsbuf.c~e8d15ee095194d2c:
        Delete: innobase/mtr/ts/tsbuf.c
      .del-makefile~fdf4c2a4ddb23230:
        Delete: innobase/mtr/ts/makefile
      .del-tsmem.c~cc483e2ab96e625c:
        Delete: innobase/mem/ts/tsmem.c
      .del-makefile~6d58ab1de0ac572:
        Delete: innobase/mem/ts/makefile
      .del-tsmach.c~af65166bb53ddfe9:
        Delete: innobase/mach/ts/tsmach.c
      .del-makefile~b8cbd25992ee51b:
        Delete: innobase/mach/ts/makefile
      .del-tsha.c~13dd5ea03fda370c:
        Delete: innobase/ha/ts/tsha.c
      .del-makefile~1bf12ce7b2dadfd5:
        Delete: innobase/ha/ts/makefile
      .del-tsfsp.c~890ead1636f0eaba:
        Delete: innobase/fsp/ts/tsfsp.c
      .del-makefile~a466e9eb27493a80:
        Delete: innobase/fsp/ts/makefile
      .del-del.c~35c6283be580200:
        Delete: innobase/fsp/ts/del.c
      .del-tsfil.c~e554b6f3c189c081:
        Delete: innobase/fil/ts/tsfil.c
      .del-makefile~1df6f952a960fef4:
        Delete: innobase/fil/ts/makefile
      .del-tsdyn.c~6f976764b53f3191:
        Delete: innobase/dyn/ts/tsdyn.c
      .del-makefile~f64427335fafdc65:
        Delete: innobase/dyn/ts/makefile
      .del-tsdict.c~5e82f7b8ac2b2e15:
        Delete: innobase/dict/ts/tsdict.c
      .del-makefile~6356c424e9747647:
        Delete: innobase/dict/ts/makefile
      .del-tscom.c~26aae2c5c4ca1dce:
        Delete: innobase/com/ts/tscom.c
      .del-tscli.c~2f3e4b281141eac2:
        Delete: innobase/com/ts/tscli.c
      .del-makefile~608fd39568db7238:
        Delete: innobase/com/ts/makefile
      .del-tsos.c~1dadfc1ef69f2ba3:
        Delete: innobase/buf/ts/tsos.c
      .del-tsbuf.c~b4c3feee158ef154:
        Delete: innobase/buf/ts/tsbuf.c
      .del-makefile~598acb06bf1e466:
        Delete: innobase/buf/ts/makefile
      .del-tscli.c~8d35740cc1f6f864:
        Delete: innobase/btr/ts/trash/tscli.c
      .del-tssrv.c~ee30b746c485aec:
        Delete: innobase/btr/ts/tssrv.c
      .del-tss.c~21ae628550141a68:
        Delete: innobase/btr/ts/tss.c
      .del-tsrecv97.c~dbeb3bc494b241c1:
        Delete: innobase/btr/ts/tsrecv97.c
      .del-tsrecv.c~3415f8a936a8d9fd:
        Delete: innobase/btr/ts/tsrecv.c
      .del-tscli.c~77fc1962db99aa2e:
        Delete: innobase/btr/ts/tscli.c
      .del-tsbtrold5.c~72a60e768c944904:
        Delete: innobase/btr/ts/trash/tsbtrold5.c
      .del-tsbtrins.c~3e3bb3f95f058b46:
        Delete: innobase/btr/ts/tsbtrins.c
      .del-TSIT.C~f53cce6fab8d325:
        Delete: innobase/btr/ts/trash/TSIT.C
      .del-tsbtrfull.c~fbcbe41b64cc71b6:
        Delete: innobase/btr/ts/tsbtrfull.c
      .del-tsbtr97.c~84dbb84ea9fa267c:
        Delete: innobase/btr/ts/tsbtr97.c
      .del-makefile~491918b4162b927c:
        Delete: innobase/btr/ts/makefile
      .del-isql.c~bc0b8cc213905175:
        Delete: innobase/btr/ts/isql.c
      
      
      BitKeeper/deleted/.del-isql.c~bc0b8cc213905175:
        Delete: innobase/btr/ts/isql.c
      BitKeeper/deleted/.del-makefile~491918b4162b927c:
        Delete: innobase/btr/ts/makefile
      BitKeeper/deleted/.del-tsbtr97.c~84dbb84ea9fa267c:
        Delete: innobase/btr/ts/tsbtr97.c
      BitKeeper/deleted/.del-tsbtrfull.c~fbcbe41b64cc71b6:
        Delete: innobase/btr/ts/tsbtrfull.c
      BitKeeper/deleted/.del-TSIT.C~f53cce6fab8d325:
        Delete: innobase/btr/ts/trash/TSIT.C
      BitKeeper/deleted/.del-tsbtrins.c~3e3bb3f95f058b46:
        Delete: innobase/btr/ts/tsbtrins.c
      BitKeeper/deleted/.del-tsbtrold5.c~72a60e768c944904:
        Delete: innobase/btr/ts/trash/tsbtrold5.c
      BitKeeper/deleted/.del-tscli.c~77fc1962db99aa2e:
        Delete: innobase/btr/ts/tscli.c
      BitKeeper/deleted/.del-tsrecv.c~3415f8a936a8d9fd:
        Delete: innobase/btr/ts/tsrecv.c
      BitKeeper/deleted/.del-tsrecv97.c~dbeb3bc494b241c1:
        Delete: innobase/btr/ts/tsrecv97.c
      BitKeeper/deleted/.del-tss.c~21ae628550141a68:
        Delete: innobase/btr/ts/tss.c
      BitKeeper/deleted/.del-tssrv.c~ee30b746c485aec:
        Delete: innobase/btr/ts/tssrv.c
      BitKeeper/deleted/.del-tscli.c~8d35740cc1f6f864:
        Delete: innobase/btr/ts/trash/tscli.c
      BitKeeper/deleted/.del-makefile~598acb06bf1e466:
        Delete: innobase/buf/ts/makefile
      BitKeeper/deleted/.del-tsbuf.c~b4c3feee158ef154:
        Delete: innobase/buf/ts/tsbuf.c
      BitKeeper/deleted/.del-tsos.c~1dadfc1ef69f2ba3:
        Delete: innobase/buf/ts/tsos.c
      BitKeeper/deleted/.del-makefile~608fd39568db7238:
        Delete: innobase/com/ts/makefile
      BitKeeper/deleted/.del-tscli.c~2f3e4b281141eac2:
        Delete: innobase/com/ts/tscli.c
      BitKeeper/deleted/.del-tscom.c~26aae2c5c4ca1dce:
        Delete: innobase/com/ts/tscom.c
      BitKeeper/deleted/.del-makefile~6356c424e9747647:
        Delete: innobase/dict/ts/makefile
      BitKeeper/deleted/.del-tsdict.c~5e82f7b8ac2b2e15:
        Delete: innobase/dict/ts/tsdict.c
      BitKeeper/deleted/.del-makefile~f64427335fafdc65:
        Delete: innobase/dyn/ts/makefile
      BitKeeper/deleted/.del-tsdyn.c~6f976764b53f3191:
        Delete: innobase/dyn/ts/tsdyn.c
      BitKeeper/deleted/.del-makefile~1df6f952a960fef4:
        Delete: innobase/fil/ts/makefile
      BitKeeper/deleted/.del-tsfil.c~e554b6f3c189c081:
        Delete: innobase/fil/ts/tsfil.c
      BitKeeper/deleted/.del-del.c~35c6283be580200:
        Delete: innobase/fsp/ts/del.c
      BitKeeper/deleted/.del-makefile~a466e9eb27493a80:
        Delete: innobase/fsp/ts/makefile
      BitKeeper/deleted/.del-tsfsp.c~890ead1636f0eaba:
        Delete: innobase/fsp/ts/tsfsp.c
      BitKeeper/deleted/.del-makefile~1bf12ce7b2dadfd5:
        Delete: innobase/ha/ts/makefile
      BitKeeper/deleted/.del-tsha.c~13dd5ea03fda370c:
        Delete: innobase/ha/ts/tsha.c
      BitKeeper/deleted/.del-makefile~b8cbd25992ee51b:
        Delete: innobase/mach/ts/makefile
      BitKeeper/deleted/.del-tsmach.c~af65166bb53ddfe9:
        Delete: innobase/mach/ts/tsmach.c
      BitKeeper/deleted/.del-makefile~6d58ab1de0ac572:
        Delete: innobase/mem/ts/makefile
      BitKeeper/deleted/.del-tsmem.c~cc483e2ab96e625c:
        Delete: innobase/mem/ts/tsmem.c
      BitKeeper/deleted/.del-makefile~fdf4c2a4ddb23230:
        Delete: innobase/mtr/ts/makefile
      BitKeeper/deleted/.del-tsbuf.c~e8d15ee095194d2c:
        Delete: innobase/mtr/ts/tsbuf.c
      BitKeeper/deleted/.del-tsmtr.c~293250c7ebfe0d3:
        Delete: innobase/mtr/ts/tsmtr.c
      BitKeeper/deleted/.del-makefile~9a1d210afa6d666e:
        Delete: innobase/os/ts/makefile
      BitKeeper/deleted/.del-tsos.c~f6057d3c171f5915:
        Delete: innobase/os/ts/tsos.c
      BitKeeper/deleted/.del-tsosaux.c~9ec97a83392a984c:
        Delete: innobase/os/ts/tsosaux.c
      BitKeeper/deleted/.del-makefile~66de73bc499566f9:
        Delete: innobase/page/ts/makefile
      BitKeeper/deleted/.del-tspage.c~f5baf63f9924e43b:
        Delete: innobase/page/ts/tspage.c
      BitKeeper/deleted/.del-makefile~3e48a33b4970faef:
        Delete: innobase/rem/ts/makefile
      BitKeeper/deleted/.del-tsrem.c~bb4e1e2e8c2ee179:
        Delete: innobase/rem/ts/tsrem.c
      BitKeeper/deleted/.del-makefile~2cdfe39689004e6:
        Delete: innobase/row/ts/makefile
      BitKeeper/deleted/.del-tstcur.c~a9d5cf73b020ec41:
        Delete: innobase/row/ts/tstcur.c
      BitKeeper/deleted/.del-makefile~da6e87ef29c12dca:
        Delete: innobase/srv/ts/makefile
      BitKeeper/deleted/.del-tsdbc.c~d36206bdccf338f:
        Delete: innobase/srv/ts/tsdbc.c
      BitKeeper/deleted/.del-tssrv.c~b8a6f5ad9ae639c8:
        Delete: innobase/srv/ts/tssrv.c
      BitKeeper/deleted/.del-makefile~f23368879649c806:
        Delete: innobase/sync/ts/makefile
      BitKeeper/deleted/.del-tssync.c~fed4676cd4eb8457:
        Delete: innobase/sync/ts/tssync.c
      BitKeeper/deleted/.del-makefile~d5e4661188c1939d:
        Delete: innobase/thr/ts/makefile
      BitKeeper/deleted/.del-tsthr.c~b095667070d626a9:
        Delete: innobase/thr/ts/tsthr.c
      BitKeeper/deleted/.del-makefile~16d63c17c8edf62a:
        Delete: innobase/trx/ts/makefile
      BitKeeper/deleted/.del-tstrx.c~5425c98548ec1e0d:
        Delete: innobase/trx/ts/tstrx.c
      BitKeeper/deleted/.del-tsttrxold.c~eb6fd6091405d54e:
        Delete: innobase/trx/ts/tsttrxold.c
      BitKeeper/deleted/.del-makefile~9b8356bbdb8bd94e:
        Delete: innobase/ut/ts/makefile
      BitKeeper/deleted/.del-tsut.c~4a154913fc9cd5c0:
        Delete: innobase/ut/ts/tsut.c
      BitKeeper/deleted/.del-univold.i~4b5ed652407f63f1:
        Delete: innobase/include/univold.i
      BitKeeper/deleted/.del-univoldmysql.i~9253a6f92058c565:
        Delete: innobase/include/univoldmysql.i
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      806f03f7
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 78a466b7
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      78a466b7
    • unknown's avatar
      potential problem fixed afer some reasoning · 7e44a786
      unknown authored
      7e44a786
    • unknown's avatar
      Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0 · e219c688
      unknown authored
      into mysql.com:/bk/mysql-4.0
      
      e219c688
    • unknown's avatar
      Merge · fe74c67b
      unknown authored
      fe74c67b
  2. 18 Feb, 2004 1 commit
  3. 16 Feb, 2004 5 commits
    • unknown's avatar
      6b9072f7
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 1f9cba05
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      1f9cba05
    • unknown's avatar
      ha_innodb.cc: · 55c0ae67
      unknown authored
        Make the drop InnoDB database operation aware of the setting FOREIGN_KEY_CHECKS=0; DROP DATABASE seems to work ok anyway, but that is because MySQL first calls DROP TABLE for each table which has an .frm file
      
      
      sql/ha_innodb.cc:
        Make the drop InnoDB database operation aware of the setting FOREIGN_KEY_CHECKS=0; DROP DATABASE seems to work ok anyway, but that is because MySQL first calls DROP TABLE for each table which has an .frm file
      55c0ae67
    • unknown's avatar
      Cleanup + safety comment · 8637a78a
      unknown authored
      
      sql/share/english/errmsg.txt:
        Added note to ensure that no one adds new error message to 4.0.
        This is important as it causes too many problems with test suite in 4.1
      sql/sql_load.cc:
        Removed wrong comment.
      8637a78a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 42ad012b
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      
      configure.in:
        Auto merged
      42ad012b
  4. 14 Feb, 2004 1 commit
  5. 13 Feb, 2004 1 commit
    • unknown's avatar
      Always use libtool with "--preserve-dup-deps" · 9d75430a
      unknown authored
      Always use all LOAD DATA options in replication.
      Fixed problem in mysqlbinlog where LOAD DATA options could be overwritten.
      
      
      client/mysqlbinlog.cc:
        Ensure that we don't call init_dynamic_array() before my_init() has been done
      configure.in:
        Always use libtool with "--preserve-dup-deps" to prevent link problems with g++
      mysql-test/r/mysqlbinlog.result:
        new results
      mysql-test/r/range.result:
        new results
      mysql-test/t/range.test:
        add missing DROP TABLE
      sql/log_event.cc:
        Always use all LOAD DATA options. This is needed to handle commands of type "FIELDS TERMINATED BY ''"
        Allocate memory for Create_file_log_event options as these may be overwritten in mysqlbinlog
      sql/log_event.h:
        Free buffer
      9d75430a
  6. 12 Feb, 2004 8 commits
  7. 11 Feb, 2004 1 commit
  8. 10 Feb, 2004 5 commits
  9. 09 Feb, 2004 4 commits
    • unknown's avatar
      row0mysql.c: · 2b02c1cc
      unknown authored
        Allow always DROPping of a table which is only referenced by FOREIGN KEY constraints from the same table
      Many files:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      
      
      sql/ha_innodb.cc:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      sql/sql_insert.cc:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      sql/ha_innodb.h:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      sql/handler.h:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      innobase/dict/dict0dict.c:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      innobase/include/dict0dict.h:
        Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
      innobase/row/row0mysql.c:
        Allow always DROPping of a table which is only referenced by FOREIGN KEY constraints from the same table
      2b02c1cc
    • unknown's avatar
      Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0 · e29a8b7c
      unknown authored
      into mysql.com:/bk/mysql-4.0
      
      e29a8b7c
    • unknown's avatar
      row0mysql.c: · 37d014f4
      unknown authored
        Fix crash in InnoDB RENAME TABLE if 'databasename/tablename' is shorter than 5 characters (Bug #2689); reported by Sergey Petrunia
      
      
      innobase/row/row0mysql.c:
        Fix crash in InnoDB RENAME TABLE if 'databasename/tablename' is shorter than 5 characters (Bug #2689); reported by Sergey Petrunia
      37d014f4
    • unknown's avatar
      Merge · 238cd3c6
      unknown authored
      238cd3c6