Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
70237515
Commit
70237515
authored
Dec 09, 2008
by
Matthias Leich
Browse files
Options
Browse Files
Download
Plain Diff
Merge of fix for Bug 40904 into GCA tree
parents
539bb5d4
b16ba9aa
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
35 additions
and
601 deletions
+35
-601
mysql-test/suite/funcs_2/t/disabled.def
mysql-test/suite/funcs_2/t/disabled.def
+4
-4
mysql-test/suite/ndb/t/disabled.def
mysql-test/suite/ndb/t/disabled.def
+1
-2
mysql-test/suite/parts/r/partition_bit_ndb.result
mysql-test/suite/parts/r/partition_bit_ndb.result
+0
-126
mysql-test/suite/parts/t/disabled.def
mysql-test/suite/parts/t/disabled.def
+0
-5
mysql-test/suite/parts/t/partition_bit_ndb.test
mysql-test/suite/parts/t/partition_bit_ndb.test
+0
-60
mysql-test/suite/parts/t/partition_sessions.test
mysql-test/suite/parts/t/partition_sessions.test
+0
-391
mysql-test/suite/parts/t/partition_value_innodb.test
mysql-test/suite/parts/t/partition_value_innodb.test
+9
-3
mysql-test/suite/parts/t/partition_value_myisam.test
mysql-test/suite/parts/t/partition_value_myisam.test
+9
-3
mysql-test/suite/parts/t/partition_value_ndb.test
mysql-test/suite/parts/t/partition_value_ndb.test
+9
-3
mysql-test/suite/rpl_ndb/t/disabled.def
mysql-test/suite/rpl_ndb/t/disabled.def
+2
-2
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+1
-2
No files found.
mysql-test/suite/funcs_2/t/disabled.def
View file @
70237515
# Disabled by hhunger (2008-03-03) due to WL4204
# Disabled by hhunger (2008-03-03) due to WL4204
innodb_charset :
Due to bug#20447
innodb_charset :
Bug#20447 Problem with prefix keys with contractions and expansions
myisam_charset :
Due to bug#20477
myisam_charset :
Bug#20447 Problem with prefix keys with contractions and expansions
memory_charset :
Due to bug#20447
memory_charset :
Bug#20447 Problem with prefix keys with contractions and expansions
ndb_charset :
Due to bug#20447
ndb_charset :
Bug#20447 Problem with prefix keys with contractions and expansions
mysql-test/suite/ndb/t/disabled.def
View file @
70237515
...
@@ -9,8 +9,7 @@
...
@@ -9,8 +9,7 @@
# Do not use any TAB characters for whitespace.
# Do not use any TAB characters for whitespace.
#
#
##############################################################################
##############################################################################
partition_03ndb : BUG#16385 2006-03-24 mikael Partitions: crash when updating a range partitioned NDB table
ndb_partition_error2
: HF is not sure if the test can work as internded on all the platforms
ndb_partition_error2
: Bug#40989 ndb_partition_error2 needs maintenance
# the below testcase have been reworked to avoid the bug, test contains comment, keep bug open
# the below testcase have been reworked to avoid the bug, test contains comment, keep bug open
mysql-test/suite/parts/r/partition_bit_ndb.result
deleted
100644 → 0
View file @
539bb5d4
SET @max_row = 20;
create table t1 (a bit(65), primary key (a)) partition by key (a);
ERROR 42000: Display width out of range for column 'a' (max = 64)
create table t1 (a bit(0), primary key (a)) partition by key (a);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(1) NOT NULL DEFAULT '\0',
PRIMARY KEY (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
/*!50100 PARTITION BY KEY (a) */
drop table t1;
create table t1 (a bit(0), primary key (a)) partition by key (a) (
partition pa1 DATA DIRECTORY =
'/tmp' INDEX DIRECTORY =
'/tmp',
partition pa2 DATA DIRECTORY =
'/tmp' INDEX DIRECTORY =
'/tmp');
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(1) NOT NULL DEFAULT '\0',
PRIMARY KEY (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 DATA DIRECTORY='/tmp/' INDEX DIRECTORY='/tmp/'
/*!50100 PARTITION BY KEY (a)
(PARTITION pa1 DATA DIRECTORY = '/tmp' INDEX DIRECTORY = '/tmp' ENGINE = MyISAM,
PARTITION pa2 DATA DIRECTORY = '/tmp' INDEX DIRECTORY = '/tmp' ENGINE = MyISAM) */
drop table t1;
create table t1 (a bit(64), primary key (a)) partition by key (a);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(64) NOT NULL DEFAULT '\0\0\0\0\0\0\0\0',
PRIMARY KEY (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
/*!50100 PARTITION BY KEY (a) */
insert into t1 values
(b'1111111111111111111111111111111111111111111111111111111111111111'),
(b'1000000000000000000000000000000000000000000000000000000000000000'),
(b'0000000000000000000000000000000000000000000000000000000000000001'),
(b'1010101010101010101010101010101010101010101010101010101010101010'),
(b'0101010101010101010101010101010101010101010101010101010101010101');
select hex(a) from t1;
hex(a)
1
5555555555555555
8000000000000000
AAAAAAAAAAAAAAAA
FFFFFFFFFFFFFFFF
drop table t1;
create table t1 (a bit(64), primary key (a)) partition by key (a)(
partition pa1 DATA DIRECTORY =
'/tmp' INDEX DIRECTORY =
'/tmp' max_rows=20 min_rows=2,
partition pa2 DATA DIRECTORY =
'/tmp' INDEX DIRECTORY =
'/tmp' max_rows=30 min_rows=3,
partition pa3 DATA DIRECTORY =
'/tmp' INDEX DIRECTORY =
'/tmp' max_rows=30 min_rows=4,
partition pa4 DATA DIRECTORY =
'/tmp' INDEX DIRECTORY =
'/tmp' max_rows=40 min_rows=2);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(64) NOT NULL DEFAULT '\0\0\0\0\0\0\0\0',
PRIMARY KEY (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 DATA DIRECTORY='/tmp/' INDEX DIRECTORY='/tmp/'
/*!50100 PARTITION BY KEY (a)
(PARTITION pa1 MAX_ROWS = 20 MIN_ROWS = 2 DATA DIRECTORY = '/tmp' INDEX DIRECTORY = '/tmp' ENGINE = MyISAM,
PARTITION pa2 MAX_ROWS = 30 MIN_ROWS = 3 DATA DIRECTORY = '/tmp' INDEX DIRECTORY = '/tmp' ENGINE = MyISAM,
PARTITION pa3 MAX_ROWS = 30 MIN_ROWS = 4 DATA DIRECTORY = '/tmp' INDEX DIRECTORY = '/tmp' ENGINE = MyISAM,
PARTITION pa4 MAX_ROWS = 40 MIN_ROWS = 2 DATA DIRECTORY = '/tmp' INDEX DIRECTORY = '/tmp' ENGINE = MyISAM) */
insert into t1 values
(b'1111111111111111111111111111111111111111111111111111111111111111'),
(b'1000000000000000000000000000000000000000000000000000000000000000'),
(b'0000000000000000000000000000000000000000000000000000000000000001'),
(b'1010101010101010101010101010101010101010101010101010101010101010'),
(b'0101010101010101010101010101010101010101010101010101010101010101');
select hex(a) from t1;
hex(a)
1
5555555555555555
8000000000000000
AAAAAAAAAAAAAAAA
FFFFFFFFFFFFFFFF
drop table t1;
create table t1 (a bit, primary key (a)) partition by key (a);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(1) NOT NULL DEFAULT '\0',
PRIMARY KEY (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
/*!50100 PARTITION BY KEY (a) */
insert into t1 values (b'0'), (b'1');
select hex(a) from t1;
hex(a)
0
1
alter table t1 drop primary key;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(1) NOT NULL DEFAULT '\0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1
/*!50100 PARTITION BY KEY (a) */
select hex(a) from t1;
hex(a)
0
1
alter table t1 add primary key (a);
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bit(1) NOT NULL DEFAULT '\0',
PRIMARY KEY (`a`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
/*!50100 PARTITION BY KEY (a) */
select hex(a) from t1;
hex(a)
0
1
drop table t1;
mysql-test/suite/parts/t/disabled.def
View file @
70237515
partition_basic_ndb : Bug#19899 Crashing the server
partition_basic_ndb : Bug#19899 Crashing the server
# http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-limitations-syntax.html
# http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-limitations-syntax.html
partition_bit_ndb : NDB does not support bit column in index
partition_sessions : needs system_3_init.inc
partition_syntax_ndb : Bug#36735 Not supported
partition_syntax_ndb : Bug#36735 Not supported
partition_value_innodb : Bug#30581 partition_value tests use disallowed CAST() function
partition_value_myisam : Bug#30581 partition_value tests use disallowed CAST() function
partition_value_ndb : Bug#30581 partition_value tests use disallowed CAST() function
mysql-test/suite/parts/t/partition_bit_ndb.test
deleted
100644 → 0
View file @
539bb5d4
################################################################################
# t/partition_bit_ndb.test #
# #
# Purpose: #
# Tests around bit type #
# NDB branch #
# #
#------------------------------------------------------------------------------#
# Original Author: HH #
# Original Date: 2006-08-01 #
# Change Author: #
# Change Date: #
# Change: #
################################################################################
#
# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
# THE SOURCED FILES ONLY.
#
# Please read the README at the end of inc/partition.pre before changing
# any of the variables.
#
#------------------------------------------------------------------------------#
# General not engine specific settings and requirements
##### Options, for debugging support #####
let
$debug
=
0
;
let
$with_partitioning
=
1
;
##### Option, for displaying files #####
let
$ls
=
1
;
##### Number of rows for the INSERT/UPDATE/DELETE/SELECT experiments #####
# on partioned tables
SET
@
max_row
=
20
;
# The server must support partitioning.
--
source
include
/
have_partition
.
inc
#------------------------------------------------------------------------------#
# Engine specific settings and requirements
##### Storage engine to be tested
--
source
include
/
have_ndb
.
inc
let
$engine
=
'NDB'
;
connection
default
;
# range, list and hash partitioning in ndb requires new_mode
--
disable_query_log
set
new
=
on
;
--
enable_query_log
##### Assign a big number smaller than the maximum value for partitions #####
# and smaller than the maximum value of SIGNED INTEGER
let
$MAX_VALUE
=
(
2147483646
);
#------------------------------------------------------------------------------#
# Execute the tests to be applied to all storage engines
--
source
suite
/
parts
/
inc
/
partition_bit
.
inc
mysql-test/suite/parts/t/partition_sessions.test
deleted
100644 → 0
View file @
539bb5d4
This diff is collapsed.
Click to expand it.
mysql-test/suite/parts/t/partition_value_innodb.test
View file @
70237515
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Original Author: mleich #
# Original Author: mleich #
# Original Date: 2006-04-11 #
# Original Date: 2006-04-11 #
# Change Author:
#
# Change Author:
mleich
#
# Change Date:
#
# Change Date:
2008-12-08
#
# Change:
#
# Change:
Remove test from disabled.def + change test that it gets skipped
#
################################################################################
################################################################################
#
#
...
@@ -22,6 +22,12 @@
...
@@ -22,6 +22,12 @@
# any of the variables.
# any of the variables.
#
#
#
# CAST() within the partitioning function si no more supported, but we get
# this functionality probably soon again. Therefor we do not delete this test.
--
skip
# CAST() in partitioning function is currently not supported.
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# General not engine specific settings and requirements
# General not engine specific settings and requirements
...
...
mysql-test/suite/parts/t/partition_value_myisam.test
View file @
70237515
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Original Author: mleich #
# Original Author: mleich #
# Original Date: 2006-04-11 #
# Original Date: 2006-04-11 #
# Change Author:
#
# Change Author:
mleich
#
# Change Date:
#
# Change Date:
2008-12-08
#
# Change:
#
# Change:
Remove test from disabled.def + change test that it gets skipped
#
################################################################################
################################################################################
#
#
...
@@ -22,6 +22,12 @@
...
@@ -22,6 +22,12 @@
# any of the variables.
# any of the variables.
#
#
#
# CAST() within the partitioning function si no more supported, but we get
# this functionality probably soon again. Therefor we do not delete this test.
--
skip
# CAST() in partitioning function is currently not supported.
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# General not engine specific settings and requirements
# General not engine specific settings and requirements
...
...
mysql-test/suite/parts/t/partition_value_ndb.test
View file @
70237515
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# Original Author: mleich #
# Original Author: mleich #
# Original Date: 2006-04-11 #
# Original Date: 2006-04-11 #
# Change Author:
#
# Change Author:
mleich
#
# Change Date:
#
# Change Date:
2008-12-08
#
# Change:
#
# Change:
Remove test from disabled.def + change test that it gets skipped
#
################################################################################
################################################################################
#
#
...
@@ -22,6 +22,12 @@
...
@@ -22,6 +22,12 @@
# any of the variables.
# any of the variables.
#
#
#
# CAST() within the partitioning function si no more supported, but we get
# this functionality probably soon again. Therefor we do not delete this test.
--
skip
# CAST() in partitioning function is currently not supported.
#------------------------------------------------------------------------------#
#------------------------------------------------------------------------------#
# General not engine specific settings and requirements
# General not engine specific settings and requirements
...
...
mysql-test/suite/rpl_ndb/t/disabled.def
View file @
70237515
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#
#
##############################################################################
##############################################################################
rpl_ndb_circular : Bug#
33849 COMMIT event missing in cluster circular replication.
rpl_ndb_circular : Bug#
41183 rpl_ndb_circular, rpl_ndb_circular_simplex need maintenance, crash
rpl_ndb_circular_simplex : Bug#
33849 COMMIT event missing in cluster circular replication.
rpl_ndb_circular_simplex : Bug#
41183 rpl_ndb_circular, rpl_ndb_circular_simplex need maintenance, crash
# the below testcase have been reworked to avoid the bug, test contains comment, keep bug open
# the below testcase have been reworked to avoid the bug, test contains comment, keep bug open
mysql-test/t/disabled.def
View file @
70237515
...
@@ -10,6 +10,5 @@
...
@@ -10,6 +10,5 @@
#
#
##############################################################################
##############################################################################
federated_transactions : Bug#29523 Transactions do not work
federated_transactions : Bug#29523 Transactions do not work
log_tables.test : Bug #37798: main.log_tables fails randomly on powermacg5 and windows
slow_query_log_func : Bug #37962: *_func tests containing sleeps/race conditions
slow_query_log_func.test : Bug #37962: *_func tests containing sleeps/race conditions
wait_timeout_func : Bug #41225 joro wait_timeout_func fails
wait_timeout_func : Bug #41225 joro wait_timeout_func fails
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment