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
083e1852
Commit
083e1852
authored
Sep 27, 2000
by
monty@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for release
parent
b13c4de9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
7 deletions
+13
-7
include/config-win.h
include/config-win.h
+1
-2
include/mysys_err.h
include/mysys_err.h
+1
-1
myisam/mi_log.c
myisam/mi_log.c
+9
-3
myisam/myisamdef.h
myisam/myisamdef.h
+1
-0
mysys/errors.c
mysys/errors.c
+1
-1
No files found.
include/config-win.h
View file @
083e1852
...
@@ -288,8 +288,7 @@ inline double ulonglong2double(ulonglong value)
...
@@ -288,8 +288,7 @@ inline double ulonglong2double(ulonglong value)
#define FN_NETWORK_DRIVES
/* Uses \\ to indicate network drives */
#define FN_NETWORK_DRIVES
/* Uses \\ to indicate network drives */
#define FN_NO_CASE_SENCE
/* Files are not case-sensitive */
#define FN_NO_CASE_SENCE
/* Files are not case-sensitive */
#define FN_LOWER_CASE TRUE
/* Files are represented in lower case */
#define FN_LOWER_CASE TRUE
/* Files are represented in lower case */
#define MY_NFILE 127
/* This is only used to save filenames */
#define MY_NFILE 1024
#define DO_NOT_REMOVE_THREAD_WRAPPERS
#define DO_NOT_REMOVE_THREAD_WRAPPERS
#define thread_safe_increment(V,L) InterlockedIncrement((long*) &(V))
#define thread_safe_increment(V,L) InterlockedIncrement((long*) &(V))
...
...
include/mysys_err.h
View file @
083e1852
...
@@ -22,7 +22,7 @@ extern "C" {
...
@@ -22,7 +22,7 @@ extern "C" {
#endif
#endif
#define GLOB 0
/* Error maps */
#define GLOB 0
/* Error maps */
#define GLOBERRS 2
3
/* Max number of error messages in map's */
#define GLOBERRS 2
4
/* Max number of error messages in map's */
#define EE(X) globerrs[ X ]
/* Defines to add error to right map */
#define EE(X) globerrs[ X ]
/* Defines to add error to right map */
extern
const
char
*
NEAR
globerrs
[];
/* my_error_messages is here */
extern
const
char
*
NEAR
globerrs
[];
/* my_error_messages is here */
...
...
myisam/mi_log.c
View file @
083e1852
...
@@ -14,7 +14,10 @@
...
@@ -14,7 +14,10 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/* Logging of isamcommands and records on logfile */
/*
Logging of MyISAM commands and records on logfile for debugging
The log can be examined with help of the myisamlog command.
*/
#include "myisamdef.h"
#include "myisamdef.h"
#if defined(MSDOS) || defined(__WIN__)
#if defined(MSDOS) || defined(__WIN__)
...
@@ -30,14 +33,15 @@
...
@@ -30,14 +33,15 @@
#undef GETPID
/* For HPUX */
#undef GETPID
/* For HPUX */
#ifdef THREAD
#ifdef THREAD
#define GETPID() (log_type == 1 ?
getpid()
: (long) my_thread_id());
#define GETPID() (log_type == 1 ?
myisam_pid
: (long) my_thread_id());
#else
#else
#define GETPID()
getpid()
#define GETPID()
myisam_pid
#endif
#endif
/* Activate logging if flag is 1 and reset logging if flag is 0 */
/* Activate logging if flag is 1 and reset logging if flag is 0 */
static
int
log_type
=
0
;
static
int
log_type
=
0
;
ulong
myisam_pid
=
0
;
int
mi_log
(
int
activate_log
)
int
mi_log
(
int
activate_log
)
{
{
...
@@ -48,6 +52,8 @@ int mi_log(int activate_log)
...
@@ -48,6 +52,8 @@ int mi_log(int activate_log)
log_type
=
activate_log
;
log_type
=
activate_log
;
if
(
activate_log
)
if
(
activate_log
)
{
{
if
(
!
myisam_pid
)
myisam_pid
=
(
ulong
)
getpid
();
if
(
myisam_log_file
<
0
)
if
(
myisam_log_file
<
0
)
{
{
if
((
myisam_log_file
=
my_create
(
fn_format
(
buff
,
myisam_log_filename
,
if
((
myisam_log_file
=
my_create
(
fn_format
(
buff
,
myisam_log_filename
,
...
...
myisam/myisamdef.h
View file @
083e1852
...
@@ -384,6 +384,7 @@ extern uchar NEAR myisam_file_magic[],NEAR myisam_pack_file_magic[];
...
@@ -384,6 +384,7 @@ extern uchar NEAR myisam_file_magic[],NEAR myisam_pack_file_magic[];
extern
uint
NEAR
myisam_read_vec
[],
NEAR
myisam_readnext_vec
[];
extern
uint
NEAR
myisam_read_vec
[],
NEAR
myisam_readnext_vec
[];
extern
uint
myisam_quick_table_bits
;
extern
uint
myisam_quick_table_bits
;
extern
File
myisam_log_file
;
extern
File
myisam_log_file
;
extern
ulong
myisam_pid
;
/* This is used by _mi_calc_xxx_key_length och _mi_store_key */
/* This is used by _mi_calc_xxx_key_length och _mi_store_key */
...
...
mysys/errors.c
View file @
083e1852
...
@@ -44,7 +44,7 @@ const char * NEAR globerrs[GLOBERRS]=
...
@@ -44,7 +44,7 @@ const char * NEAR globerrs[GLOBERRS]=
"%d files and %d streams is left open
\n
"
,
"%d files and %d streams is left open
\n
"
,
"Disk is full writing '%s'. Waiting for someone to free space..."
,
"Disk is full writing '%s'. Waiting for someone to free space..."
,
"Can't create directory '%s' (Errcode: %d)"
,
"Can't create directory '%s' (Errcode: %d)"
,
"Character set '%s' is not a compiled character set and is not specified in the '%s' file"
"Character set '%s' is not a compiled character set and is not specified in the '%s' file"
,
"Out of resources when opening file '%s' (Errcode: %d)"
,
"Out of resources when opening file '%s' (Errcode: %d)"
,
};
};
...
...
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