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
d889e399
Commit
d889e399
authored
Jan 05, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge
mysql-test/mysql_test_run_new.c: SCCS merged
parents
8a1e77e2
b2dcf8f4
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
510 additions
and
273 deletions
+510
-273
Build-tools/Bootstrap
Build-tools/Bootstrap
+1
-1
VC++Files/client/mysqldump.dsp
VC++Files/client/mysqldump.dsp
+6
-6
VC++Files/client/mysqltest.dsp
VC++Files/client/mysqltest.dsp
+8
-8
VC++Files/mysql-test/mysql_test_run_new.dsp
VC++Files/mysql-test/mysql_test_run_new.dsp
+2
-2
mysql-test/lib/mtr_process.pl
mysql-test/lib/mtr_process.pl
+204
-158
mysql-test/lib/mtr_report.pl
mysql-test/lib/mtr_report.pl
+6
-1
mysql-test/my_manage.c
mysql-test/my_manage.c
+9
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+228
-54
mysql-test/mysql_test_run_new.c
mysql-test/mysql_test_run_new.c
+2
-1
mysys/mf_keycaches.c
mysys/mf_keycaches.c
+1
-1
ndb/include/ndb_global.h.in
ndb/include/ndb_global.h.in
+36
-0
ndb/include/ndb_types.h
ndb/include/ndb_types.h
+1
-35
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+2
-2
sql-bench/crash-me.sh
sql-bench/crash-me.sh
+1
-1
sql-common/client.c
sql-common/client.c
+3
-2
No files found.
Build-tools/Bootstrap
View file @
d889e399
...
@@ -252,7 +252,7 @@ if (defined $opt_changelog)
...
@@ -252,7 +252,7 @@ if (defined $opt_changelog)
$msg
=
"
Adding
$target_dir
/ChangeLog
";
$msg
=
"
Adding
$target_dir
/ChangeLog
";
$msg
.=
"
(down to revision
$opt_changelog
)
"
if
$opt_changelog
ne
"";
$msg
.=
"
(down to revision
$opt_changelog
)
"
if
$opt_changelog
ne
"";
&
logger
(
$msg
);
&
logger
(
$msg
);
$command
=
"
bk changes -
m
v
";
$command
=
"
bk changes -v
";
$command
.=
"
-r
"
if
(
$opt_changelog
ne
""
||
$opt_revision
);
$command
.=
"
-r
"
if
(
$opt_changelog
ne
""
||
$opt_revision
);
$command
.=
$opt_changelog
if
$opt_changelog
ne
"";
$command
.=
$opt_changelog
if
$opt_changelog
ne
"";
$command
.=
"
..
"
if
(
$opt_changelog
ne
""
&&
!
$opt_revision
);
$command
.=
"
..
"
if
(
$opt_changelog
ne
""
&&
!
$opt_revision
);
...
...
VC++Files/client/mysqldump.dsp
View file @
d889e399
...
@@ -51,8 +51,8 @@ BSC32=bscmake.exe
...
@@ -51,8 +51,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# ADD BSC32 /nologo
LINK32=xilink6.exe
LINK32=xilink6.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
mysys.lib
/nologo /subsystem:console /machine:I386
# ADD LINK32 mysqlclient.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../client_release/mysqldump.exe" /libpath:"..\lib_release\\"
# ADD LINK32 mysqlclient.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
mysys.lib
/nologo /subsystem:console /machine:I386 /out:"../client_release/mysqldump.exe" /libpath:"..\lib_release\\"
!ELSEIF "$(CFG)" == "mysqldump - Win32 Debug"
!ELSEIF "$(CFG)" == "mysqldump - Win32 Debug"
...
@@ -76,8 +76,8 @@ BSC32=bscmake.exe
...
@@ -76,8 +76,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# ADD BSC32 /nologo
LINK32=xilink6.exe
LINK32=xilink6.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
mysys.lib
/nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 mysqlclient.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /out:"../client_debug/mysqldump.exe" /pdbtype:sept /libpath:"..\lib_debug\\"
# ADD LINK32 mysqlclient.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
mysys.lib
/nologo /subsystem:console /incremental:no /debug /machine:I386 /out:"../client_debug/mysqldump.exe" /pdbtype:sept /libpath:"..\lib_debug\\"
!ELSEIF "$(CFG)" == "mysqldump - Win32 classic"
!ELSEIF "$(CFG)" == "mysqldump - Win32 classic"
...
@@ -103,8 +103,8 @@ BSC32=bscmake.exe
...
@@ -103,8 +103,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# ADD BSC32 /nologo
LINK32=xilink6.exe
LINK32=xilink6.exe
# ADD BASE LINK32 mysqlclient.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../client_release/mysqldump.exe" /libpath:"..\lib_release\\"
# ADD BASE LINK32 mysqlclient.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
mysys.lib
/nologo /subsystem:console /machine:I386 /out:"../client_release/mysqldump.exe" /libpath:"..\lib_release\\"
# ADD LINK32 mysqlclient.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"../client_classic/mysqldump.exe" /libpath:"..\lib_release\\"
# ADD LINK32 mysqlclient.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
mysys.lib
/nologo /subsystem:console /machine:I386 /out:"../client_classic/mysqldump.exe" /libpath:"..\lib_release\\"
!ENDIF
!ENDIF
...
...
VC++Files/client/mysqltest.dsp
View file @
d889e399
...
@@ -67,8 +67,8 @@ LINK32=link.exe
...
@@ -67,8 +67,8 @@ LINK32=link.exe
# PROP Output_Dir ".\classic"
# PROP Output_Dir ".\classic"
# PROP Intermediate_Dir ".\classic"
# PROP Intermediate_Dir ".\classic"
# PROP Target_Dir ""
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /I "../include" /I "../
" /W3 /Ob1 /G6 /D "_CONSOLE" /D "_WINDOWS" /D "LICENSE=Commercial" /D "DBUG_OFF" /D "NDEBUG" /D "_MBCS" /GF /Gy /Fp".\classic/mysqltest.pch" /Fo".\classic/" /Fd".\classic/" /c /GX
# ADD BASE CPP /nologo /MT /I "../include" /I "../
regex" /I "../" /W3 /Ob1 /G6 /D "_CONSOLE" /D "_WINDOWS" /D "LICENSE=Commercial" /D "DBUG_OFF" /D "NDEBUG" /D "_MBCS" /GF /Gy /Fp".\classic/mysqltest.pch" /Fo".\classic/" /Fd".\classic/" /c /GX
# ADD CPP /nologo /MT /I "../include" /I "../
" /W3 /Ob1 /G6 /D "_CONSOLE" /D "_WINDOWS" /D "LICENSE=Commercial" /D "DBUG_OFF" /D "NDEBUG" /D "_MBCS" /GF /Gy /Fp".\classic/mysqltest.pch" /Fo".\classic/" /Fd".\classic/" /c /GX
# ADD CPP /nologo /MT /I "../include" /I "../
regex" /I "../" /W3 /Ob1 /G6 /D "_CONSOLE" /D "_WINDOWS" /D "LICENSE=Commercial" /D "DBUG_OFF" /D "NDEBUG" /D "_MBCS" /GF /Gy /Fp".\classic/mysqltest.pch" /Fo".\classic/" /Fd".\classic/" /c /GX
# ADD BASE MTL /nologo /tlb".\classic\mysqltest.tlb" /win32
# ADD BASE MTL /nologo /tlb".\classic\mysqltest.tlb" /win32
# ADD MTL /nologo /tlb".\classic\mysqltest.tlb" /win32
# ADD MTL /nologo /tlb".\classic\mysqltest.tlb" /win32
# ADD BASE RSC /l 1033 /d "NDEBUG"
# ADD BASE RSC /l 1033 /d "NDEBUG"
...
@@ -77,8 +77,8 @@ BSC32=bscmake.exe
...
@@ -77,8 +77,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib mysqlclient.lib wsock32.lib /nologo /out:"..\client_classic\mysqltest.exe" /incremental:no /libpath:"..\lib_release\" /pdb:".\classic\mysqltest.pdb" /pdbtype:sept /subsystem:console /MACHINE:I386
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib mysqlclient.lib wsock32.lib
mysys.lib regex.lib
/nologo /out:"..\client_classic\mysqltest.exe" /incremental:no /libpath:"..\lib_release\" /pdb:".\classic\mysqltest.pdb" /pdbtype:sept /subsystem:console /MACHINE:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib mysqlclient.lib wsock32.lib /nologo /out:"..\client_classic\mysqltest.exe" /incremental:no /libpath:"..\lib_release\" /pdb:".\classic\mysqltest.pdb" /pdbtype:sept /subsystem:console /MACHINE:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib mysqlclient.lib wsock32.lib
mysys.lib regex.lib
/nologo /out:"..\client_classic\mysqltest.exe" /incremental:no /libpath:"..\lib_release\" /pdb:".\classic\mysqltest.pdb" /pdbtype:sept /subsystem:console /MACHINE:I386
!ELSEIF "$(CFG)" == "mysqltest - Win32 Release"
!ELSEIF "$(CFG)" == "mysqltest - Win32 Release"
...
@@ -92,8 +92,8 @@ LINK32=link.exe
...
@@ -92,8 +92,8 @@ LINK32=link.exe
# PROP Output_Dir ".\release"
# PROP Output_Dir ".\release"
# PROP Intermediate_Dir ".\release"
# PROP Intermediate_Dir ".\release"
# PROP Target_Dir ""
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /I "../include" /I "../
" /W3 /Ob1 /G6 /D "DBUG_OFF" /D "_CONSOLE" /D "_WINDOWS" /D "NDEBUG" /D "_MBCS" /GF /Gy /Fp".\release/mysqltest.pch" /Fo".\release/" /Fd".\release/" /c /GX
# ADD BASE CPP /nologo /MT /I "../include" /I "../
regex" /I "../" /W3 /Ob1 /G6 /D "DBUG_OFF" /D "_CONSOLE" /D "_WINDOWS" /D "NDEBUG" /D "_MBCS" /GF /Gy /Fp".\release/mysqltest.pch" /Fo".\release/" /Fd".\release/" /c /GX
# ADD CPP /nologo /MT /I "../include" /I "../
" /W3 /Ob1 /G6 /D "DBUG_OFF" /D "_CONSOLE" /D "_WINDOWS" /D "NDEBUG" /D "_MBCS" /GF /Gy /Fp".\release/mysqltest.pch" /Fo".\release/" /Fd".\release/" /c /GX
# ADD CPP /nologo /MT /I "../include" /I "../
regex" /I "../" /W3 /Ob1 /G6 /D "DBUG_OFF" /D "_CONSOLE" /D "_WINDOWS" /D "NDEBUG" /D "_MBCS" /GF /Gy /Fp".\release/mysqltest.pch" /Fo".\release/" /Fd".\release/" /c /GX
# ADD BASE MTL /nologo /tlb".\release\mysqltest.tlb" /win32
# ADD BASE MTL /nologo /tlb".\release\mysqltest.tlb" /win32
# ADD MTL /nologo /tlb".\release\mysqltest.tlb" /win32
# ADD MTL /nologo /tlb".\release\mysqltest.tlb" /win32
# ADD BASE RSC /l 1033 /d "NDEBUG"
# ADD BASE RSC /l 1033 /d "NDEBUG"
...
@@ -102,8 +102,8 @@ BSC32=bscmake.exe
...
@@ -102,8 +102,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib mysqlclient.lib wsock32.lib /nologo /out:"..\client_release\mysqltest.exe" /incremental:no /libpath:"..\lib_release\" /pdb:".\release\mysqltest.pdb" /pdbtype:sept /subsystem:console /MACHINE:I386
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib mysqlclient.lib wsock32.lib
mysys.lib regex.lib
/nologo /out:"..\client_release\mysqltest.exe" /incremental:no /libpath:"..\lib_release\" /pdb:".\release\mysqltest.pdb" /pdbtype:sept /subsystem:console /MACHINE:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib mysqlclient.lib wsock32.lib /nologo /out:"..\client_release\mysqltest.exe" /incremental:no /libpath:"..\lib_release\" /pdb:".\release\mysqltest.pdb" /pdbtype:sept /subsystem:console /MACHINE:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib mysqlclient.lib wsock32.lib
mysys.lib regex.lib
/nologo /out:"..\client_release\mysqltest.exe" /incremental:no /libpath:"..\lib_release\" /pdb:".\release\mysqltest.pdb" /pdbtype:sept /subsystem:console /MACHINE:I386
!ENDIF
!ENDIF
...
...
VC++Files/mysql-test/mysql_test_run_new.dsp
View file @
d889e399
...
@@ -76,8 +76,8 @@ BSC32=bscmake.exe
...
@@ -76,8 +76,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib Ws2_32.lib /nologo /out:"..\mysql-test\mysql_test_run_new.exe" /incremental:no /pdb:".\Release\mysql_test_run_new.pdb" /pdbtype:sept /subsystem:
windows
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib Ws2_32.lib /nologo /out:"..\mysql-test\mysql_test_run_new.exe" /incremental:no /pdb:".\Release\mysql_test_run_new.pdb" /pdbtype:sept /subsystem:
console
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib Ws2_32.lib /nologo /out:"..\mysql-test\mysql_test_run_new.exe" /incremental:no /pdb:".\Release\mysql_test_run_new.pdb" /pdbtype:sept /subsystem:
windows
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib odbc32.lib odbccp32.lib Ws2_32.lib /nologo /out:"..\mysql-test\mysql_test_run_new.exe" /incremental:no /pdb:".\Release\mysql_test_run_new.pdb" /pdbtype:sept /subsystem:
console
!ENDIF
!ENDIF
...
...
mysql-test/lib/mtr_process.pl
View file @
d889e399
This diff is collapsed.
Click to expand it.
mysql-test/lib/mtr_report.pl
View file @
d889e399
...
@@ -14,6 +14,7 @@ sub mtr_report_test_skipped($);
...
@@ -14,6 +14,7 @@ sub mtr_report_test_skipped($);
sub
mtr_show_failed_diff
($);
sub
mtr_show_failed_diff
($);
sub
mtr_report_stats
($);
sub
mtr_report_stats
($);
sub
mtr_print_line
();
sub
mtr_print_line
();
sub
mtr_print_thick_line
();
sub
mtr_print_header
();
sub
mtr_print_header
();
sub
mtr_report
(@);
sub
mtr_report
(@);
sub
mtr_warning
(@);
sub
mtr_warning
(@);
...
@@ -214,6 +215,10 @@ sub mtr_print_line () {
...
@@ -214,6 +215,10 @@ sub mtr_print_line () {
print
'
-
'
x
55
,
"
\n
";
print
'
-
'
x
55
,
"
\n
";
}
}
sub
mtr_print_thick_line
()
{
print
'
=
'
x
55
,
"
\n
";
}
sub
mtr_print_header
()
{
sub
mtr_print_header
()
{
print
"
\n
";
print
"
\n
";
if
(
$::opt_timer
)
if
(
$::opt_timer
)
...
@@ -250,7 +255,7 @@ sub mtr_error (@) {
...
@@ -250,7 +255,7 @@ sub mtr_error (@) {
sub
mtr_debug
(@)
{
sub
mtr_debug
(@)
{
if
(
$::opt_script_debug
)
if
(
$::opt_script_debug
)
{
{
print
"
mysql-test-run: DEBUG
:
",
join
("
",
@_
),"
\n
";
print
STDERR
"
####
:
",
join
("
",
@_
),"
\n
";
}
}
}
}
...
...
mysql-test/my_manage.c
View file @
d889e399
...
@@ -327,7 +327,7 @@ int spawn(char *path, arg_list_t *al, int join, char *input,
...
@@ -327,7 +327,7 @@ int spawn(char *path, arg_list_t *al, int join, char *input,
int
spawn
(
char
*
path
,
arg_list_t
*
al
,
int
join
,
char
*
input
,
int
spawn
(
char
*
path
,
arg_list_t
*
al
,
int
join
,
char
*
input
,
char
*
output
,
char
*
error
,
HANDLE
*
pid
)
char
*
output
,
char
*
error
,
HANDLE
*
pid
)
{
{
intptr_t
result
;
bool
result
;
int
i
;
int
i
;
STARTUPINFO
startup_info
;
STARTUPINFO
startup_info
;
PROCESS_INFORMATION
process_information
;
PROCESS_INFORMATION
process_information
;
...
@@ -665,7 +665,11 @@ void del_tree(char *dir)
...
@@ -665,7 +665,11 @@ void del_tree(char *dir)
rmdir
(
dir
);
rmdir
(
dir
);
#else
#else
struct
_finddata_t
parent
;
struct
_finddata_t
parent
;
#if defined(_MSC_VER) && _MSC_VER > 1200
intptr_t
handle
;
intptr_t
handle
;
#else
long
handle
;
#endif
/* _MSC_VER && _MSC_VER > 1200 */
char
temp
[
FN_REFLEN
];
char
temp
[
FN_REFLEN
];
char
mask
[
FN_REFLEN
];
char
mask
[
FN_REFLEN
];
...
@@ -728,7 +732,11 @@ int removef(const char *format, ...)
...
@@ -728,7 +732,11 @@ int removef(const char *format, ...)
va_list
ap
;
va_list
ap
;
char
path
[
FN_REFLEN
];
char
path
[
FN_REFLEN
];
struct
_finddata_t
parent
;
struct
_finddata_t
parent
;
#if defined(_MSC_VER) && _MSC_VER > 1200
intptr_t
handle
;
intptr_t
handle
;
#else
long
handle
;
#endif
/* _MSC_VER && _MSC_VER > 1200 */
char
temp
[
FN_REFLEN
];
char
temp
[
FN_REFLEN
];
char
*
p
;
char
*
p
;
...
...
mysql-test/mysql-test-run.pl
View file @
d889e399
This diff is collapsed.
Click to expand it.
mysql-test/mysql_test_run_new.c
View file @
d889e399
...
@@ -37,7 +37,8 @@
...
@@ -37,7 +37,8 @@
#include <sys/mode.h>
#include <sys/mode.h>
#endif
#endif
#ifdef __WIN__
#ifdef __WIN__
#include <Shlwapi.h>
#include <windows.h>
#include <shlwapi.h>
#include <direct.h>
#include <direct.h>
#endif
#endif
...
...
mysys/mf_keycaches.c
View file @
d889e399
...
@@ -235,7 +235,7 @@ static my_bool safe_hash_set(SAFE_HASH *hash, const byte *key, uint length,
...
@@ -235,7 +235,7 @@ static my_bool safe_hash_set(SAFE_HASH *hash, const byte *key, uint length,
if
(
my_hash_insert
(
&
hash
->
hash
,
(
byte
*
)
entry
))
if
(
my_hash_insert
(
&
hash
->
hash
,
(
byte
*
)
entry
))
{
{
/* This can only happen if hash got out of memory */
/* This can only happen if hash got out of memory */
my_
delet
e
((
char
*
)
entry
,
MYF
(
0
));
my_
fre
e
((
char
*
)
entry
,
MYF
(
0
));
error
=
1
;
error
=
1
;
goto
end
;
goto
end
;
}
}
...
...
ndb/include/ndb_global.h.in
View file @
d889e399
...
@@ -31,12 +31,48 @@
...
@@ -31,12 +31,48 @@
#define HAVE_STRCASECMP
#define HAVE_STRCASECMP
#define strcasecmp _strcmpi
#define strcasecmp _strcmpi
#pragma warning(disable: 4503 4786)
#pragma warning(disable: 4503 4786)
typedef unsigned __int64 Uint64;
typedef signed __int64 Int64;
#else
#else
#undef NDB_WIN32
#undef NDB_WIN32
#define DIR_SEPARATOR "/"
#define DIR_SEPARATOR "/"
typedef unsigned long long Uint64;
typedef signed long long Int64;
#endif
#endif
#include <my_global.h>
#include <my_global.h>
typedef signed char Int8;
typedef unsigned char Uint8;
typedef signed short Int16;
typedef unsigned short Uint16;
typedef signed int Int32;
typedef unsigned int Uint32;
typedef unsigned int UintR;
#ifdef __SIZE_TYPE__
typedef __SIZE_TYPE__ UintPtr;
#elif SIZEOF_CHARP == 4
typedef Uint32 UintPtr;
#elif SIZEOF_CHARP == 8
typedef Uint64 UintPtr;
#else
#error "Unknown size of (char *)"
#endif
#if ! (SIZEOF_CHAR == 1)
#error "Invalid define for Uint8"
#endif
#if ! (SIZEOF_INT == 4)
#error "Invalid define for Uint32"
#endif
#if ! (SIZEOF_LONG_LONG == 8)
#error "Invalid define for Uint64"
#endif
#include <my_alarm.h>
#include <my_alarm.h>
#ifdef _AIX
#ifdef _AIX
...
...
ndb/include/ndb_types.h
View file @
d889e399
...
@@ -21,40 +21,6 @@
...
@@ -21,40 +21,6 @@
#ifndef NDB_TYPES_H
#ifndef NDB_TYPES_H
#define NDB_TYPES_H
#define NDB_TYPES_H
typedef
signed
char
Int8
;
#include "ndb_global.h"
typedef
unsigned
char
Uint8
;
typedef
signed
short
Int16
;
typedef
unsigned
short
Uint16
;
typedef
signed
int
Int32
;
typedef
unsigned
int
Uint32
;
typedef
unsigned
int
UintR
;
#ifdef __SIZE_TYPE__
typedef
__SIZE_TYPE__
UintPtr
;
#else
#include <ndb_global.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#if defined(WIN32) || defined(NDB_WIN32)
typedef
Uint32
UintPtr
;
#else
typedef
uintptr_t
UintPtr
;
#endif
#endif
#if defined(WIN32) || defined(NDB_WIN32)
typedef
unsigned
__int64
Uint64
;
typedef
signed
__int64
Int64
;
typedef
UintPtr
ssize_t
;
#else
typedef
unsigned
long
long
Uint64
;
typedef
signed
long
long
Int64
;
#endif
#endif
#endif
scripts/mysqld_safe.sh
View file @
d889e399
...
@@ -322,13 +322,13 @@ do
...
@@ -322,13 +322,13 @@ do
# but should work for the rest of the servers.
# but should work for the rest of the servers.
# The only thing is ps x => redhat 5 gives warnings when using ps -x.
# The only thing is ps x => redhat 5 gives warnings when using ps -x.
# kill -9 is used or the process won't react on the kill.
# kill -9 is used or the process won't react on the kill.
numofproces
=
`
ps xa |
grep
-v
"grep"
|
grep
"
$ledir
/
$MYSQLD
\>
"
|
grep
-c
"pid-file=
$pid_file
"
`
numofproces
=
`
ps xa
ww
|
grep
-v
"grep"
|
grep
"
$ledir
/
$MYSQLD
\>
"
|
grep
-c
"pid-file=
$pid_file
"
`
echo
-e
"
\n
Number of processes running now:
$numofproces
"
|
tee
-a
$err_log
echo
-e
"
\n
Number of processes running now:
$numofproces
"
|
tee
-a
$err_log
I
=
1
I
=
1
while
test
"
$I
"
-le
"
$numofproces
"
while
test
"
$I
"
-le
"
$numofproces
"
do
do
PROC
=
`
ps xa |
grep
"
$ledir
/
$MYSQLD
\>
"
|
grep
-v
"grep"
|
grep
"pid-file=
$pid_file
"
|
sed
-n
'$p'
`
PROC
=
`
ps xa
ww
|
grep
"
$ledir
/
$MYSQLD
\>
"
|
grep
-v
"grep"
|
grep
"pid-file=
$pid_file
"
|
sed
-n
'$p'
`
for
T
in
$PROC
for
T
in
$PROC
do
do
...
...
sql-bench/crash-me.sh
View file @
d889e399
...
@@ -1039,7 +1039,7 @@ try_and_report("Automatic row id", "automatic_rowid",
...
@@ -1039,7 +1039,7 @@ try_and_report("Automatic row id", "automatic_rowid",
[
"MATCH UNIQUE"
,
"match_unique"
,
[
"MATCH UNIQUE"
,
"match_unique"
,
"1 match unique (select a from crash_me)"
,1,0],
"1 match unique (select a from crash_me)"
,1,0],
[
"MATCH"
,
"match"
,
"1 match (select a from crash_me)"
,1,0],
[
"MATCH"
,
"match"
,
"1 match (select a from crash_me)"
,1,0],
[
"MATCHES"
,
"matches"
,
"b matc
j
hes 'a*'"
,1,0],
[
"MATCHES"
,
"matches"
,
"b matches 'a*'"
,1,0],
[
"NOT BETWEEN"
,
"not_between"
,
"7 not between 4 and 6"
,1,0],
[
"NOT BETWEEN"
,
"not_between"
,
"7 not between 4 and 6"
,1,0],
[
"NOT EXISTS"
,
"not_exists"
,
[
"NOT EXISTS"
,
"not_exists"
,
"not exists (select * from crash_me where a = 2)"
,1,0],
"not exists (select * from crash_me where a = 2)"
,1,0],
...
...
sql-common/client.c
View file @
d889e399
...
@@ -882,7 +882,7 @@ static const char *default_options[]=
...
@@ -882,7 +882,7 @@ static const char *default_options[]=
"connect-timeout"
,
"local-infile"
,
"disable-local-infile"
,
"connect-timeout"
,
"local-infile"
,
"disable-local-infile"
,
"replication-probe"
,
"enable-reads-from-master"
,
"repl-parse-query"
,
"replication-probe"
,
"enable-reads-from-master"
,
"repl-parse-query"
,
"ssl-cipher"
,
"max-allowed-packet"
,
"protocol"
,
"shared-memory-base-name"
,
"ssl-cipher"
,
"max-allowed-packet"
,
"protocol"
,
"shared-memory-base-name"
,
"multi-results"
,
"multi-queries"
,
"secure-auth"
,
"multi-results"
,
"multi-
statements"
,
"multi-
queries"
,
"secure-auth"
,
NullS
NullS
};
};
...
@@ -1088,9 +1088,10 @@ void mysql_read_default_options(struct st_mysql_options *options,
...
@@ -1088,9 +1088,10 @@ void mysql_read_default_options(struct st_mysql_options *options,
options
->
client_flag
|=
CLIENT_MULTI_RESULTS
;
options
->
client_flag
|=
CLIENT_MULTI_RESULTS
;
break
;
break
;
case
31
:
case
31
:
case
32
:
options
->
client_flag
|=
CLIENT_MULTI_STATEMENTS
|
CLIENT_MULTI_RESULTS
;
options
->
client_flag
|=
CLIENT_MULTI_STATEMENTS
|
CLIENT_MULTI_RESULTS
;
break
;
break
;
case
3
2
:
/* secure-auth */
case
3
3
:
/* secure-auth */
options
->
secure_auth
=
TRUE
;
options
->
secure_auth
=
TRUE
;
break
;
break
;
default:
default:
...
...
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