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
82e41fea
Commit
82e41fea
authored
Mar 01, 2010
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Plain Diff
merging.
parents
52245ce2
4f397d2f
Changes
3
Show 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 @
82e41fea
...
@@ -32,26 +32,32 @@ IF(DEFINED CMAKE_BUILD_TYPE)
...
@@ -32,26 +32,32 @@ IF(DEFINED CMAKE_BUILD_TYPE)
SET
(
HAVE_CMAKE_BUILD_TYPE TRUE
)
SET
(
HAVE_CMAKE_BUILD_TYPE TRUE
)
ENDIF
()
ENDIF
()
SET
(
CUSTOM_C_FLAGS $ENV{CFLAGS}
)
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
)
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
)
# We choose to provide WITH_DEBUG as alias to standard CMAKE_BUILD_TYPE=Debug
IF
(
WITH_DEBUG
)
# which turns out to be not trivial, as this involves synchronization
SET
(
CMAKE_BUILD_TYPE
"Debug"
CACHE STRING
"Debug build"
FORCE
)
# between CMAKE_BUILD_TYPE and WITH_DEBUG. Besides, we have to deal with cases
ELSE
()
# 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
SET
(
CMAKE_BUILD_TYPE
"RelWithDebInfo"
CACHE STRING
"RelWithDebInfo build"
FORCE
)
${
BUILDTYPE_DOCSTRING
}
FORCE
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
SET
(
OLD_WITH_DEBUG 0 CACHE INTERNAL
""
FORCE
)
IF
(
WITH_DEBUG_FULL
)
SET
(
WITH_DEBUG ON CACHE BOOL
"Use DBUG"
)
ENDIF
()
ENDIF
()
IF
(
BUILD_CONFIG
)
IF
(
BUILD_CONFIG
)
...
...
mysql-test/suite/sys_vars/r/optimizer_search_depth_basic.result
View file @
82e41fea
...
@@ -10,6 +10,7 @@ SELECT @start_session_value;
...
@@ -10,6 +10,7 @@ SELECT @start_session_value;
SET @@global.optimizer_search_depth = 100;
SET @@global.optimizer_search_depth = 100;
Warnings:
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '100'
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;
SET @@global.optimizer_search_depth = DEFAULT;
SELECT @@global.optimizer_search_depth;
SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
@@global.optimizer_search_depth
...
@@ -17,6 +18,7 @@ SELECT @@global.optimizer_search_depth;
...
@@ -17,6 +18,7 @@ SELECT @@global.optimizer_search_depth;
SET @@session.optimizer_search_depth = 200;
SET @@session.optimizer_search_depth = 200;
Warnings:
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '200'
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;
SET @@session.optimizer_search_depth = DEFAULT;
SELECT @@session.optimizer_search_depth;
SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
@@session.optimizer_search_depth
...
@@ -44,6 +46,8 @@ SELECT @@global.optimizer_search_depth;
...
@@ -44,6 +46,8 @@ SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
@@global.optimizer_search_depth
62
62
SET @@global.optimizer_search_depth = 63;
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;
SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
@@global.optimizer_search_depth
63
63
...
@@ -61,6 +65,8 @@ SELECT @@session.optimizer_search_depth;
...
@@ -61,6 +65,8 @@ SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
@@session.optimizer_search_depth
62
62
SET @@session.optimizer_search_depth = 63;
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;
SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
@@session.optimizer_search_depth
63
63
...
@@ -68,6 +74,7 @@ SELECT @@session.optimizer_search_depth;
...
@@ -68,6 +74,7 @@ SELECT @@session.optimizer_search_depth;
SET @@global.optimizer_search_depth = 64;
SET @@global.optimizer_search_depth = 64;
Warnings:
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '64'
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;
SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
@@global.optimizer_search_depth
63
63
...
@@ -80,6 +87,7 @@ SELECT @@global.optimizer_search_depth;
...
@@ -80,6 +87,7 @@ SELECT @@global.optimizer_search_depth;
SET @@global.optimizer_search_depth = 65536;
SET @@global.optimizer_search_depth = 65536;
Warnings:
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '65536'
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;
SELECT @@global.optimizer_search_depth;
@@global.optimizer_search_depth
@@global.optimizer_search_depth
63
63
...
@@ -96,6 +104,7 @@ SELECT @@global.optimizer_search_depth;
...
@@ -96,6 +104,7 @@ SELECT @@global.optimizer_search_depth;
SET @@session.optimizer_search_depth = 64;
SET @@session.optimizer_search_depth = 64;
Warnings:
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '64'
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;
SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
@@session.optimizer_search_depth
63
63
...
@@ -110,6 +119,7 @@ ERROR 42000: Incorrect argument type to variable 'optimizer_search_depth'
...
@@ -110,6 +119,7 @@ ERROR 42000: Incorrect argument type to variable 'optimizer_search_depth'
SET @@session.optimizer_search_depth = 65550;
SET @@session.optimizer_search_depth = 65550;
Warnings:
Warnings:
Warning 1292 Truncated incorrect optimizer_search_depth value: '65550'
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;
SELECT @@session.optimizer_search_depth;
@@session.optimizer_search_depth
@@session.optimizer_search_depth
63
63
...
...
storage/perfschema/pfs_instr.cc
View file @
82e41fea
...
@@ -66,7 +66,7 @@ ulong events_waits_history_per_thread;
...
@@ -66,7 +66,7 @@ ulong events_waits_history_per_thread;
/** Number of instruments class per thread. */
/** Number of instruments class per thread. */
ulong
instr_class_per_thread
;
ulong
instr_class_per_thread
;
/** Number of locker lost. @sa LOCKER_STACK_SIZE. */
/** Number of locker lost. @sa LOCKER_STACK_SIZE. */
ulong
locker_lost
;
ulong
locker_lost
=
0
;
/**
/**
Mutex instrumentation instances array.
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