heikki@hundin.mysql.fi
8bc2fbb0f8
row0sel.c:
...
Optimize speed: no need to keep track of set new rec locks in a consistent read
2005-07-02 00:39:47 +03:00
heikki@hundin.mysql.fi
44c0f57d53
trx0trx.h, trx0trx.ic, row0mysql.c:
...
Fix another bug in the fix of Bug #3300
2005-07-01 22:53:08 +03:00
heikki@hundin.mysql.fi
4fe03b705a
Many files:
...
Fix Bug #3300 : if innodb_locks_unsafe_for_binlog is set, release locks on rows that we do not UPDATE or DELETE
2005-07-01 20:44:35 +03:00
heikki@hundin.mysql.fi
b3f1c60ed9
Many files:
...
Remove compiler warnings on Windows - Bug #11580
2005-06-27 18:58:32 +03:00
marko@hundin.mysql.fi
5f2ddcf580
InnoDB: Remove compilation warnings and errors on SGI IRIX.
2005-06-22 12:51:00 +03:00
marko@hundin.mysql.fi
a5cbbb7031
InnoDB: Remove some warnings reported by GCC 4.0.0.
2005-06-21 11:49:55 +03:00
marko@hundin.mysql.fi
e992adcb3f
Merge hundin.mysql.fi:/home/marko/mysql-5.0
...
into hundin.mysql.fi:/home/marko/mysql-5.0-current
2005-06-21 07:36:18 +03:00
marko@hundin.mysql.fi
f70798884c
InnoDB: Remove warnings detected by GCC 4.0.0
2005-06-20 11:06:20 +03:00
marko@hundin.mysql.fi
c3da5b0b7b
InnoDB: Do not distinguish explicitly requested table locks.
...
Since UNLOCK TABLES will commit the transaction (and thus release
all InnoDB locks held by it), it is unnecessary to release the
user-requested table locks separately.
2005-06-08 15:45:56 +03:00
serg@serg.mylan
29d6af8d9a
merged
2005-05-28 01:28:18 +02:00
marko@hundin.mysql.fi
5d0bc0b482
Merge hundin.mysql.fi:/home/marko/k/mysql-4.0
...
into hundin.mysql.fi:/home/marko/mysql-4.1
2005-05-26 15:57:24 +03:00
marko@hundin.mysql.fi
2d5b96798f
InnoDB: Check all referencing tables in DROP DATABASE (Bug #10335 ).
2005-05-26 15:42:24 +03:00
konstantin@mysql.com
89bd09fed2
Manual merge (again)
2005-05-14 12:38:12 +04:00
heikki@hundin.mysql.fi
d4bbdad2f6
row0mysql.c:
...
InnoDB wrongly complained in the .err log that MySQL is trying to drop a non-existent table, if tablespace ran out (Bug #10607 )
2005-05-13 18:37:22 +03:00
marko@hundin.mysql.fi
24afa4e0fe
InnoDB ON UPDATE CASCADE fixes:
...
Enforce maximum char_length of UTF-8 data (Bug #10409 ).
Pad UTF-8 variable-length CHAR columns with 0x20.
Pad UCS2 CHAR columns with 0x0020 (Bug #10511 ).
2005-05-13 12:55:59 +03:00
marko@hundin.mysql.fi
3009f4bf21
Remove unused function rec_offs_nth_null().
...
rec_offs_nth_extern(): Return zero/nonzero instead of FALSE/TRUE.
2005-04-27 13:35:57 +03:00
marko@hundin.mysql.fi
194593b8a9
Fix bugs found in previous optimizations.
...
Make rec_get_deleted_flag() return zero/nonzero instead of FALSE/TRUE.
2005-04-27 12:28:44 +03:00
marko@hundin.mysql.fi
b3d6f51705
InnoDB: Performance optimizations based on OProfile analysis
2005-04-25 10:14:35 +03:00
marko@hundin.mysql.fi
ba4f386765
row0upd.c:
...
Add UNIV_UNLIKELY hint.
lock0lock.c:
Correct the prototypes of lock_deadlock_recursive() and
lock_deadlock_occurs().
data0data.c:
dtuple_convert_big_rec(): Add UNIV_UNLIKELY hint.
ha_innodb.cc:
ha_innobase::write_row(): Correct the type of 'mode'.
2005-04-22 15:15:18 +03:00
marko@hundin.mysql.fi
ffeee9cee3
InnoDB: Reduce memcpy() load in row_sel_pop_cached_row_for_mysql()
...
by copying only a prefix of the row that covers the requested
columns.
2005-04-21 15:02:54 +03:00
marko@hundin.mysql.fi
c470116981
InnoDB: Define some macros around GCC's __builtin_expect()
...
and __builtin_prefetch().
Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
2005-04-21 14:23:26 +03:00
marko@hundin.mysql.fi
df780de614
InnoDB: Make CHECK TABLE killable. (Bug #9730 )
2005-04-20 17:39:05 +03:00
jan@hundin.mysql.fi
384efc4493
Fixed a bug: deadlock without any locking, simple select and update (Bug #7975 ).
...
Backported from 5.0.3.
2005-04-18 12:17:32 +03:00
jimw@mysql.com
62b78d4182
Merge from 4.1
2005-04-13 10:38:11 -07:00
mskold@mysql.com
ba1cde5c64
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
2005-04-13 18:00:14 +02:00
mskold@mysql.com
add3fd3cca
Merge
2005-04-13 16:24:17 +02:00
heikki@hundin.mysql.fi
9cfa9b91f8
row0sel.c:
...
Fix the patch of Jan to optimize next-key locking in searches of type 'primary key >= some value'
2005-04-13 16:49:28 +03:00
heikki@hundin.mysql.fi
aefe018b67
row0sel.c:
...
Do not test the value of err if the lock operation was skipped because innodb_logs_unsafe_for_binlog was TRUE; though this did not cause any bugs visible to the user, because err is inited to DB_SUCCESS at the start of the function row_search_for_mysql()
2005-04-13 15:49:28 +03:00
jan@hundin.mysql.fi
76a15f8435
Fixed a bug where next-key locking doesn't allow the insert which does
...
not produce phantom (bug #9354 ).
2005-04-13 12:07:16 +03:00
marko@hundin.mysql.fi
d5646eb6c5
InnoDB: Ignore character set mismatch in ALTER TABLE and RENAME TABLE
...
if foreign_key_checks=0. (Bug #9802 )
2005-04-12 16:12:34 +03:00
serg@serg.mylan
e1e5b97dea
manually merged
...
Gluh's SESSION/GLOBAL for @variables fix in sql_yacc.yy and
Bar's well_formed_len() changes in ndb code
did not make it and should be re-applied manually
2005-04-06 21:19:20 +02:00
heikki@hundin.mysql.fi
0c2caeb4d8
row0sel.c, btr0pcur.c, btr0pcur.ic, btr0pcur.h:
...
Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
2005-04-06 10:27:40 +03:00
marko@hundin.mysql.fi
8d6427659f
InnoDB: Disable an assertion that fails on old data due to Bug #9526
2005-04-05 15:13:14 +03:00
heikki@hundin.mysql.fi
a226b4aff2
ha_innodb.cc, row0sel.c:
...
Fix Bug #9526 in 5.0: MySQL ENUM and SET columns are internally actually unsigned integer types; we must take care that old tables still treat ENUM and SET (incorrectly) as a character string, while new created tables treat it correctly as an unsigned integer
2005-04-04 20:31:04 +03:00
heikki@hundin.mysql.fi
cb88409e07
data0type.h, row0sel.c:
...
Fix a crash in a simple search with a key: the dtype->len of a true VARCHAR is the payload maximum len in bytes: it does not include the 2 bytes MySQL uses to store the string length
ha_innodb.cc:
Fix a crash in true VARCHARs in test-innodb: we passed a wrong pointer to the column conversion in an UPDATE
rowid_order_innodb.result, ps_3innodb.result, innodb.result, endspace.result:
Edit InnoDB test results to reflect the arrival of true VARCHARs
2005-03-16 14:28:54 +02:00
jan@hundin.mysql.fi
1f9976cb10
DATA_MYSQL_TRUE_VARCHAR can be DATA_VARCHAR, DATA_BINARY, or
...
DATA_VARMYSQL so remove unnecessary condition.
2005-03-16 11:26:35 +02:00
jan@hundin.mysql.fi
9a52ffbfa4
Fixed a core dump bug after VARCHAR push in InnoDB.
2005-03-16 10:35:18 +02:00
heikki@hundin.mysql.fi
edf59e5480
Many files:
...
InnoDB true VARCHAR
2005-03-16 00:34:15 +02:00
heikki@hundin.mysql.fi
ad4057f14c
row0mysql.c:
...
Correct web links
fil0fil.c:
Correct (?) English grammar
2005-03-13 22:46:57 +02:00
marko@hundin.mysql.fi
7486a5be1d
row0sel.c:
...
row_sel_store_mysql_rec(): Remove unused variable "index".
2005-03-11 17:24:43 +02:00
marko@hundin.mysql.fi
c4ace2a471
InnoDB: Introduce the symbols REC_OFFS_NORMAL_SIZE and
...
REC_OFFS_SMALL_SIZE for the initial allocation sizes of
arrays passed to rec_get_offsets().
2005-03-10 15:16:16 +02:00
marko@hundin.mysql.fi
6920a6d546
InnoDB: Improve performance by about 10% by removing implicit
...
memcpy() calls, by not initializing the offsets_[] arrays.
InnoDB: Remove a Microsoft compiler warning in page0page.c.
2005-03-09 22:04:55 +02:00
serg@serg.mylan
956682de1a
merged
2005-03-09 14:09:06 +01:00
marko@hundin.mysql.fi
42ea96f9fd
row0sel.c:
...
row_search_for_mysql(): Add a clarifying comment.
2005-03-07 16:32:24 +02:00
marko@hundin.mysql.fi
3c55fef5a8
InnoDB: optimize SELECT performance
2005-03-07 15:23:06 +02:00
marko@hundin.mysql.fi
38adb1ba79
InnoDB: Portability fixes for warnings reported on IA-64 Windows
2005-03-07 12:03:33 +02:00
marko@hundin.mysql.fi
74194d23de
InnoDB: Merge fix of Bug #8771 from the 4.1 tree
2005-03-02 12:49:51 +02:00
marko@hundin.mysql.fi
c75036ed70
row0sel.c:
...
row_sel_store_mysql_rec(): Do not try to space-pad BLOB fields. (Bug #8771 )
2005-03-01 20:46:23 +02:00
marko@hundin.mysql.fi
7252e44bf5
After review fixes. Fix bugs in TRUNCATE.
2005-03-01 19:42:59 +02:00
monty@mysql.com
3839e443a4
merge with 4.1
2005-02-28 12:18:39 +02:00