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
369ea3bb
Commit
369ea3bb
authored
May 12, 2001
by
monty@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
ec39fda8
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
138 additions
and
77 deletions
+138
-77
Docs/manual.texi
Docs/manual.texi
+111
-68
innobase/pars/pars0grm.c
innobase/pars/pars0grm.c
+2
-1
mysys/mf_keycache.c
mysys/mf_keycache.c
+6
-6
sql-bench/crash-me.sh
sql-bench/crash-me.sh
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+16
-0
sql/sql_select.cc
sql/sql_select.cc
+2
-1
No files found.
Docs/manual.texi
View file @
369ea3bb
This diff is collapsed.
Click to expand it.
innobase/pars/pars0grm.c
View file @
369ea3bb
...
...
@@ -95,9 +95,10 @@
/* The value of the semantic attribute is a pointer to a query tree node
que_node_t */
#define YYSTYPE que_node_t*
#define alloca mem_alloc
#include "univ.i"
#undef alloca
#define alloca mem_alloc
#include <math.h>
#include "pars0pars.h"
#include "mem0mem.h"
...
...
mysys/mf_keycache.c
View file @
369ea3bb
...
...
@@ -327,7 +327,7 @@ int key_cache_write(File file, my_off_t filepos, byte *buff, uint length,
}
#if !defined(DBUG_OFF) && defined(EXTRA_DEBUG)
DBUG_EXECUTE
(
"
exec
"
,
test_key_cache
(
"start of key_cache_write"
,
1
););
DBUG_EXECUTE
(
"
check_keycache
"
,
test_key_cache
(
"start of key_cache_write"
,
1
););
#endif
if
(
_my_disk_blocks
>
0
)
{
/* We have key_cacheing */
...
...
@@ -367,7 +367,7 @@ int key_cache_write(File file, my_off_t filepos, byte *buff, uint length,
}
end:
#if !defined(DBUG_OFF) && defined(EXTRA_DEBUG)
DBUG_EXECUTE
(
"
exec
"
,
test_key_cache
(
"end of key_cache_write"
,
1
););
DBUG_EXECUTE
(
"
check_keycache
"
,
test_key_cache
(
"end of key_cache_write"
,
1
););
#endif
return
(
error
);
}
/* key_cache_write */
...
...
@@ -381,7 +381,7 @@ static SEC_LINK *find_key_block(int file, my_off_t filepos, int *error)
reg1
SEC_LINK
*
next
,
**
start
;
#if !defined(DBUG_OFF) && defined(EXTRA_DEBUG)
DBUG_EXECUTE
(
"
exec
"
,
test_key_cache
(
"start of find_key_block"
,
0
););
DBUG_EXECUTE
(
"
check_keycache
"
,
test_key_cache
(
"start of find_key_block"
,
0
););
#endif
*
error
=
0
;
...
...
@@ -459,7 +459,7 @@ static SEC_LINK *find_key_block(int file, my_off_t filepos, int *error)
}
_my_used_last
=
next
;
#if !defined(DBUG_OFF) && defined(EXTRA_DEBUG)
DBUG_EXECUTE
(
"
exec
"
,
test_key_cache
(
"end of find_key_block"
,
0
););
DBUG_EXECUTE
(
"
check_keycache
"
,
test_key_cache
(
"end of find_key_block"
,
0
););
#endif
return
next
;
}
/* find_key_block */
...
...
@@ -529,7 +529,7 @@ int flush_key_blocks(File file, enum flush_type type)
pthread_mutex_lock
(
&
THR_LOCK_keycache
);
#if !defined(DBUG_OFF) && defined(EXTRA_DEBUG)
DBUG_EXECUTE
(
"
exec
"
,
test_key_cache
(
"start of flush_key_blocks"
,
0
););
DBUG_EXECUTE
(
"
check_keycache
"
,
test_key_cache
(
"start of flush_key_blocks"
,
0
););
#endif
cache
=
cache_buff
;
/* If no key cache */
if
(
_my_disk_blocks
>
0
&&
...
...
@@ -607,7 +607,7 @@ int flush_key_blocks(File file, enum flush_type type)
}
}
#ifndef DBUG_OFF
DBUG_EXECUTE
(
"
exec
"
,
test_key_cache
(
"end of flush_key_blocks"
,
0
););
DBUG_EXECUTE
(
"
check_keycache
"
,
test_key_cache
(
"end of flush_key_blocks"
,
0
););
#endif
pthread_mutex_unlock
(
&
THR_LOCK_keycache
);
if
(
cache
!=
cache_buff
)
...
...
sql-bench/crash-me.sh
View file @
369ea3bb
#!@PERL@
-w
#!@PERL@
# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
#
# This library is free software; you can redistribute it and/or
...
...
sql/mysqld.cc
View file @
369ea3bb
...
...
@@ -152,6 +152,22 @@ static uint handler_count;
static
bool
opt_console
=
0
,
start_mode
=
0
;
#endif
/* Set prefix for windows binary */
#ifdef __WIN__
#undef MYSQL_SERVER_SUFFIX
#ifdef __NT__
#if defined(HAVE_INNOBASE_DB) || defined(HAVE_BERKELEY_DB)
#define MYSQL_SERVER_SUFFIX "-max-nt"
#else
#define MYSQL_SERVER_SUFFIX "-nt"
#endif
/* ...DB */
#elif defined(HAVE_INNOBASE_DB) || defined(HAVE_BERKELEY_DB)
#define MYSQL_SERVER_SUFFIX "-max"
#else
#define MYSQL_SERVER_SUFFIX ""
#endif
/* __NT__ */
#endif
#ifdef HAVE_BERKELEY_DB
SHOW_COMP_OPTION
have_berkeley_db
=
SHOW_OPTION_YES
;
#else
...
...
sql/sql_select.cc
View file @
369ea3bb
...
...
@@ -5371,7 +5371,8 @@ static int remove_dup_with_compare(THD *thd, TABLE *table, Field **first_field,
ulong
offset
,
Item
*
having
)
{
handler
*
file
=
table
->
file
;
char
*
org_record
,
*
new_record
,
*
record
;
char
*
org_record
,
*
new_record
;
byte
*
record
;
int
error
;
ulong
reclength
=
table
->
reclength
-
offset
;
DBUG_ENTER
(
"remove_dup_with_compare"
);
...
...
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