serg@sergbook.mysql.com
6bc9bc92df
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.1-wl2936
2007-04-16 10:37:50 +02:00
holyfoot/hf@mysql.com/hfmain.(none)
aef5543019
bug #26074 Mysql crash creating partition
...
As we have unified paths inside partition engine, we should look for '/'
as a path separator
2007-04-05 20:26:18 +05:00
antony@ppcg5.local
6f21d39d51
WL#2936
...
"Plugin Server Variables"
Post review cleanups.
2007-03-28 21:29:16 -07:00
serg@janus.mylan
68fd66e853
wl#3700 - post-review fixes:
...
s/ulonglong/key_part_map/, comments
2007-03-17 00:13:25 +01:00
serg@janus.mylan
f813272125
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into janus.mylan:/usr/home/serg/Abk/mysql-5.1
2007-03-16 14:09:30 +01:00
serg@janus.mylan
6aa5c001c5
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into janus.mylan:/usr/home/serg/Abk/mysql-5.1
2007-03-06 13:44:57 +01:00
antony@ppcg5.local
dc24473cb2
WL#2936
...
"Server Variables for Plugins"
Implement support for plugins to declare server variables.
Demonstrate functionality by removing InnoDB specific code from sql/*
New feature for HASH - HASH_UNIQUE flag
New feature for DYNAMIC_ARRAY - initializer accepts preallocated ptr.
Completed support for plugin reference counting.
2007-03-02 08:43:45 -08:00
malff/marcsql@weblab.(none)
dc98aa82ab
Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-base
...
into weblab.(none):/home/marcsql/TREE/mysql-5.1-rt-merge
2007-02-28 18:14:56 -07:00
kostja@bodhi.local
8b07431927
Remove dead code: flush_version was never increased in the server,
...
therefore the logic associated with it never worked.
2007-03-01 00:25:50 +03:00
gluh@mysql.com/eagle.(none)
f1f0de8419
valgrind error fix
2007-02-28 13:25:49 +04:00
sergefp@mysql.com
d61f9e2d89
BUG#26117 "index_merge sort-union over partitioned table crashes"
...
Before the fix:
ha_partition objects had ha_partition::m_part_info==NULL and that caused
crash
After:
- The new ha_partition::clone() function makes the clones use parent's
m_part_info value.
- The parent ha_partition object remains responsible for deallocation of
m_part_info.
2007-02-27 22:01:03 +03:00
serg@janus.mylan
689eed7406
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into janus.mylan:/usr/home/serg/Abk/mysql-5.1
2007-02-21 11:36:23 +01:00
serg@janus.mylan
a07fd5fa8f
WL#3700: Handler API change: all index search methods - that is,
...
index_read(), index_read_idx(), index_read_last(), and
records_in_range() - instead of 'uint keylen' argument take
'ulonglong keypart_map', a bitmap showing which keyparts are
present in the key value.
Fallback method is provided for handlers that are lagging behind.
2007-01-29 10:40:26 +01:00
monty@narttu.mysql.fi
bb464613ce
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into mysql.com:/home/my/mysql-5.1
2007-01-29 01:57:07 +02:00
monty@mysql.com/narttu.mysql.fi
410fc81a72
After merge fixes
...
Removed a lot of compiler warnings
Removed not used variables, functions and labels
Initialize some variables that could be used unitialized (fatal bugs)
%ll -> %l
2007-01-29 01:47:35 +02:00
holyfoot/hf@mysql.com/deer.(none)
3fd278c9d3
bug #24186 (nested query across partitions returns fewer records)
...
Subselect's engine checks table->status field to determine if the
record was properly found when we use keyread upon the table.
Partition engine checks all the partitions for given key
before return. So if matching record was found in the first
partition and no matching records were found in the second,
we have table->status == NOT_FOUND after the function, what
makes subselects to skip matching records.
The patch adds table->status= 0 if we actually found something.
2007-01-12 15:46:20 +04:00
kent@mysql.com/kent-amd64.(none)
1e3237fefa
Many files:
...
Changed header to GPL version 2 only
2006-12-27 02:23:51 +01:00
monty@mysql.com/nosik.monty.fi
0e149b7170
Removed compiler warnings
...
Ensure that my_size_t is always unsigned (to get predictiable results from system to system)
Removed some %lld, as these are not portable
2006-11-27 18:16:08 +02:00
monty@mysql.com/nosik.monty.fi
fa81a82e7f
Fixed a LOT of compiler warnings
...
Added missing DBUG_RETURN statements (in mysqldump.c)
Added missing enums
Fixed a lot of wrong DBUG_PRINT() statements, some of which could cause crashes
Removed usage of %lld and %p in printf strings as these are not portable or produces different results on different systems.
2006-11-27 01:47:38 +02:00
mskold/marty@linux.site
f56e4579ab
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb
...
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
2006-10-18 15:17:47 +02:00
stewart@willster.(none)
0783b57bc7
BUG#19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tables
...
update partition engine for handler::info returning int
2006-10-18 22:31:48 +10:00
mikael/pappa@dator5.(none)
4a7cd3a1cb
Merge dator5.(none):/home/pappa/clean-mysql-5.1
...
into dator5.(none):/home/pappa/bug18198
2006-10-16 15:40:40 -04:00
brian@zim.(none)
faff46eefe
Added license information display to output of plugins schema, and tagged all plugins with GPL flag.
2006-10-05 00:41:29 -07:00
mikael/pappa@dator5.(none)
1cdf82e012
BUG#18198: Partition function handling
...
Fixes of after review fixes
2006-10-02 15:52:29 -04:00
brian@zim.(none)
56505c01f9
This patch updates to remove most global hton needs. Cleans up wrong message in partition.
2006-09-30 18:31:13 -07:00
brian@zim.(none)
a756fd36ef
This removes the passing of global hton to engine instance.
2006-09-29 17:19:02 -07:00
brian@zim.(none)
f9a02811da
Removed Field (this came in as an idea from a previous patch by Serg)
2006-09-26 21:26:04 -07:00
mikael/pappa@dator5.(none)
6c07d55a39
Merge dator5.(none):/home/pappa/clean-mysql-5.1-kt
...
into dator5.(none):/home/pappa/bug21210
2006-09-19 07:48:40 -04:00
mikael/pappa@dator5.(none)
fb2ad12f1d
Merge dator5.(none):/home/pappa/clean-mysql-5.1
...
into dator5.(none):/home/pappa/bug21210
2006-09-19 07:44:18 -04:00
mikael/pappa@dator5.(none)
3b4ef2a975
BUG#22178: Scan ordered performed also on engines not supporting ordered scans
...
Scan of ranges without start key should not use ordered scans unless it
is requested.
2006-09-19 02:56:02 -04:00
brian@zim.(none)
7194b6d75a
This changes the order of the universe, black is now the new white.
...
In practice this means that handlerton is now created by the server and is passed to the engine. Plugin startups can now also control how plugins are inited (and can optionally pass values). Bit more flexibility to those who want to write plugin interfaces to the database.
2006-09-15 10:28:00 -07:00
mikael/pappa@dator5.(none)
4f122ed95b
Merge dator5.(none):/home/pappa/clean-mysql-5.1
...
into dator5.(none):/home/pappa/bug21210
2006-09-08 06:29:35 -04:00
mikael/pappa@dator5.(none)
814b81ad6b
BUG#21210: ALTER TABLE t1 REORGANIZE PARTITION crashes when using InnoDB
...
Inserted wrong handlers into the new_file_array which later caused
havoc in rename_partitions
2006-09-04 11:18:34 -04:00
brian@zim.(none)
c7baf60267
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into zim.(none):/tmp/mysql-5.1-arch
2006-09-01 09:19:10 -07:00
mikael/pappa@dator5.(none)
8c5db16fc5
Merge dator5.(none):/home/pappa/clean-mysql-5.1
...
into dator5.(none):/home/pappa/bug21388
2006-08-31 04:21:14 -04:00
acurtis/antony@xiphis.org/ltantony.xiphis.org
38a59efbc9
add 2 placeholder values for config and system variables.
2006-08-30 14:27:29 -07:00
mikael/pappa@dator5.(none)
b28a550eb4
Merge dator5.(none):/home/pappa/clean-mysql-5.1-kt
...
into dator5.(none):/home/pappa/bug21388
2006-08-26 06:14:05 -04:00
brian@zim.(none)
d41188130a
This is a cleanup of warnings that windows is complaining about.
2006-08-23 15:12:42 -07:00
gluh@mysql.com/gluh.(none)
0ba4ff24ef
Bug#20548 Events: crash if InnoDB, multiple events, busy procedures, partitions
...
setup 'share' struct for all partiton file elements. It's neccessary because we use
m_file[0]->update_create_info(create_info) during ha_partition::update_create_info
and 'share' for m_file[0] should be valid
2006-08-23 16:58:36 +05:00
mikael/pappa@dator5.(none)
ddbdc16a21
Merge dator5.(none):/home/pappa/bug21350
...
into dator5.(none):/home/pappa/bug21388
2006-08-17 09:32:13 -04:00
mikael/pappa@dator5.(none)
85b3ac683c
BUG#21350: Fix correct error handling when using DATA DIRECTORY and INDEX DIRECTORY
...
Review fixes
2006-08-17 09:05:15 -04:00
mikael/pappa@dator5.(none)
2c64f1d1e0
Merge dator5.(none):/home/pappa/bug21357
...
into dator5.(none):/home/pappa/bug21388
2006-08-16 10:56:22 -04:00
mikael/pappa@dator5.(none)
a6df8abf2c
Merge dator5.(none):/home/pappa/bug21143
...
into dator5.(none):/home/pappa/bug21388
2006-08-16 10:53:20 -04:00
mikael/pappa@dator5.(none)
77090920f8
BUG#21173: SHOW TABLE STATUS crashes mysqld
...
Review fixes
2006-08-08 09:58:55 -04:00
mikael/pappa@dator5.(none)
79ab9cef27
BUG#21143: mysqld hangs when using wrong number of subpartitions
...
Rewrote if-statement a bit shorter
Added check for subpartitions in REORGANIZE partitions to be of same number as
in base table.
2006-08-08 08:52:51 -04:00
mikael/pappa@dator5.(none)
47a8ebe733
BUG#21173: SHOW TABLE STATUS crashes on InnoDB tables
...
Don't use get_auto_increment on tables without auto_increment fields
2006-08-08 08:47:58 -04:00
mikael/pappa@dator5.(none)
a86914a72e
BUG#21357: Valgrind error in partition test
...
memcpy was too long m_reorged_parts was already temp_partitions * no_subparts so multiplying
by no_subparts again was not a good idea.
2006-08-07 18:33:12 -04:00
mikael/pappa@dator5.(none)
3e6b0b0bda
BUG#21350: No errors on using erroneus DATA DIRECTORY clause
...
set_up_table_before_create can fail due to erroneus path to
data directory or index directory
Added abort handling to ensure created partitions are dropped
if a failure occurs in the middle of the create process.
2006-08-07 06:22:08 -04:00
mikael/pappa@dator5.(none)
30989a77a7
Merge dator5.(none):/home/pappa/clean-mysql-5.1
...
into dator5.(none):/home/pappa/push_tree_w28
2006-07-15 04:06:31 -04:00
mikael/pappa@dator5.(none)
cacbb674b1
Merge dator5.(none):/home/pappa/clean-mysql-5.1-kt
...
into dator5.(none):/home/pappa/push_tree_w28
2006-07-15 03:59:53 -04:00