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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6757a04e
Commit
6757a04e
authored
May 18, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-5.0-build
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
ae52de49
2b5f9fad
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
36 additions
and
20 deletions
+36
-20
VC++Files/client/mysqlclient.dsp
VC++Files/client/mysqlclient.dsp
+4
-0
VC++Files/libmysql/libmysql.dsp
VC++Files/libmysql/libmysql.dsp
+8
-0
client/mysql.cc
client/mysql.cc
+0
-1
mysys/default.c
mysys/default.c
+3
-0
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+1
-1
scripts/make_win_src_distribution.sh
scripts/make_win_src_distribution.sh
+8
-6
server-tools/instance-manager/commands.cc
server-tools/instance-manager/commands.cc
+3
-3
server-tools/instance-manager/instance_options.cc
server-tools/instance-manager/instance_options.cc
+3
-3
server-tools/instance-manager/parse.cc
server-tools/instance-manager/parse.cc
+3
-3
server-tools/instance-manager/parse.h
server-tools/instance-manager/parse.h
+3
-3
No files found.
VC++Files/client/mysqlclient.dsp
View file @
6757a04e
...
@@ -330,6 +330,10 @@ SOURCE=..\mysys\my_alloc.c
...
@@ -330,6 +330,10 @@ SOURCE=..\mysys\my_alloc.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
SOURCE=..\mysys\my_chsize.c
# End Source File
# Begin Source File
SOURCE=..\mysys\my_compress.c
SOURCE=..\mysys\my_compress.c
# ADD CPP /I "../zlib"
# ADD CPP /I "../zlib"
# End Source File
# End Source File
...
...
VC++Files/libmysql/libmysql.dsp
View file @
6757a04e
...
@@ -303,6 +303,10 @@ SOURCE=..\mysys\my_alloc.c
...
@@ -303,6 +303,10 @@ SOURCE=..\mysys\my_alloc.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
SOURCE=..\mysys\my_chsize.c
# End Source File
# Begin Source File
SOURCE=..\mysys\my_compress.c
SOURCE=..\mysys\my_compress.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
...
@@ -387,6 +391,10 @@ SOURCE=..\mysys\my_rename.c
...
@@ -387,6 +391,10 @@ SOURCE=..\mysys\my_rename.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
SOURCE=..\mysys\my_seek.c
# End Source File
# Begin Source File
SOURCE=..\mysys\my_static.c
SOURCE=..\mysys\my_static.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
...
...
client/mysql.cc
View file @
6757a04e
...
@@ -2244,7 +2244,6 @@ print_warnings()
...
@@ -2244,7 +2244,6 @@ print_warnings()
char
query
[
30
];
char
query
[
30
];
MYSQL_RES
*
result
;
MYSQL_RES
*
result
;
MYSQL_ROW
cur
;
MYSQL_ROW
cur
;
MYSQL_FIELD
*
field
;
/* Get the warnings */
/* Get the warnings */
strmov
(
query
,
"show warnings"
);
strmov
(
query
,
"show warnings"
);
...
...
mysys/default.c
View file @
6757a04e
...
@@ -851,10 +851,13 @@ static void init_default_directories()
...
@@ -851,10 +851,13 @@ static void init_default_directories()
if
(
GetWindowsDirectory
(
system_dir
,
sizeof
(
system_dir
)))
if
(
GetWindowsDirectory
(
system_dir
,
sizeof
(
system_dir
)))
*
ptr
++=
&
system_dir
;
*
ptr
++=
&
system_dir
;
#if defined(_MSC_VER) && (_MSC_VER >= 1300)
/* Only VC7 and up */
/* Only add shared system directory if different from default. */
/* Only add shared system directory if different from default. */
if
(
GetSystemWindowsDirectory
(
shared_system_dir
,
sizeof
(
shared_system_dir
))
&&
if
(
GetSystemWindowsDirectory
(
shared_system_dir
,
sizeof
(
shared_system_dir
))
&&
strcmp
(
system_dir
,
shared_system_dir
))
strcmp
(
system_dir
,
shared_system_dir
))
*
ptr
++=
&
shared_system_dir
;
*
ptr
++=
&
shared_system_dir
;
#endif
#elif defined(__NETWARE__)
#elif defined(__NETWARE__)
*
ptr
++=
"sys:/etc/"
;
*
ptr
++=
"sys:/etc/"
;
...
...
scripts/make_binary_distribution.sh
View file @
6757a04e
...
@@ -315,7 +315,7 @@ system=`echo $system | sed -e 's/solaris2.\([0-9]*\)/solaris\1/g'`
...
@@ -315,7 +315,7 @@ system=`echo $system | sed -e 's/solaris2.\([0-9]*\)/solaris\1/g'`
system
=
`
echo
$system
|
sed
-e
's/sco3.2v\(.*\)/openserver\1/g'
`
system
=
`
echo
$system
|
sed
-e
's/sco3.2v\(.*\)/openserver\1/g'
`
# Use the override --machine if present
# Use the override --machine if present
if
[
-n
$MACHINE
]
;
then
if
[
-n
"
$MACHINE
"
]
;
then
machine
=
$MACHINE
machine
=
$MACHINE
fi
fi
...
...
scripts/make_win_src_distribution.sh
View file @
6757a04e
...
@@ -199,11 +199,10 @@ copy_dir_files()
...
@@ -199,11 +199,10 @@ copy_dir_files()
print_debug
"Creating directory '
$arg
'"
print_debug
"Creating directory '
$arg
'"
mkdir
$BASE
/
$arg
mkdir
$BASE
/
$arg
fi
fi
for
i
in
*
.c
*
.cpp
*
.h
*
.ih
*
.i
*
.ic
*
.asm
*
.def
*
.hpp
*
.dsp
\
for
i
in
*
.c
*
.cpp
*
.h
*
.ih
*
.i
*
.ic
*
.asm
*
.def
*
.hpp
*
.dsp
*
.dsw
\
README INSTALL
*
LICENSE
*
.inc
*
.test
*
.result
\
README INSTALL
*
LICENSE AUTHORS NEWS ChangeLog
\
*
.pem Moscow_leap des_key_file
*
.dat
*
.000001
\
*
.inc
*
.test
*
.result
*
.pem Moscow_leap des_key_file
\
*
.require
*
.opt
*
.dat
*
.000001
*
.require
*
.opt
do
do
if
[
-f
$i
]
if
[
-f
$i
]
then
then
...
@@ -234,6 +233,7 @@ copy_dir_dirs() {
...
@@ -234,6 +233,7 @@ copy_dir_dirs() {
find
$arg
-type
d
\
find
$arg
-type
d
\
-and
-not
-path
\*
SCCS
\*
\
-and
-not
-path
\*
SCCS
\*
\
-and
-not
-path
\*
.deps
\*
\
-and
-not
-path
\*
.deps
\*
\
-and
-not
-path
\*
.libs
\*
\
-and
-not
-path
\*
autom4te.cache
-print
-and
-not
-path
\*
autom4te.cache
-print
)
|
(
)
|
(
while
read
v
while
read
v
...
@@ -266,7 +266,7 @@ make -C $SOURCE/ndb windoze
...
@@ -266,7 +266,7 @@ make -C $SOURCE/ndb windoze
# Input directories to be copied recursively
# Input directories to be copied recursively
#
#
for
i
in
bdb innobase ndb
for
i
in
bdb innobase ndb
extra/yassl
do
do
copy_dir_dirs
$i
copy_dir_dirs
$i
done
done
...
@@ -328,6 +328,8 @@ do
...
@@ -328,6 +328,8 @@ do
$CP
-R
$i
$BASE
/
$i
$CP
-R
$i
$BASE
/
$i
fi
fi
fi
fi
# But remove object files from destination
find
$BASE
/
$i
-type
f
-name
\*
.o | xargs
rm
-f
done
done
#
#
...
...
server-tools/instance-manager/commands.cc
View file @
6757a04e
...
@@ -573,9 +573,9 @@ int Show_instance_log_files::execute(struct st_net *net, ulong connection_id)
...
@@ -573,9 +573,9 @@ int Show_instance_log_files::execute(struct st_net *net, ulong connection_id)
const
char
*
value
;
const
char
*
value
;
}
logs
[]
=
}
logs
[]
=
{
{
{
"ERROR LOG"
,
instance
->
options
.
logs
[
LOG_ERROR
]},
{
"ERROR LOG"
,
instance
->
options
.
logs
[
IM_
LOG_ERROR
]},
{
"GENERAL LOG"
,
instance
->
options
.
logs
[
LOG_GENERAL
]},
{
"GENERAL LOG"
,
instance
->
options
.
logs
[
IM_
LOG_GENERAL
]},
{
"SLOW LOG"
,
instance
->
options
.
logs
[
LOG_SLOW
]},
{
"SLOW LOG"
,
instance
->
options
.
logs
[
IM_
LOG_SLOW
]},
{
NULL
,
NULL
}
{
NULL
,
NULL
}
};
};
struct
log_files_st
*
log_files
;
struct
log_files_st
*
log_files
;
...
...
server-tools/instance-manager/instance_options.cc
View file @
6757a04e
...
@@ -111,9 +111,9 @@ int Instance_options::fill_log_options()
...
@@ -111,9 +111,9 @@ int Instance_options::fill_log_options()
const
char
*
default_suffix
;
const
char
*
default_suffix
;
}
logs_st
[]
=
}
logs_st
[]
=
{
{
{
"--log-error"
,
11
,
&
(
logs
[
LOG_ERROR
]),
".err"
},
{
"--log-error"
,
11
,
&
(
logs
[
IM_
LOG_ERROR
]),
".err"
},
{
"--log"
,
5
,
&
(
logs
[
LOG_GENERAL
]),
".log"
},
{
"--log"
,
5
,
&
(
logs
[
IM_
LOG_GENERAL
]),
".log"
},
{
"--log-slow-queries"
,
18
,
&
(
logs
[
LOG_SLOW
]),
"-slow.log"
},
{
"--log-slow-queries"
,
18
,
&
(
logs
[
IM_
LOG_SLOW
]),
"-slow.log"
},
{
NULL
,
0
,
NULL
,
NULL
}
{
NULL
,
0
,
NULL
,
NULL
}
};
};
struct
log_files_st
*
log_files
;
struct
log_files_st
*
log_files
;
...
...
server-tools/instance-manager/parse.cc
View file @
6757a04e
...
@@ -262,13 +262,13 @@ Command *parse_command(Command_factory *factory, const char *text)
...
@@ -262,13 +262,13 @@ Command *parse_command(Command_factory *factory, const char *text)
/* define a log type */
/* define a log type */
switch
(
tok3
)
{
switch
(
tok3
)
{
case
TOK_ERROR
:
case
TOK_ERROR
:
log_type
=
LOG_ERROR
;
log_type
=
IM_
LOG_ERROR
;
break
;
break
;
case
TOK_GENERAL
:
case
TOK_GENERAL
:
log_type
=
LOG_GENERAL
;
log_type
=
IM_
LOG_GENERAL
;
break
;
break
;
case
TOK_SLOW
:
case
TOK_SLOW
:
log_type
=
LOG_SLOW
;
log_type
=
IM_
LOG_SLOW
;
break
;
break
;
default:
default:
goto
syntax_error
;
goto
syntax_error
;
...
...
server-tools/instance-manager/parse.h
View file @
6757a04e
...
@@ -24,9 +24,9 @@ class Command_factory;
...
@@ -24,9 +24,9 @@ class Command_factory;
enum
Log_type
enum
Log_type
{
{
LOG_ERROR
=
0
,
IM_
LOG_ERROR
=
0
,
LOG_GENERAL
,
IM_
LOG_GENERAL
,
LOG_SLOW
IM_
LOG_SLOW
};
};
Command
*
parse_command
(
Command_factory
*
factory
,
const
char
*
text
);
Command
*
parse_command
(
Command_factory
*
factory
,
const
char
*
text
);
...
...
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