Commit graph

99 commits

Author SHA1 Message Date
heikki@hundin.mysql.fi
f787cb1434 row0sel.c:
Do not allow InnoDB to cache result set in HANDLER because user can use PREV and NEXT and scroll the cursor
2003-04-17 02:51:50 +03:00
heikki@hundin.mysql.fi
3a77f47a04 ha_innodb.cc, row0sel.c, row0mysql.c, row0mysql.h:
Allow HANDLER PREV and NEXT also after positioning the cursor with a unique search on the primary key
2003-04-17 02:28:40 +03:00
heikki@hundin.mysql.fi
5112674d70 row0ins.c:
Better fix for the ON DELETE SET NULL problem
2003-04-16 23:05:22 +03:00
heikki@hundin.mysql.fi
609c8d9c62 row0ins.c:
Fix bug: we did not allow ON DELETE SET NULL to modify the same table where the delete was made; we can allow it because that cannot produce infinite loops cascaded operations
2003-04-16 22:50:12 +03:00
heikki@hundin.mysql.fi
c60ca95e06 row0sel.c:
Fix crash in HANDLER PREV or NEXT if the cursor was positioned using a unique search condition on the primary key: in that case InnoDB does NOT store the cursor position for later fetch prev or next
2003-04-16 21:36:42 +03:00
heikki@hundin.mysql.fi
f841b4ae23 Many files:
Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
2003-04-16 16:45:01 +03:00
lenz@mysql.com
dbe145f015 - Fixed bug in "make DESTDIR=<dir> install" - the InnoDB static
libraries always ended up in "dir..", even though they were not supposed
   to be installed anyway (they are only required at link time). Fixed it by
   replacing libs_LIBRARIES with noinst_LIBRARIES for all InnoDB Makefile.am 
   files and by removing "libsdir = " from innobase/include/Makefile.i .
2003-04-10 20:03:52 +02:00
monty@narttu.mysql.fi
c2fa342d53 Merge with 3.23 to get fix for halloween problem on Update of InnoDB tables 2003-03-18 03:19:20 +02:00
heikki@hundin.mysql.fi
852b1b3dc5 row0mysql.c:
Test if merging from 3.23 to 4.0 succeeds
2003-03-16 14:40:41 +02:00
heikki@hundin.mysql.fi
008e1d29a3 row0sel.c:
Fix bug number 154: GROUP BY and DISTINCT could treat NULL values inequal
2003-03-15 20:05:55 +02:00
heikki@hundin.mysql.fi
c4370278a0 row0sel.c:
Fix bug number 154: GROUP BY and DISTINCT could treat NULL values inequal
2003-03-15 20:05:03 +02:00
heikki@hundin.mysql.fi
61ccb631bb row0sel.c:
Print a warning if MySQL uses a partial-field key value prefix in a search; that would not work if the search flag would happen to be HA_READ_PREFIX_LAST
2003-02-19 19:38:38 +02:00
heikki@hundin.mysql.fi
91ba134512 btr0btr.h, btr0btr.c, row0purge.c:
Backport from 4.0: fix the BLOB hang if the index tree is of height 1
2003-01-16 01:21:13 +02:00
heikki@hundin.mysql.fi
7424bf2ea9 btr0cur.h, btr0btr.h, btr0btr.c, btr0cur.c, row0purge.c:
Fix a hang associated with an index tree of height 1 and purging of BLOB fields from it
2003-01-13 15:52:39 +02:00
heikki@hundin.mysql.fi
843e1d8e9c Many files:
Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
sql_select.cc:
  Remove superfluous prints to .err log when a locking SELECT fails to a deadlock or a lock wait timeout
2002-12-22 01:54:29 +02:00
heikki@hundin.mysql.fi
fdcb314fc6 row0mysql.c:
Heikki will merge to 4.0: cleanup
2002-12-05 22:09:51 +02:00
heikki@hundin.mysql.fi
5c3c4d3721 row0mysql.c, dict0dict.c, db0err.h, ha_innobase.cc:
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
2002-12-05 22:03:24 +02:00
heikki@hundin.mysql.fi
5783e800e4 row0sel.c:
Fix a hang introduced in 4.0.5 in INSERT INTO ... SELECT ... when binlogging is not on
2002-12-03 18:16:48 +02:00
heikki@hundin.mysql.fi
5fedf659d8 row0mysql.c, row0mysql.h:
Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
2002-11-19 16:54:52 +02:00
heikki@hundin.mysql.fi
4b73222d5a row0mysql.c, row0mysql.h, ha_innodb.cc, sql_table.cc, handler.h:
Fix crash when InnoDB temp table is truncated + fix bug: do not X-lock rows under LOCK TABLES except if the table is temp
2002-11-19 16:27:26 +02:00
heikki@hundin.mysql.fi
7ba423d9ed row0sel.c:
Backport from 4.0 a bug fix: if unique search from a primary key matched a delete-marked record, InnoDB could return the NEXT record
2002-11-13 16:24:50 +02:00
heikki@hundin.mysql.fi
d7d128cba9 row0sel.c:
Fix bug: if a unique search from a primary key matched to a delete-marked row, it could return the NEXT row
2002-11-13 15:45:05 +02:00
heikki@hundin.mysql.fi
7e5f1c2b2c dict0load.c:
Fix wrong sprintf argument
row0sel.c:
  Fix uninitialized variable error found by Miguel
2002-11-13 06:11:56 +02:00
heikki@hundin.mysql.fi
60499d54dd Many files:
Try to skip over corrupt records in SELECT if innodb_force_recovery > 0; print more page hex dumps in CHECK TABLE
2002-11-09 18:23:09 +02:00
heikki@hundin.mysql.fi
be51d6ae8c row0mysql.c:
Backport from 4.0: Fix corruption of ON DELETE CASCADE in lock wait timeout
2002-11-07 15:05:26 +02:00
heikki@hundin.mysql.fi
b31f909d7b Many files:
Fix hang introduced by selective deadlock resolution
srv0srv.c, row0mysql.c:
  Fix hang introduced by selective deadlock resolution + corruption caused by lock timeout or sel deadl res in ON DELETE CASCADE
2002-11-07 14:47:25 +02:00
heikki@hundin.mysql.fi
db1693101b Many files:
Merge InnoDB-4.0.5b: minor improvements to foreign keys, more logical data dictionary lock
2002-11-06 00:41:27 +02:00
heikki@hundin.mysql.fi
48b0cdc43f row0undo.c:
Partial fix to a hang introduced in CREATE TABLE in the push last night
2002-10-30 09:44:06 +02:00
heikki@hundin.mysql.fi
9153d88c6b Many files:
Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
mysqld.cc:
  Change MySQL default isolation level to REPEATABLE READ; note that InnoDB has always had that default, and BDB and MyISAM always run at SERIALIZABLE level anyway
2002-10-29 23:16:46 +02:00
heikki@hundin.mysql.fi
62b2b08717 row0ins.c, ha_innodb.cc:
Table hash key len in query cache also includes null char at end
2002-09-22 01:38:48 +03:00
heikki@hundin.mysql.fi
f8d44429c5 srv0srv.h, srv0srv.c, row0mysql.c:
Put back a change unintentionally removed in the last 2 pushes
2002-09-20 05:44:41 +03:00
heikki@hundin.mysql.fi
9e493e91e9 Many files:
Modifications for query cache + trxs, fix of q.c.+ foreign keys
os0file.c:
  Use unbuffered i/o in Windows
2002-09-20 05:11:08 +03:00
monty@mashka.mysql.fi
3bb2660d10 Merge with 3.23.53 2002-09-17 05:17:32 +03:00
heikki@hundin.mysql.fi
a7a24b8a9c row0mysql.c:
Fix typos in previous push
2002-09-13 14:23:09 +03:00
heikki@hundin.mysql.fi
69f571db0c row0mysql.c:
Allow CREATE TABLE and DROP TABLE even if innodb_force_recovery is used, the user can drop a problematic table
2002-09-13 13:55:25 +03:00
serg@serg.mysql.com
b962da9aab merged 2002-08-31 23:38:10 +00:00
heikki@hundin.mysql.fi
df5d7a5b91 row0mysql.c, ha_innobase.cc:
Improved error message for out-of-sync frm files
2002-08-23 10:52:24 +03:00
monty@hundin.mysql.fi
087261482a merge with 3.23.52 2002-08-08 15:24:47 +03:00
heikki@hundin.mysql.fi
bbb8125a2c Many files:
Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
2002-07-31 00:47:20 +03:00
heikki@hundin.mysql.fi
4b2f5cce80 row0vers.c:
Add diagnostic code to track a probable table corruption reported by a user
2002-07-25 22:51:43 +03:00
monty@mashka.mysql.fi
bc035c71f1 Merge with 3.23.51
Fixed wrong usage of sprintf() in ha_innodb.cc
2002-07-25 22:46:28 +03:00
heikki@hundin.mysql.fi
f753fdd32f row0ins.c:
Move the assertion in foreign keys to the right place
2002-07-21 13:17:49 +03:00
heikki@hundin.mysql.fi
51c80faed2 row0ins.c:
Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE
dict0dict.c:
  test
2002-07-21 12:58:14 +03:00
heikki@hundin.mysql.fi
f5dfd7e41c row0mysql.c:
Forgot to release an x-latch in DROP DATABASE
2002-07-10 19:55:27 +03:00
heikki@hundin.mysql.fi
7390d81f43 Many files:
Merge InnoDB-3.23.52b
2002-07-08 19:34:49 +03:00
heikki@hundin.mysql.fi
18bb600817 row0ins.c:
The UNIV_DEBUG version asserted if a foreign key check failed because of a lock wait timeout
btr0cur.c:
  Fix a bug: if the primary key was updated (or delete + insert) so that only the case of characters changed, we were left with a dangling adaptive hash index pointer, often causing an assertion failure in page0page.ic line 515
2002-07-01 02:19:58 +03:00
heikki@hundin.mysql.fi
128e872f3c Many files:
Merge 3.23.52
2002-06-22 20:41:14 +03:00
monty@hundin.mysql.fi
f5ed8784a2 merge with 3.23.51 2002-05-16 18:20:49 +03:00
heikki@hundin.mysql.fi
59a00868c9 row0mysql.c:
Play safe and set a MySQL 1 - 12 byte BLOB reference to zero except for the length and pointer areas in it
2002-05-09 20:22:26 +03:00
heikki@hundin.mysql.fi
41a1af3b5f row0sel.c:
Monty said an SQL NULL BLOB field must have NULL as the data pointer value
2002-05-09 16:33:12 +03:00