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
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
mikael/pappa@dator5.(none)
a6f310d0c2
Merge dator5.(none):/home/pappa/bug20852
...
into dator5.(none):/home/pappa/push_tree_w28
2006-07-15 03:49:01 -04:00
mikael/pappa@dator5.(none)
425c8883bb
Merge dator5.(none):/home/pappa/bug20770
...
into dator5.(none):/home/pappa/push_tree_w28
2006-07-15 03:46:01 -04:00
mikael/pappa@dator5.(none)
5a2edb5065
Merge dator5.(none):/home/pappa/bug20767
...
into dator5.(none):/home/pappa/push_tree_w28
2006-07-15 03:41:41 -04:00
mikael/pappa@dator5.(none)
cfc65ef720
BUG#20389: Crash when using index scan in reverse order
2006-07-15 03:38:34 -04:00
mikael/pappa@dator5.(none)
e9ba287dc7
BUG#20852: Using update with full table scan causes mysqld to enter an eternal loop
2006-07-12 20:38:17 -04:00
kostja@bodhi.local
56353959e7
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
...
into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
2006-07-13 00:18:59 +04:00
mikael/pappa@dator5.(none)
65979719c7
BUG#20893: Valgrind error
2006-07-10 17:08:42 -04:00
guilhem@gbichot3.local
1cc3c80070
fixes after merge. Updates to test's results.
...
We now reset the THD members related to auto_increment+binlog in
MYSQL_LOG::write(). This is better than in THD::cleanup_after_query(),
which was not able to distinguish between SELECT myfunc1(),myfunc2()
and INSERT INTO t SELECT myfunc1(),myfunc2() from a binlogging point
of view.
Rows_log_event::exec_event() now calls lex_start() instead of
mysql_init_query() because the latter now does too much (it resets
the binlog format).
2006-07-10 18:41:03 +02:00
dlenev@jabberwock.site
77f640b1a3
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
...
into jabberwock.site:/home/dlenev/mysql-5.1-bg18437
2006-07-07 14:11:35 +04:00
dlenev@mysql.com
d6f47c31b6
After merge fixes for patch solving bug#18437 "Wrong values inserted with a
...
before update trigger on NDB table".
Two main changes:
- We use TABLE::read_set/write_set bitmaps for marking fields used by
statement instead of Field::query_id in 5.1.
- Now when we mark columns used by statement we take into account columns
used by table's triggers instead of marking all columns as used if table
has triggers.
2006-07-06 13:33:23 +04:00
mikael@dator5.(none)
8b319bb5c2
BUG#20770: DATA DIRECTORY and INDEX DIRECTORY error when ALTER TABLE ADD/DROP/REORGANIZE partition
...
Also some error in handling options for subpartitions.
2006-07-05 12:57:23 -04:00
mikael@dator5.(none)
9e56572e5c
Merge dator5.(none):/home/pappa/clean-mysql-5.1
...
into dator5.(none):/home/pappa/bug20583
2006-07-01 00:22:25 -04:00