Commit b68a83a0 authored by serg@serg.mylan's avatar serg@serg.mylan

patch reverted - USE_RAID is defined in my_config.h

parent fbf4299b
...@@ -254,7 +254,7 @@ CREATE TABLE `t1` ( ...@@ -254,7 +254,7 @@ CREATE TABLE `t1` (
`M` tinyint(1) default '0', `M` tinyint(1) default '0',
) TYPE=MyISAM DEFAULT CHARSET=latin1; ) TYPE=MyISAM DEFAULT CHARSET=latin1;
Warnings: Warnings:
Warning 1286 'TYPE=database_engine' is deprecated. Use 'ENGINE=database_engine' instead. Warning 1286 'TYPE=storage_engine' is deprecated. Use 'ENGINE=storage_engine' instead.
INSERT INTO `t1` (N, M) VALUES (1, 0),(1, 0),(1, 0),(2, 0),(2, 0),(3, 0); INSERT INTO `t1` (N, M) VALUES (1, 0),(1, 0),(1, 0),(2, 0),(2, 0),(3, 0);
UPDATE `t1` AS P1 INNER JOIN (SELECT N FROM `t1` GROUP BY N HAVING Count(M) > 1) AS P2 ON P1.N = P2.N SET P1.M = 2; UPDATE `t1` AS P1 INNER JOIN (SELECT N FROM `t1` GROUP BY N HAVING Count(M) > 1) AS P2 ON P1.N = P2.N SET P1.M = 2;
select * from t1; select * from t1;
......
...@@ -70,8 +70,6 @@ ...@@ -70,8 +70,6 @@
tonu@mysql.com & monty@mysql.com tonu@mysql.com & monty@mysql.com
*/ */
#if defined(USE_RAID) && !defined(MYSQL_CLIENT)
#ifdef __GNUC__ #ifdef __GNUC__
#pragma implementation // gcc: Class implementation #pragma implementation // gcc: Class implementation
#endif #endif
...@@ -81,6 +79,8 @@ ...@@ -81,6 +79,8 @@
#include <m_string.h> #include <m_string.h>
#include <assert.h> #include <assert.h>
#if defined(USE_RAID) && !defined(MYSQL_CLIENT)
#define RAID_SEEK_DONE ~(off_t) 0 #define RAID_SEEK_DONE ~(off_t) 0
#define RAID_SIZE_UNKNOWN ~(my_off_t) 0 #define RAID_SIZE_UNKNOWN ~(my_off_t) 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment