summaryrefslogtreecommitdiff
path: root/sql/ha_partition.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge bk-internal.mysql.com:/home/bk/mysql-5.1-enginesistruewing@chilla.local2007-04-271-9/+25
|\ | | | | | | into chilla.local:/home/mydev/mysql-5.1-wl2936-two
| * wl#2936 post-merge fixesserg@janus.mylan2007-04-161-1/+2
| |
| * Merge bk-internal.mysql.com:/home/bk/mysql-5.1serg@sergbook.mysql.com2007-04-161-8/+23
| |\ | | | | | | | | | into sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.1-wl2936
| | * WL#2936antony@ppcg5.local2007-03-281-2/+6
| | | | | | | | | | | | | | | "Plugin Server Variables" Post review cleanups.
| | * WL#2936antony@ppcg5.local2007-03-021-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | "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.
* | | - Resolved conflict between fixes for bugs 25141 and 26074.iggy@recycle.(none)2007-04-241-2/+1
|/ / | | | | | | | | - Use the 25141 fix. - 26074 is duplicate, as 25141 has more comprehensive test
* | bug #26074 Mysql crash creating partitionholyfoot/hf@mysql.com/hfmain.(none)2007-04-051-1/+2
| | | | | | | | | | As we have unified paths inside partition engine, we should look for '/' as a path separator
* | wl#3700 - post-review fixes:serg@janus.mylan2007-03-171-3/+3
| | | | | | | | s/ulonglong/key_part_map/, comments
* | Merge bk-internal.mysql.com:/home/bk/mysql-5.1serg@janus.mylan2007-03-161-36/+14
|\ \ | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-5.1
| * \ Merge bk-internal.mysql.com:/home/bk/mysql-5.1serg@janus.mylan2007-03-061-7/+23
| |\ \ | | | | | | | | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-5.1
| * \ \ Merge bk-internal.mysql.com:/home/bk/mysql-5.1serg@janus.mylan2007-02-211-36/+14
| |\ \ \ | | |_|/ | |/| | | | | | into janus.mylan:/usr/home/serg/Abk/mysql-5.1
| | * | WL#3700: Handler API change: all index search methods - that is,serg@janus.mylan2007-01-291-41/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-basemalff/marcsql@weblab.(none)2007-02-281-7/+23
|\ \ \ \ | | |_|/ | |/| | | | | | into weblab.(none):/home/marcsql/TREE/mysql-5.1-rt-merge
| * | | valgrind error fixgluh@mysql.com/eagle.(none)2007-02-281-3/+6
| | | |
| * | | BUG#26117 "index_merge sort-union over partitioned table crashes"sergefp@mysql.com2007-02-271-4/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Remove dead code: flush_version was never increased in the server,kostja@bodhi.local2007-03-011-2/+3
|/ / | | | | | | therefore the logic associated with it never worked.
* | Merge bk-internal.mysql.com:/home/bk/mysql-5.1monty@narttu.mysql.fi2007-01-291-7/+0
|\ \ | |/ |/| | | into mysql.com:/home/my/mysql-5.1
| * After merge fixesmonty@mysql.com/narttu.mysql.fi2007-01-291-7/+0
| | | | | | | | | | | | | | 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
* | bug #24186 (nested query across partitions returns fewer records)holyfoot/hf@mysql.com/deer.(none)2007-01-121-0/+3
|/ | | | | | | | | | | 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.
* Many files:kent@mysql.com/kent-amd64.(none)2006-12-271-2/+1
| | | | Changed header to GPL version 2 only
* Removed compiler warningsmonty@mysql.com/nosik.monty.fi2006-11-271-2/+2
| | | | | Ensure that my_size_t is always unsigned (to get predictiable results from system to system) Removed some %lld, as these are not portable
* Fixed a LOT of compiler warningsmonty@mysql.com/nosik.monty.fi2006-11-271-3/+3
| | | | | | | 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.
* Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndbmskold/marty@linux.site2006-10-181-2/+2
|\ | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
| * BUG#19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tablesstewart@willster.(none)2006-10-181-2/+2
| | | | | | | | update partition engine for handler::info returning int
* | Merge dator5.(none):/home/pappa/clean-mysql-5.1mikael/pappa@dator5.(none)2006-10-161-2/+29
|\ \ | |/ |/| | | into dator5.(none):/home/pappa/bug18198
| * BUG#18198: Partition function handlingmikael/pappa@dator5.(none)2006-10-021-0/+4
| | | | | | | | Fixes of after review fixes
| * Merge dator5.(none):/home/pappa/clean-mysql-5.1-ktmikael/pappa@dator5.(none)2006-09-191-1/+16
| |\ | | | | | | | | | into dator5.(none):/home/pappa/bug21210
| | * BUG#22178: Scan ordered performed also on engines not supporting ordered scansmikael/pappa@dator5.(none)2006-09-191-1/+16
| | | | | | | | | | | | | | | Scan of ranges without start key should not use ordered scans unless it is requested.
| * | Merge dator5.(none):/home/pappa/clean-mysql-5.1mikael/pappa@dator5.(none)2006-09-191-1/+9
| |\ \ | | |/ | |/| | | | into dator5.(none):/home/pappa/bug21210
| | * Merge dator5.(none):/home/pappa/clean-mysql-5.1mikael/pappa@dator5.(none)2006-09-081-1/+9
| | |\ | | | | | | | | | | | | into dator5.(none):/home/pappa/bug21210
| | | * BUG#21210: ALTER TABLE t1 REORGANIZE PARTITION crashes when using InnoDBmikael/pappa@dator5.(none)2006-09-041-1/+9
| | | | | | | | | | | | | | | | | | | | Inserted wrong handlers into the new_file_array which later caused havoc in rename_partitions
* | | | Added license information display to output of plugins schema, and tagged ↵brian@zim.(none)2006-10-051-0/+1
| | | | | | | | | | | | | | | | all plugins with GPL flag.
* | | | This patch updates to remove most global hton needs. Cleans up wrong message ↵brian@zim.(none)2006-09-301-1/+1
| | | | | | | | | | | | | | | | in partition.
* | | | This removes the passing of global hton to engine instance. brian@zim.(none)2006-09-291-7/+9
| | | |
* | | | Removed Field (this came in as an idea from a previous patch by Serg)brian@zim.(none)2006-09-261-1/+1
|/ / /
* | | This changes the order of the universe, black is now the new white.brian@zim.(none)2006-09-151-13/+17
|/ / | | | | | | 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.
* | Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1brian@zim.(none)2006-09-011-1/+3
|\ \ | |/ |/| | | into zim.(none):/tmp/mysql-5.1-arch
| * add 2 placeholder values for config and system variables.acurtis/antony@xiphis.org/ltantony.xiphis.org2006-08-301-1/+3
| |
* | Merge dator5.(none):/home/pappa/clean-mysql-5.1mikael/pappa@dator5.(none)2006-08-311-1/+1
|\ \ | |/ | | | | into dator5.(none):/home/pappa/bug21388
| * This is a cleanup of warnings that windows is complaining about. brian@zim.(none)2006-08-231-1/+1
| |
* | Merge dator5.(none):/home/pappa/clean-mysql-5.1-ktmikael/pappa@dator5.(none)2006-08-261-0/+11
|\ \ | | | | | | | | | into dator5.(none):/home/pappa/bug21388
| * | Bug#20548 Events: crash if InnoDB, multiple events, busy procedures, partitionsgluh@mysql.com/gluh.(none)2006-08-231-0/+11
| |/ | | | | | | | | | | 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
* | Merge dator5.(none):/home/pappa/bug21350mikael/pappa@dator5.(none)2006-08-171-20/+44
|\ \ | | | | | | | | | into dator5.(none):/home/pappa/bug21388
| * | BUG#21350: Fix correct error handling when using DATA DIRECTORY and INDEX ↵mikael/pappa@dator5.(none)2006-08-171-4/+5
| | | | | | | | | | | | | | | | | | DIRECTORY Review fixes
| * | BUG#21350: No errors on using erroneus DATA DIRECTORY clausemikael/pappa@dator5.(none)2006-08-071-19/+42
| |/ | | | | | | | | | | | | 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.
* | Merge dator5.(none):/home/pappa/bug21357mikael/pappa@dator5.(none)2006-08-161-2/+2
|\ \ | | | | | | | | | into dator5.(none):/home/pappa/bug21388
| * | BUG#21357: Valgrind error in partition testmikael/pappa@dator5.(none)2006-08-071-2/+2
| |/ | | | | | | | | memcpy was too long m_reorged_parts was already temp_partitions * no_subparts so multiplying by no_subparts again was not a good idea.
* | Merge dator5.(none):/home/pappa/bug21143mikael/pappa@dator5.(none)2006-08-161-4/+2
|\ \ | | | | | | | | | into dator5.(none):/home/pappa/bug21388
| * | BUG#21143: mysqld hangs when using wrong number of subpartitionsmikael/pappa@dator5.(none)2006-08-081-4/+2
| |/ | | | | | | | | | | Rewrote if-statement a bit shorter Added check for subpartitions in REORGANIZE partitions to be of same number as in base table.
* | BUG#21173: SHOW TABLE STATUS crashes mysqldmikael/pappa@dator5.(none)2006-08-081-2/+6
| | | | | | | | Review fixes