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
31a93ea7
Commit
31a93ea7
authored
May 29, 2012
by
Tor Didriksen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#12845091 .EMPTY FILE IN /DATA/TEST PREVENTS USERS FROM DROPPING TEST DB ON 5.5 AND 5.6
parent
484a7941
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
sql/CMakeLists.txt
sql/CMakeLists.txt
+4
-1
No files found.
sql/CMakeLists.txt
View file @
31a93ea7
...
...
@@ -264,7 +264,10 @@ IF(INSTALL_LAYOUT STREQUAL "STANDALONE")
# We need to create empty directories (data/test) the installation.
# This does not work with current CPack due to http://www.cmake.org/Bug/view.php?id=8767
# Avoid completely empty directories and install dummy file instead.
SET
(
DUMMY_FILE
${
CMAKE_CURRENT_BINARY_DIR
}
/.empty
)
# Use a file extension so that it will be deleted in case someone does
# 'drop database test'
# See deletable_extentions.
SET
(
DUMMY_FILE
${
CMAKE_CURRENT_BINARY_DIR
}
/dummy.bak
)
FILE
(
WRITE
${
DUMMY_FILE
}
""
)
INSTALL
(
FILES
${
DUMMY_FILE
}
DESTINATION data/test COMPONENT DataFiles
)
...
...
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