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
9fdac1ae
Commit
9fdac1ae
authored
Sep 09, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tokudb: temporary 5.5-only hack to let the frm-only ALTER TABLE to work
parent
bac94d09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
storage/tokudb/ha_tokudb.cc
storage/tokudb/ha_tokudb.cc
+10
-0
No files found.
storage/tokudb/ha_tokudb.cc
View file @
9fdac1ae
...
@@ -1733,6 +1733,16 @@ int ha_tokudb::initialize_share(
...
@@ -1733,6 +1733,16 @@ int ha_tokudb::initialize_share(
goto
exit
;
goto
exit
;
}
}
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID < 100002
// a hack to support frm-only ALTER TABLE in MariaDB 5.5
// in 10.0 there's a proper fix with the new discovery and online alter
if
(
thd_sql_command
(
thd
)
==
SQLCOM_ALTER_TABLE
)
{
error
=
remove_frm_data
(
share
->
status_block
,
txn
);
if
(
error
)
goto
exit
;
}
#endif
#if TOKU_PARTITION_WRITE_FRM_DATA
#if TOKU_PARTITION_WRITE_FRM_DATA
// verify frm data for all tables
// verify frm data for all tables
error
=
verify_frm_data
(
table
->
s
->
path
.
str
,
txn
);
error
=
verify_frm_data
(
table
->
s
->
path
.
str
,
txn
);
...
...
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