marko@hundin.mysql.fi
9dc1f5146a
InnoDB: Reduce the stack space consumption of ON UPDATE CASCADE
...
operations.
2004-12-10 12:55:56 +02:00
marko@hundin.mysql.fi
7506ca1be1
InnoDB: Changed interface to rec_get_offsets(), to reduce the use of
...
memory heaps. This changeset plugs also a few memory leaks that
were introduced with the compact InnoDB table format.
2004-12-09 15:29:55 +02:00
marko@hundin.mysql.fi
3f806c3b66
InnoDB: Make btr_search_drop_page_hash_index() work with the compact
...
record format without requiring the doubly linked list added by
Heikki in ChangeSet@1.1627.16.2
2004-12-08 15:20:58 +02:00
marko@hundin.mysql.fi
2db2cda3ed
InnoDB: Fix ctype_utf8 test failure caused by the new record format.
2004-12-03 17:57:44 +02:00
marko@hundin.mysql.fi
dd48953956
Many files:
...
Implement more compact InnoDB record format.
Old format is available as CREATE TABLE ... ROW_FORMAT=DYNAMIC.
2004-12-02 19:45:07 +02:00
marko@hundin.mysql.fi
766adf172b
row0ins.c:
...
row_ins_scan_sec_index_for_duplicate(),
row_ins_duplicate_error_in_clust():
remove unused variables "ptr"
2004-11-18 17:01:33 +02:00
monty@mysql.com
97b4a3415d
Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1
2004-10-22 14:59:59 +03:00
heikki@hundin.mysql.fi
215cd1e4a3
row0mysql.c, row0ins.c:
...
Fix bug #5961 : release the dictionary latch during a long cascaded FOREIGN KEY operation, so that we do not starve other users
2004-10-22 00:25:57 +03:00
jan@hundin.mysql.fi
f45aacd9a3
Use already parsed SQL-query in the current thread when determining
...
was the query REPLACE or LOAD DATA INFILE REPLACE.
2004-10-15 11:28:19 +03:00
jan@hundin.mysql.fi
d07ade5579
This patch removes unnecessary lock from the supremum record, takes
...
X-locks on duplicates also on LOAD DATA...REPLACE clause and
fixes a bug #6086 adding --disable_warnings and --enable_warnings around
the create table clauses in ctype_utf8 tests for InnoDB.
2004-10-14 15:36:36 +03:00
heikki@hundin.mysql.fi
1390ce0f75
Many files:
...
Fix bug introduced by the prefix key + multibyte charsets patch today
2004-10-01 20:01:25 +03:00
marko@hundin.mysql.fi
76cda983a9
Merge marko@build.mysql.com:/home/bk/mysql-4.1
...
into hundin.mysql.fi:/home/marko/j/mysql-4.1
2004-10-01 14:17:05 +03:00
marko@hundin.mysql.fi
d7ea8e7c6c
InnoDB: quote identifiers according to MySQL settings (Bug #5292 )
2004-10-01 11:51:59 +03:00
jan@hundin.mysql.fi
c794ace161
Fixed copy-paste bug introduced on patch (jan:1.1960).
2004-09-03 16:50:13 +03:00
jan@hundin.mysql.fi
a48db602dd
Fixed unique prefix key bug for multibyte character sets (BUG #4521 ) for
...
InnoDB. This fixes also a second part of the same problem with prefix keys
on a multibyte string column for InnoDB.
2004-09-03 15:26:29 +03:00
jan@hundin.mysql.fi
656a376285
Relaxed lock wait rules so that record lock does not need to wait for a
...
gap type lock.
2004-08-17 09:45:54 +03:00
jan@hundin.mysql.fi
38255a2cad
This change includes optimization for a lock wait rules and a new behaviour for
...
a REPLACE command.
2004-08-12 13:38:10 +03:00
jan@hundin.mysql.fi
664cce3f3c
Take X-lock for duplicate keys in REPLACE command.
2004-08-11 13:01:30 +03:00
serg@serg.mylan
1f0cd873c5
manual merged (blame me!)
2004-07-20 00:53:24 +02:00
marko@hundin.mysql.fi
20b60510e9
InnoDB: limit the recursion depth for ON (UPDATE|DELETE) CASCADE
...
(Bug #4446 )
2004-07-15 15:46:22 +03:00
monty@mysql.com
d69a36d118
merge
2004-06-21 10:24:40 +03:00
monty@mysql.com
b11d258835
Merge with 4.0.21
2004-06-18 04:38:58 +03:00
heikki@hundin.mysql.fi
15dccebb0f
Cset exclude: marko@hundin.mysql.fi|ChangeSet|20040311211202|05613
2004-06-17 13:25:06 +03:00
heikki@hundin.mysql.fi
6d197336ed
row0ins.c:
...
Return the code of row_ins_foreign_check_on_constraint() as close to 4.0 as possible, except that we use mem_strdup() to allocate the memory for the modified table name
2004-06-16 04:08:07 +03:00
marko@hundin.mysql.fi
dfc36c886c
InnoDB: fix bug in call to innobase_invalidate_query_cache(),
...
introduced in ChangeSet@1.1843.1.25
InnoDB: fix bug in the error exit of
fil_create_new_single_table_tablespace(), introduced in
ChangeSet@1.1843.1.11
2004-06-16 01:55:24 +03:00
marko@hundin.mysql.fi
fc85c80b88
InnoDB cleanup:
...
Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
Remove (char*) casts of string constants; add const qualifiers
Remove some Hot Backup code unless #ifdef UNIV_HOTBACKUP
2004-05-27 15:27:43 +03:00
monty@mysql.com
cd3dab49cc
Merge with 4.0.20
2004-05-17 01:52:13 +03:00
marko@hundin.mysql.fi
981f6ef979
InnoDB: Changed bug reporting address to http://bugs.mysql.com
2004-05-11 11:05:02 +03:00
monty@mishka.local
21fd1d270e
Merge with 4.0
2004-04-26 15:53:31 +03:00
marko@hundin.mysql.fi
6af38c65be
InnoDB: send diagnostic output to stderr or files
...
instead of stdout or fixed-size memory buffers
2004-04-06 16:14:43 +03:00
marko@hundin.mysql.fi
e00bf40360
InnoDB cleanup: fixing buffer overflows and quoting of quotes
2004-04-01 16:51:34 +03:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
marko@hundin.mysql.fi
9ed26f721d
InnoDB: Replace ut_a(0) with ut_error
2004-03-13 22:48:00 +02:00
marko@hundin.mysql.fi
4573eb566c
Allow UNIV_SYNC_DEBUG to be disabled while UNIV_DEBUG is enabled
2004-03-12 17:14:51 +02:00
marko@hundin.mysql.fi
5b5d749294
More consistent handling of magic numbers
2004-03-11 23:12:02 +02:00
monty@mashka.mysql.fi
3b83cce5eb
merge with 4.0
2004-02-22 09:50:59 +02:00
marko@hundin.mysql.fi
234e9abf6a
Many files:
...
Removed unused code
.del-os0trash.c~8cae5c1695501117:
Delete: innobase/os/os0trash.c
dict0crea.c:
Protect all sprintf(%s) with assertions
2004-02-20 16:34:09 +02:00
monty@mysql.com
ce14578909
Merge with 4.0.18
2004-02-11 00:06:46 +01:00
heikki@hundin.mysql.fi
15e64c3591
row0ins.c:
...
Fix bug: FOREIGN KEY ... ON UPDATE/DELETE NO ACTION must check the foreign key constraint, not ignore it. Peter Gulutzan said that NO ACTION should check the constraint as deferred, at the end of the SQL statement, while RESTRICT should check it immediately. Since we do not have defered constraints in InnoDB, this bug fix makes InnoDB to check NO ACTION constraints immediately, like it checks RESTRICT constraints.
2004-01-14 16:21:54 +02:00
monty@mysql.com
e0cc6799ec
Merge with 4.0.17
2003-12-17 17:35:34 +02:00
heikki@hundin.mysql.fi
d3d9b727eb
Many files:
...
Fix assertion failure on line 713 of row0upd.c if there is a column prefix index and the last characters in the prefix are spaces: do not assume that the length of alphabetically equal strings is the same; fix a buglet which could cause InnoDB to think that a secondary index record was not locked though it had been updated in a way which did not alpahabetically change its value, e.g., abc -> aBc
2003-12-12 07:51:21 +02:00
heikki@hundin.mysql.fi
6112853cda
Many files:
...
Multiple tablespaces for InnoDB
sql_table.cc:
Tell explicitly that InnoDB should retrieve all columns in CHECKSUM TABLE
sql_update.cc, sql_select.cc, my_base.h:
More descriptive flag name HA_EXTRA_RETRIEVE_ALL_COLS
2003-10-07 17:28:59 +03:00
heikki@hundin.mysql.fi
d970e339dd
row0sel.c, row0ins.c:
...
Fix error in previous push
2003-06-18 03:38:09 +03:00
heikki@hundin.mysql.fi
01eb3d1e62
row0vers.c, row0sel.c, row0ins.c:
...
Fix bug: InnoDB could print that it cannot find a clustered index record if an update undo, purge, and a consistent read coincided, in rare cases it might also have returned a wrong row in a query
2003-06-18 02:18:19 +03:00
heikki@hundin.mysql.fi
4da7f485b7
Many files:
...
Merge InnoDB-4.0.14: SAVEPOINT now implemented; InnoDB now accepts also column prefix keys; crashing bug in ON UPDATE CASCADE fixed; page checksum formula fixed
2003-06-15 01:04:28 +03:00
heikki@hundin.mysql.fi
4ac8d7b963
row0ins.c:
...
Disable UNIQU KEY error reporting in SHOW INNODB STATUS until we know if it slows down REPLACE significantly
2003-05-22 00:05:33 +03:00
heikki@hundin.mysql.fi
aa92b8ecd1
row0ins.c, dict0dict.c, dict0dict.h, srv0srv.c:
...
Let SHOW INNODB STATUS print detailed info of the latest unique key violation, note that REPLACE and INSERT IGNORE mask the error from the user
2003-05-04 23:24:23 +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
f841b4ae23
Many files:
...
Merge InnoDB-4.0.13; DROP FOREIGN KEY now works
2003-04-16 16:45:01 +03:00