acurtis@xiphis.org
13a776778c
Finalize storage engine plugins
...
Give BerkeleyDB savepoints
Remove "enum db_type" from most of the code
2005-12-21 10:18:40 -08:00
holyfoot@deer.(none)
55e7f4503e
bug #15521 (Cannot reorganise a partition with a new name equal to the old name)
2005-12-15 15:24:35 +04:00
pem@mysql.com
b2a9961abf
Merge mysql.com:/usr/local/bk/mysql-5.0
...
into mysql.com:/usr/home/pem/mysql-5.1-new
2005-11-28 20:14:12 +01:00
serg@serg.mylan
10df921c96
documenting HA_STATUS_xxx flags
2005-11-26 08:54:13 +01:00
mikael@mysql.com
a6c97bb635
Made set_part_info a handler method and not a ha_partition method only
...
The previous variant where it was a specific ha_partition method
only worked for the partition handler. It was unfortunately called also
for the NDB handler and in this case it called a random method in the
NDB handler with random input.
2005-11-25 09:11:52 +01:00
monty@mysql.com
e42c980967
Table definition cache, part 2
...
The table opening process now works the following way:
- Create common TABLE_SHARE object
- Read the .frm file and unpack it into the TABLE_SHARE object
- Create a TABLE object based on the information in the TABLE_SHARE
object and open a handler to the table object
Other noteworthy changes:
- In TABLE_SHARE the most common strings are now LEX_STRING's
- Better error message when table is not found
- Variable table_cache is now renamed 'table_open_cache'
- New variable 'table_definition_cache' that is the number of table defintions that will be cached
- strxnmov() calls are now fixed to avoid overflows
- strxnmov() will now always add one end \0 to result
- engine objects are now created with a TABLE_SHARE object instead of a TABLE object.
- After creating a field object one must call field->init(table) before using it
- For a busy system this change will give you:
- Less memory usage for table object
- Faster opening of tables (if it's has been in use or is in table definition cache)
- Allow you to cache many table definitions objects
- Faster drop of table
2005-11-23 22:45:02 +02:00
guilhem@mysql.com
2f95fc2701
Merge mysql.com:/home/mysql_src/mysql-5.0
...
into mysql.com:/home/mysql_src/mysql-5.1-merge-of-5.0 (not all files are good,
I'll fix; I'll ask some devs to check their part)
2005-11-18 16:38:01 +01:00
brian@zim.(none)
510d0f24c8
Added handlerton flag to make storage engines invisable via flag.
2005-11-10 08:24:21 -08:00
acurtis@poseidon.ndb.mysql.com
c01a3b5e5f
Make storage engines "pluggable", handlerton work
2005-11-07 16:25:06 +01:00
ramil@ndbmaster.mysql.com
bd18c9f24d
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into ndbmaster.mysql.com:/home/ndbdev/tomas/mysql-5.1-new
2005-11-06 08:30:26 +01:00
ramil@ndbmaster.mysql.com
7678149864
WL #528 : Faster free_tmp_table
2005-11-06 08:29:03 +01:00
kent@mysql.com
37788da790
Reapplied portability changes, from changesets by kent, joerg and msvensson
2005-11-06 02:19:51 +01:00
monty@mysql.com
cdf64f0f57
Fix of crashed 5.1 tree (wrong merge + wrong pullout patch forced us to create a new 5.1 tree)
...
This is a merge of 5.0 -> 5.1 + some code from old 5.1 tree to get all tests to work and keep the .frm format the same as the old 5.1 tree.
2005-11-05 13:20:35 +02:00
monty@mysql.com
a6f5375cb0
Merge mysql.com:/home/my/mysql-5.0
...
into mysql.com:/home/my/mysql-5.1
2005-11-05 01:32:55 +02:00
igor@rurik.mysql.com
84ad20364d
Merge rurik.mysql.com:/home/igor/mysql-5.0
...
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
2005-11-04 15:03:29 -08:00
konstantin@mysql.com
7e3f757f2d
A fix and a test case for Bug#14210 "Simple query with > operator on
...
large table gives server crash": make sure that when a MyISAM temporary
table is created for a cursor, it's created in its memory root,
not the memory root of the current query.
2005-11-03 14:20:13 +03:00
igor@rurik.mysql.com
fddc99bcd8
#view.test#:
...
new file
sql_table.cc, handler.h:
Fixed bug #14540 .
Added error mnemonic code HA_ADMIN_NOT_BASE_TABLE
to report that an operation cannot be applied for views.
view.test, view.result:
Added a test case for bug #14540 .
errmsg.txt:
Fixed bug #14540 .
Added error ER_CHECK_NOT_BASE_TABLE.
2005-11-02 13:44:58 -08:00
svoj@mysql.com
eb8ab30046
Store and read engine type string in extra block of .frm.
2005-10-10 23:01:45 +05:00
tomas@poseidon.ndb.mysql.com
620b7bafb0
Merge
2005-10-06 10:54:07 +02:00
serg@serg.mylan
10953a6d8c
Bug#13143 - formatID should not affect XID's uniqueness
2005-10-05 16:38:53 +02:00
brian@zim.(none)
11be8401a7
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/fix-5.0
2005-10-03 21:09:01 -07:00
brian@zim.(none)
2a42afd132
Final patch for 5.0 for simplifying storage engine code. We now have just one set of ifdefs. I may also remove the code for creating new handlers.
...
May changes were to simplify storage engine setup and support for legacy call to show storage engines.
2005-10-03 18:42:30 -07:00
kent@mysql.com
f49ac24a0f
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
2005-10-03 10:39:35 +02:00
brian@zim.(none)
0ba8ca2a17
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/fix-5.0
2005-10-02 20:13:18 -07:00
brian@zim.(none)
54a958993c
Next big patch for loadable storage engines!
...
Handlerton array is now created instead of using sys_table_types_st. All storage engines can now have inits and giant ifdef's are now gone for startup. No compeltely clean yet, handlertons will next be merged with sys_table_types. Federated and archive now have real cleanup if their inits fail.
2005-10-02 19:44:28 -07:00
eric@mysql.com
5008a5f208
Move handler specific options into handlerton flag check
...
BUG#13108
2005-09-30 16:26:48 -07:00
serg@mysql.com
78001860a6
Merge
2005-09-30 20:30:09 +02:00
serg@serg.mylan
bef3c587c6
Bug#11238
...
"SELECT ... FOR UPDATE executed as consistent read inside LOCK TABLES"
Do not discard lock_type information as handler::start_stmt() may require knowledge.
(fixed by Antony)
2005-09-30 20:20:10 +02:00
sergefp@mysql.com
3625ec5127
BUG#13081: Disable ROR-index_merge for NDB tables (by adding a
...
HA_KEY_SCAN_NOT_ROR index flag) as NDB index scans are not guaranteed to be ROR
scans.
2005-09-30 14:20:15 +04:00
brian@zim.(none)
8eea3e5be0
This fixed bug 13369. Note, I dislike goto's as well.
...
The alias structure now is a bit more simple and just uses a pointer to replace with the currect name. The giant case statement should go away in the next patch.
2005-09-22 16:58:09 -07:00
serg@serg.mylan
306aa15391
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into serg.mylan:/usr/home/serg/Abk/mysql-5.0-merged
2005-09-21 17:42:44 +02:00
serg@serg.mylan
a083ff160e
merged
2005-09-21 13:53:22 +02:00
sergefp@mysql.com
f9475d1d15
BUG#12232: Add a server option to treat NULL values as equal when calculating MyISAM index
...
statistics (like 4.0 did) (patch #3 , with review #1 & #2 feedback addressed)
2005-09-21 02:18:29 +04:00
pappa@c-1309e253.1238-1-64736c10.cust.bredbandsbolaget.se
2530fcde11
Handle default engine type better for
...
partitioned tables
2005-09-20 10:29:59 -04:00
brian@zim.(none)
616c324436
Cleanup for handlerton structure to allow for loadable engine work. This is the first in a series of patches.
2005-09-19 12:06:23 -07:00
tulin@dl145c.mysql.com
b127139206
Bug #13179 partition info in mysqldump makes it hard to use dump in different sized cluster
2005-09-14 17:30:23 +02:00
msvensson@neptunus.(none)
fb63290635
Merge neptunus.(none):/home/msvensson/mysql/bug10713_new/my50-bug10713_new
...
into neptunus.(none):/home/msvensson/mysql/bug10713_new/my51-bug10713_new
2005-09-14 09:43:56 +02:00
eric@mysql.com
1a79e25537
Made changes to add federated CONNECTION information to the .frm file
...
(per Monty's patch).
Remove references to the "COMMENT" field.
WL#2414
2005-09-12 18:02:17 -07:00
brian@zim.(none)
57403ddc9d
Merge zim.(none):/home/brian/mysql/mysql-5.0
...
into zim.(none):/home/brian/mysql/mysql-5.1
Resolved to minor issues.
2005-08-30 14:40:02 -07:00
brian@zim.(none)
3091eb3fa4
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zim.(none):/home/brian/mysql/mysql-5.0
2005-08-30 08:28:55 -07:00
osku@127.(none)
0848d8c366
Bug #11946 : Review fixes.
2005-08-30 12:39:20 +03:00
brian@zim.(none)
b4208c569a
Update for delete_all_rows() which will be used for TRUNCATE and DELETE support.
2005-08-29 15:26:05 -07:00
brian@zim.(none)
4e9931752e
Added support for delete_all_rows() for archive. This fixes bug #12836 .
2005-08-29 15:05:16 -07:00
pappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se
02056f8e3a
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
2005-08-25 13:11:38 -04:00
pappa@c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se
5e91e260e6
WL #2602 , #2603 , #2604
...
Added new syntax for partition management
2005-08-19 10:26:05 -04:00
osku@127.(none)
fb48039444
Fix bug #11946 , truncate not always resetting the auto-increment counter
...
in InnoDB tables.
2005-08-17 11:00:20 +03:00
serg@sergbook.mysql.com
f5ff607c14
BUG#12162 - one can start two transactions with the same XID.
...
Now we keep all active XID's in a hash
2005-08-12 21:15:01 +02:00
jani@a193-229-222-105.elisa-laajakaista.fi
8f10662eab
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1
2005-07-23 00:15:53 +03:00
jani@a193-229-222-105.elisa-laajakaista.fi
2657e48c64
Faster alter table code for 5.1.
2005-07-22 23:43:59 +03:00
pappa@c-8b0ae253.1238-1-64736c10.cust.bredbandsbolaget.se
e08a37bcdf
BUG #12097 patch
2005-07-22 14:47:05 -04:00