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
949027f7
Commit
949027f7
authored
Oct 28, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix embedded tests.
temporarily disable pbxt in embedded
parent
f6483d3f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
8 deletions
+21
-8
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+0
-3
mysql-test/suite/funcs_1/r/is_columns_is_embedded.result
mysql-test/suite/funcs_1/r/is_columns_is_embedded.result
+7
-0
mysql-test/suite/funcs_1/r/is_tables_is_embedded.result
mysql-test/suite/funcs_1/r/is_tables_is_embedded.result
+4
-2
mysql-test/suite/funcs_1/t/is_columns_is_embedded.test
mysql-test/suite/funcs_1/t/is_columns_is_embedded.test
+5
-1
mysql-test/suite/funcs_1/t/is_tables_is.test
mysql-test/suite/funcs_1/t/is_tables_is.test
+0
-1
mysql-test/suite/funcs_1/t/is_tables_is_embedded.test
mysql-test/suite/funcs_1/t/is_tables_is_embedded.test
+2
-1
mysql-test/suite/pbxt/suite.pm
mysql-test/suite/pbxt/suite.pm
+1
-0
mysql-test/suite/sys_vars/t/replicate_annotate_rows_events_basic.test
...uite/sys_vars/t/replicate_annotate_rows_events_basic.test
+2
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
949027f7
...
...
@@ -1574,9 +1574,6 @@ sub command_line_setup {
# Turn off use of bin log
push
(
@opt_extra_mysqld_opt
,
"
--skip-log-bin
");
# Write errors to stderr, not to mysqld.1.err
push
(
@opt_extra_mysqld_opt
,
"
--disable-log-error
");
if
(
using_extern
()
)
{
mtr_error
("
Can't use --extern with --embedded-server
");
...
...
mysql-test/suite/funcs_1/r/is_columns_is_embedded.result
View file @
949027f7
SELECT * FROM information_schema.columns
WHERE table_schema = 'information_schema'
AND table_name <> 'profiling' AND table_name not like 'innodb_%'
AND table_name not like 'pbxt_%'
ORDER BY table_schema, table_name, column_name;
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME COLUMN_NAME ORDINAL_POSITION COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA PRIVILEGES COLUMN_COMMENT
def information_schema CHARACTER_SETS CHARACTER_SET_NAME 1 NO varchar 32 96 NULL NULL NULL utf8 utf8_general_ci varchar(32)
...
...
@@ -409,6 +410,7 @@ def information_schema VIEWS TABLE_CATALOG 1 NO varchar 512 1536 NULL NULL NULL
def information_schema VIEWS TABLE_NAME 3 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64)
def information_schema VIEWS TABLE_SCHEMA 2 NO varchar 64 192 NULL NULL NULL utf8 utf8_general_ci varchar(64)
def information_schema VIEWS VIEW_DEFINITION 4 NULL NO longtext 4294967295 4294967295 NULL NULL NULL utf8 utf8_general_ci longtext
def information_schema XTRADB_ADMIN_COMMAND result_message 1 NO varchar 1024 3072 NULL NULL NULL utf8 utf8_general_ci varchar(1024)
##########################################################################
# Show the quotient of CHARACTER_OCTET_LENGTH and CHARACTER_MAXIMUM_LENGTH
##########################################################################
...
...
@@ -420,6 +422,7 @@ COLLATION_NAME
FROM information_schema.columns
WHERE table_schema = 'information_schema'
AND table_name <> 'profiling' AND table_name not like 'innodb_%'
AND table_name not like 'pbxt_%'
AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH = 1
ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;
COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME
...
...
@@ -432,6 +435,7 @@ COLLATION_NAME
FROM information_schema.columns
WHERE table_schema = 'information_schema'
AND table_name <> 'profiling' AND table_name not like 'innodb_%'
AND table_name not like 'pbxt_%'
AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH <> 1
ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;
COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME
...
...
@@ -444,6 +448,7 @@ COLLATION_NAME
FROM information_schema.columns
WHERE table_schema = 'information_schema'
AND table_name <> 'profiling' AND table_name not like 'innodb_%'
AND table_name not like 'pbxt_%'
AND CHARACTER_OCTET_LENGTH / CHARACTER_MAXIMUM_LENGTH IS NULL
ORDER BY CHARACTER_SET_NAME, COLLATION_NAME, COL_CML;
COL_CML DATA_TYPE CHARACTER_SET_NAME COLLATION_NAME
...
...
@@ -468,6 +473,7 @@ COLUMN_TYPE
FROM information_schema.columns
WHERE table_schema = 'information_schema'
AND table_name <> 'profiling' AND table_name not like 'innodb_%'
AND table_name not like 'pbxt_%'
ORDER BY TABLE_SCHEMA, TABLE_NAME, ORDINAL_POSITION;
COL_CML TABLE_SCHEMA TABLE_NAME COLUMN_NAME DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE
3.0000 information_schema CHARACTER_SETS CHARACTER_SET_NAME varchar 32 96 utf8 utf8_general_ci varchar(32)
...
...
@@ -876,3 +882,4 @@ NULL information_schema USER_STATISTICS EMPTY_QUERIES bigint NULL NULL NULL NULL
3.0000 information_schema VIEWS SECURITY_TYPE varchar 7 21 utf8 utf8_general_ci varchar(7)
3.0000 information_schema VIEWS CHARACTER_SET_CLIENT varchar 32 96 utf8 utf8_general_ci varchar(32)
3.0000 information_schema VIEWS COLLATION_CONNECTION varchar 32 96 utf8 utf8_general_ci varchar(32)
3.0000 information_schema XTRADB_ADMIN_COMMAND result_message varchar 1024 3072 utf8 utf8_general_ci varchar(1024)
mysql-test/suite/funcs_1/r/is_tables_is_embedded.result
View file @
949027f7
...
...
@@ -11,7 +11,8 @@ AS "user_comment",
'-----------------------------------------------------' AS "Separator"
FROM information_schema.tables
WHERE table_schema = 'information_schema'
AND table_name <> 'profiling'
AND table_name <> 'profiling' AND table_name not like 'innodb_%'
AND table_name not like 'pbxt_%' AND table_name not like 'xtradb_%'
ORDER BY table_schema,table_name;
TABLE_CATALOG def
TABLE_SCHEMA information_schema
...
...
@@ -810,7 +811,8 @@ AS "user_comment",
'-----------------------------------------------------' AS "Separator"
FROM information_schema.tables
WHERE table_schema = 'information_schema'
AND table_name <> 'profiling'
AND table_name <> 'profiling' AND table_name not like 'innodb_%'
AND table_name not like 'pbxt_%' AND table_name not like 'xtradb_%'
ORDER BY table_schema,table_name;
TABLE_CATALOG def
TABLE_SCHEMA information_schema
...
...
mysql-test/suite/funcs_1/t/is_columns_is_embedded.test
View file @
949027f7
...
...
@@ -13,11 +13,15 @@
# 2008-06-06 mleich Create this variant for the embedded server
#
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_xtradb
.
inc
if
(
`SELECT VERSION() NOT LIKE '%embedded%'`
)
{
--
skip
Test
requires
:
embedded
server
}
let
$my_where
=
WHERE
table_schema
=
'information_schema'
AND
table_name
<>
'profiling'
AND
table_name
not
like
'innodb_%'
;
AND
table_name
<>
'profiling'
AND
table_name
not
like
'innodb_%'
AND
table_name
not
like
'pbxt_%'
;
--
source
suite
/
funcs_1
/
datadict
/
columns
.
inc
mysql-test/suite/funcs_1/t/is_tables_is.test
View file @
949027f7
...
...
@@ -13,7 +13,6 @@
#
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_innodb
.
inc
let
$my_where
=
WHERE
table_schema
=
'information_schema'
AND
table_name
<>
'profiling'
AND
table_name
not
like
'innodb_%'
AND
table_name
not
like
'pbxt_%'
AND
table_name
not
like
'xtradb_%'
;
...
...
mysql-test/suite/funcs_1/t/is_tables_is_embedded.test
View file @
949027f7
...
...
@@ -18,5 +18,6 @@ if (`SELECT VERSION() NOT LIKE '%embedded%'`)
--
skip
Test
requires
:
embedded
server
}
let
$my_where
=
WHERE
table_schema
=
'information_schema'
AND
table_name
<>
'profiling'
;
AND
table_name
<>
'profiling'
AND
table_name
not
like
'innodb_%'
AND
table_name
not
like
'pbxt_%'
AND
table_name
not
like
'xtradb_%'
;
--
source
suite
/
funcs_1
/
datadict
/
tables1
.
inc
mysql-test/suite/pbxt/suite.pm
View file @
949027f7
package
My::Suite::
PBXT
;
@ISA
=
qw(My::Suite)
;
return
"
Not run for embedded server
"
if
$::opt_embedded_server
;
return
"
No PBXT engine
"
unless
$ENV
{
HA_PBXT_SO
}
or
$::mysqld_variables
{
pbxt
};
bless
{
};
mysql-test/suite/sys_vars/t/replicate_annotate_rows_events_basic.test
View file @
949027f7
# bool readonly
--
source
include
/
not_embedded
.
inc
#
# show values;
#
...
...
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