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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cafa042a
Commit
cafa042a
authored
Jun 18, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
88e3cebc
69662273
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
253 additions
and
219 deletions
+253
-219
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+9
-2
mysql-test/r/repair.result
mysql-test/r/repair.result
+1
-1
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+239
-213
sql/sql_plugin.cc
sql/sql_plugin.cc
+3
-2
sql/sql_table.cc
sql/sql_table.cc
+1
-1
No files found.
mysql-test/lib/mtr_cases.pm
View file @
cafa042a
...
@@ -874,9 +874,16 @@ sub collect_one_test_case {
...
@@ -874,9 +874,16 @@ sub collect_one_test_case {
}
}
}
}
if
(
$tinfo
->
{'
federated_test
'})
{
# This is a test that need federated, enable it
push
(
@
{
$tinfo
->
{'
master_opt
'}},
"
--loose-federated
");
push
(
@
{
$tinfo
->
{'
slave_opt
'}},
"
--loose-federated
");
}
if
(
$tinfo
->
{'
innodb_test
'}
)
if
(
$tinfo
->
{'
innodb_test
'}
)
{
{
# This is a test that need innodb
# This is a test that need innodb
if
(
$::mysqld_variables
{'
innodb
'}
ne
"
TRUE
"
)
if
(
$::mysqld_variables
{'
innodb
'}
ne
"
TRUE
"
)
{
{
# innodb is not supported, skip it
# innodb is not supported, skip it
...
@@ -996,7 +1003,7 @@ my @tags=
...
@@ -996,7 +1003,7 @@ my @tags=
["
include/master-slave.inc
",
"
rpl_test
",
1
],
["
include/master-slave.inc
",
"
rpl_test
",
1
],
["
include/ndb_master-slave.inc
",
"
rpl_test
",
1
],
["
include/ndb_master-slave.inc
",
"
rpl_test
",
1
],
["
include/ndb_master-slave.inc
",
"
ndb_test
",
1
],
["
include/ndb_master-slave.inc
",
"
ndb_test
",
1
],
["
include/
federated.inc
",
"
federated_test
",
1
],
["
federated.inc
",
"
federated_test
",
1
],
["
include/not_embedded.inc
",
"
not_embedded
",
1
],
["
include/not_embedded.inc
",
"
not_embedded
",
1
],
);
);
...
...
mysql-test/r/repair.result
View file @
cafa042a
...
@@ -130,7 +130,7 @@ test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" to fix
...
@@ -130,7 +130,7 @@ test.t1 check error Table upgrade required. Please do "REPAIR TABLE `t1`" to fix
# REPAIR old table USE_FRM should fail
# REPAIR old table USE_FRM should fail
REPAIR TABLE t1 USE_FRM;
REPAIR TABLE t1 USE_FRM;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
t1 repair error Failed repa
ring incompatible .FRM
file
t1 repair error Failed repa
iring incompatible .frm
file
# Run REPAIR TABLE to upgrade .frm file
# Run REPAIR TABLE to upgrade .frm file
REPAIR TABLE t1;
REPAIR TABLE t1;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
...
...
scripts/make_binary_distribution.sh
View file @
cafa042a
This diff is collapsed.
Click to expand it.
sql/sql_plugin.cc
View file @
cafa042a
...
@@ -1137,9 +1137,10 @@ int plugin_init(int *argc, char **argv, int flags)
...
@@ -1137,9 +1137,10 @@ int plugin_init(int *argc, char **argv, int flags)
{
{
for
(
plugin
=
*
builtins
;
plugin
->
info
;
plugin
++
)
for
(
plugin
=
*
builtins
;
plugin
->
info
;
plugin
++
)
{
{
/* by default,
only ndbcluster is
disabled */
/* by default,
ndbcluster and federated are
disabled */
def_enabled
=
def_enabled
=
my_strcasecmp
(
&
my_charset_latin1
,
plugin
->
name
,
"NDBCLUSTER"
)
!=
0
;
my_strcasecmp
(
&
my_charset_latin1
,
plugin
->
name
,
"NDBCLUSTER"
)
!=
0
&&
my_strcasecmp
(
&
my_charset_latin1
,
plugin
->
name
,
"FEDERATED"
)
!=
0
;
bzero
(
&
tmp
,
sizeof
(
tmp
));
bzero
(
&
tmp
,
sizeof
(
tmp
));
tmp
.
plugin
=
plugin
;
tmp
.
plugin
=
plugin
;
tmp
.
name
.
str
=
(
char
*
)
plugin
->
name
;
tmp
.
name
.
str
=
(
char
*
)
plugin
->
name
;
...
...
sql/sql_table.cc
View file @
cafa042a
...
@@ -4024,7 +4024,7 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
...
@@ -4024,7 +4024,7 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
if
(
table
->
s
->
frm_version
!=
FRM_VER_TRUE_VARCHAR
)
if
(
table
->
s
->
frm_version
!=
FRM_VER_TRUE_VARCHAR
)
{
{
error
=
send_check_errmsg
(
thd
,
table_list
,
"repair"
,
error
=
send_check_errmsg
(
thd
,
table_list
,
"repair"
,
"Failed repa
ring incompatible .FRM
file"
);
"Failed repa
iring incompatible .frm
file"
);
goto
end
;
goto
end
;
}
}
...
...
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