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
5a05c470
Commit
5a05c470
authored
Mar 01, 2010
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Plain Diff
merging.
parents
73c4dc36
e1384dc7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
17 deletions
+33
-17
CMakeLists.txt
CMakeLists.txt
+22
-16
mysql-test/suite/sys_vars/r/optimizer_search_depth_basic.result
...test/suite/sys_vars/r/optimizer_search_depth_basic.result
+10
-0
storage/perfschema/pfs_instr.cc
storage/perfschema/pfs_instr.cc
+1
-1
No files found.
CMakeLists.txt
View file @
5a05c470
...
...
@@ -32,26 +32,32 @@ IF(DEFINED CMAKE_BUILD_TYPE)
SET
(
HAVE_CMAKE_BUILD_TYPE TRUE
)
ENDIF
()
SET
(
CUSTOM_C_FLAGS $ENV{CFLAGS}
)
IF
(
NOT CUSTOM_C_FLAGS
)
SET
(
CUSTOM_C_FLAGS
${
CMAKE_C_FLAGS
}
)
ENDIF
()
OPTION
(
WITH_DEBUG
"Use dbug"
OFF
)
OPTION
(
WITH_DEBUG
"Use dbug
/safemutex
"
OFF
)
OPTION
(
WITH_DEBUG_FULL
"Use dbug and safemalloc/safemutex. Slow"
OFF
)
IF
(
NOT HAVE_CMAKE_BUILD_TYPE
)
IF
(
BUILD_CONFIG OR NOT CUSTOM_C_FLAGS
)
IF
(
WITH_DEBUG
)
SET
(
CMAKE_BUILD_TYPE
"Debug"
CACHE STRING
"Debug build"
FORCE
)
ELSE
()
SET
(
CMAKE_BUILD_TYPE
"RelWithDebInfo"
CACHE STRING
"RelWithDebInfo build"
FORCE
)
ENDIF
()
ENDIF
()
ENDIF
()
IF
(
WITH_DEBUG_FULL
)
SET
(
WITH_DEBUG ON CACHE BOOL
"Use DBUG"
)
# We choose to provide WITH_DEBUG as alias to standard CMAKE_BUILD_TYPE=Debug
# which turns out to be not trivial, as this involves synchronization
# between CMAKE_BUILD_TYPE and WITH_DEBUG. Besides, we have to deal with cases
# where WITH_DEBUG is reset from ON to OFF and here we need to reset
# CMAKE_BUILD_TYPE to either none or default RelWithDebInfo
SET
(
BUILDTYPE_DOCSTRING
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel"
)
IF
(
WITH_DEBUG OR WITH_DEBUG_FULL
)
SET
(
CMAKE_BUILD_TYPE
"Debug"
CACHE STRING
${
BUILDTYPE_DOCSTRING
}
FORCE
)
SET
(
OLD_WITH_DEBUG 1 CACHE INTERNAL
""
FORCE
)
ELSEIF
(
NOT HAVE_CMAKE_BUILD_TYPE OR OLD_WITH_DEBUG
)
IF
(
CUSTOM_C_FLAGS
)
SET
(
CMAKE_BUILD_TYPE
""
CACHE STRING
${
BUILDTYPE_DOCSTRING
}
FORCE
)
ELSE
(
CMAKE_BUILD_TYPE MATCHES
"Debug"
OR NOT HAVE_CMAKE_BUILD_TYPE
)
SET
(
CMAKE_BUILD_TYPE
"RelWithDebInfo"
CACHE STRING
${
BUILDTYPE_DOCSTRING
}
FORCE
)
ENDIF
()
SET
(
OLD_WITH_DEBUG 0 CACHE INTERNAL
""
FORCE
)
ENDIF
()
IF
(
BUILD_CONFIG
)
...
...
mysql-test/suite/sys_vars/r/optimizer_search_depth_basic.result
View file @
5a05c470
...
...
@@ -10,6 +10,7 @@ SELECT @start_session_value;
SET @@global.optimizer_search_depth = 100;
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '100'
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
SET @@global.optimizer_search_depth = DEFAULT;
SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
...
...
@@ -17,6 +18,7 @@ SELECT @@global.optimizer_search_depth;
SET @@session.optimizer_search_depth = 200;
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '200'
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
SET @@session.optimizer_search_depth = DEFAULT;
SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
...
...
@@ -44,6 +46,8 @@ SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
62
SET @@global.optimizer_search_depth = 63;
Warnings:
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
63
...
...
@@ -61,6 +65,8 @@ SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
62
SET @@session.optimizer_search_depth = 63;
Warnings:
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
63
...
...
@@ -68,6 +74,7 @@ SELECT @@session.optimizer_search_depth;
SET @@global.optimizer_search_depth = 64;
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '64'
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
63
...
...
@@ -80,6 +87,7 @@ SELECT @@global.optimizer_search_depth;
SET @@global.optimizer_search_depth = 65536;
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '65536'
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
63
...
...
@@ -96,6 +104,7 @@ SELECT @@global.optimizer_search_depth;
SET @@session.optimizer_search_depth = 64;
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '64'
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
63
...
...
@@ -110,6 +119,7 @@ ERROR 42000: Incorrect argument type to variable 'optimizer_search_depth'
SET @@session.optimizer_search_depth = 65550;
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '65550'
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
63
...
...
storage/perfschema/pfs_instr.cc
View file @
5a05c470
...
...
@@ -66,7 +66,7 @@ ulong events_waits_history_per_thread;
/** Number of instruments class per thread. */
ulong
instr_class_per_thread
;
/** Number of locker lost. @sa LOCKER_STACK_SIZE. */
ulong
locker_lost
;
ulong
locker_lost
=
0
;
/**
Mutex instrumentation instances array.
...
...
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