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
e130b451
Commit
e130b451
authored
Jan 26, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/my/mysql-5.0
parents
147640b8
57d89729
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
BUILD/SETUP.sh
BUILD/SETUP.sh
+6
-2
BUILD/compile-pentium64-debug
BUILD/compile-pentium64-debug
+1
-1
configure.in
configure.in
+3
-3
innobase/include/univ.i
innobase/include/univ.i
+4
-0
No files found.
BUILD/SETUP.sh
100644 → 100755
View file @
e130b451
...
...
@@ -25,7 +25,10 @@ Any other options will be passed directly to configure.
Note: this script is intended for internal use by MySQL developers.
EOF
--with-debug
=
full
)
full_debug
=
"=full"
;
shift
;;
*
)
break
;;
*
)
echo
"Unknown option '
$1
'"
exit
1
break
;;
esac
done
...
...
@@ -62,6 +65,7 @@ fast_cflags="-O3 -fno-omit-frame-pointer"
reckless_cflags
=
"-O3 -fomit-frame-pointer "
debug_cflags
=
"-DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX"
debug_extra_cflags
=
"-O1 -Wuninitialized"
base_cxxflags
=
"-felide-constructors -fno-exceptions -fno-rtti"
amd64_cxxflags
=
"-DBIG_TABLES"
...
...
@@ -80,7 +84,7 @@ local_infile_configs="--enable-local-infile"
debug_configs
=
"--with-debug
$full_debug
"
if
[
-z
"
$full_debug
"
]
then
debug_cflags
=
"
$debug_cflags
-O1 -Wuninitialized
"
debug_cflags
=
"
$debug_cflags
$debug_extra_cflags
"
fi
if
gmake
--version
>
/dev/null 2>&1
...
...
BUILD/compile-pentium64-debug
View file @
e130b451
#! /bin/sh
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
.
"
$path
/SETUP.sh"
$@
--with-debug
=
full
extra_flags
=
"
$pentium64_cflags
$debug_cflags
"
c_warnings
=
"
$c_warnings
$debug_extra_warnings
"
...
...
configure.in
View file @
e130b451
...
...
@@ -1678,12 +1678,12 @@ if test "$with_debug" = "yes"
then
# Medium debug.
CFLAGS="
$DEBUG_CFLAGS
$DEBUG_OPTIMIZE_CC
-DDBUG_ON
-DSAFE_MUTEX
$CFLAGS
"
CXXFLAGS="
$DEBUG_CXXFLAGS
$DEBUG_OPTIMIZE_CXX
-DSAFE_MUTEX
$CXXFLAGS
"
CXXFLAGS="
$DEBUG_CXXFLAGS
$DEBUG_OPTIMIZE_CXX
-D
DBUG_ON
-D
SAFE_MUTEX
$CXXFLAGS
"
elif test "
$with_debug
" = "
full
"
then
# Full debug. Very slow in some cases
CFLAGS="
$DEBUG_CFLAGS
-DDBUG_ON
-DSAFE_MUTEX
-DSAFEMALLOC
$CFLAGS
"
CXXFLAGS="
$DEBUG_CXXFLAGS
-D
SAFE_MUTEX
-DSAFEMALLOC
$CXXFLAGS
"
CFLAGS="
$DEBUG_CFLAGS
-DDBUG_ON
-DSAFE_MUTEX
-DSAFEMALLOC
-DUNIV_DEBUG
$CFLAGS
"
CXXFLAGS="
$DEBUG_CXXFLAGS
-D
DBUG_ON
-DSAFE_MUTEX
-DSAFEMALLOC
-DUNIV_DEBUG
$CXXFLAGS
"
else
# Optimized version. No debug
CFLAGS="
$OPTIMIZE_CFLAGS
-DDBUG_OFF
$CFLAGS
"
...
...
innobase/include/univ.i
View file @
e130b451
...
...
@@ -80,6 +80,10 @@ memory is read outside the allocated blocks. */
/* Make a non-inline debug version */
#
ifdef
DBUG_ON
#
define
UNIV_DEBUG
#
endif
/* DBUG_ON */
/*
#define UNIV_DEBUG
#define UNIV_MEM_DEBUG
...
...
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