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
8cf0957d
Commit
8cf0957d
authored
May 06, 2005
by
jan@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge hundin.mysql.fi:/home/jan/mysql-4.1
into hundin.mysql.fi:/home/jan/mysql-5.0
parents
25f44eab
3cddcc63
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
49 additions
and
11 deletions
+49
-11
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+2
-0
cmd-line-utils/libedit/config.h
cmd-line-utils/libedit/config.h
+2
-0
cmd-line-utils/readline/terminal.c
cmd-line-utils/readline/terminal.c
+1
-1
configure.in
configure.in
+21
-2
include/my_sys.h
include/my_sys.h
+4
-0
mysql-test/r/ndb_restore.result
mysql-test/r/ndb_restore.result
+1
-0
mysql-test/t/ndb_restore.test
mysql-test/t/ndb_restore.test
+6
-0
ndb/test/src/NDBT_ResultRow.cpp
ndb/test/src/NDBT_ResultRow.cpp
+6
-2
sql/ha_innodb.cc
sql/ha_innodb.cc
+5
-5
sql/sql_bitmap.h
sql/sql_bitmap.h
+1
-1
No files found.
BitKeeper/etc/logging_ok
View file @
8cf0957d
...
@@ -186,6 +186,7 @@ mysqldev@build.mysql2.com
...
@@ -186,6 +186,7 @@ mysqldev@build.mysql2.com
mysqldev@melody.local
mysqldev@melody.local
mysqldev@mysql.com
mysqldev@mysql.com
mysqldev@o2k.irixworld.net
mysqldev@o2k.irixworld.net
ndbdev@dl145b.mysql.com
ndbdev@eel.hemma.oreland.se
ndbdev@eel.hemma.oreland.se
ndbdev@ndbmaster.mysql.com
ndbdev@ndbmaster.mysql.com
ndbdev@shark.
ndbdev@shark.
...
@@ -268,6 +269,7 @@ tonu@x153.internalnet
...
@@ -268,6 +269,7 @@ tonu@x153.internalnet
tonu@x3.internalnet
tonu@x3.internalnet
tsmith@build.mysql.com
tsmith@build.mysql.com
tulin@build.mysql.com
tulin@build.mysql.com
tulin@dl145b.mysql.com
tulin@mysql.com
tulin@mysql.com
ulli@morbus.(none)
ulli@morbus.(none)
venu@hundin.mysql.fi
venu@hundin.mysql.fi
...
...
cmd-line-utils/libedit/config.h
View file @
8cf0957d
...
@@ -2,8 +2,10 @@
...
@@ -2,8 +2,10 @@
#include "my_config.h"
#include "my_config.h"
#include "sys.h"
#include "sys.h"
#if defined(LIBC_SCCS) && !defined(lint)
#define __RCSID(x)
#define __RCSID(x)
#define __COPYRIGHT(x)
#define __COPYRIGHT(x)
#endif
#define __RENAME(x)
#define __RENAME(x)
#define _DIAGASSERT(x)
#define _DIAGASSERT(x)
...
...
cmd-line-utils/readline/terminal.c
View file @
8cf0957d
...
@@ -346,7 +346,7 @@ get_term_capabilities (bp)
...
@@ -346,7 +346,7 @@ get_term_capabilities (bp)
register
unsigned
int
i
;
register
unsigned
int
i
;
for
(
i
=
0
;
i
<
NUM_TC_STRINGS
;
i
++
)
for
(
i
=
0
;
i
<
NUM_TC_STRINGS
;
i
++
)
# if
def __LCC__
# if
defined(__LCC__) || defined(__MWERKS__)
*
(
tc_strings
[
i
].
tc_value
)
=
tgetstr
((
char
*
)
tc_strings
[
i
].
tc_var
,
bp
);
*
(
tc_strings
[
i
].
tc_value
)
=
tgetstr
((
char
*
)
tc_strings
[
i
].
tc_var
,
bp
);
# else
# else
*
(
tc_strings
[
i
].
tc_value
)
=
tgetstr
(
tc_strings
[
i
].
tc_var
,
bp
);
*
(
tc_strings
[
i
].
tc_value
)
=
tgetstr
(
tc_strings
[
i
].
tc_var
,
bp
);
...
...
configure.in
View file @
8cf0957d
...
@@ -123,8 +123,25 @@ AM_SANITY_CHECK
...
@@ -123,8 +123,25 @@ AM_SANITY_CHECK
# This is needed is SUBDIRS is set
# This is needed is SUBDIRS is set
AC_PROG_MAKE_SET
AC_PROG_MAKE_SET
# This is need before AC_PROG_CC
##############################################################################
#
# The below section needs to be done before AC_PROG_CC
##############################################################################
# Hack for OS X/Darwin and Metrowerks CodeWarrior
AC_ARG_WITH
(
darwin-mwcc,
[
--with-darwin-mwcc
Use Metrowerks CodeWarrior wrappers on OS X/Darwin],[
builddir
=
`
pwd
`
ccwrapper
=
"
$builddir
/support-files/MacOSX/mwcc-wrapper"
arwrapper
=
"
$builddir
/support-files/MacOSX/mwar-wrapper"
CC
=
"
$ccwrapper
"
CXX
=
"
$ccwrapper
"
LD
=
"
$ccwrapper
"
AR
=
"
$arwrapper
"
RANLIB
=
:
export
CC CXX LD AR RANLIB
AC_SUBST
(
AR
)
AC_SUBST
(
RANLIB
)
])
if
test
"x
${
CFLAGS
-
}
"
=
x
;
then
if
test
"x
${
CFLAGS
-
}
"
=
x
;
then
cflags_is_set
=
no
cflags_is_set
=
no
...
@@ -144,6 +161,8 @@ else
...
@@ -144,6 +161,8 @@ else
ldflags_is_set
=
yes
ldflags_is_set
=
yes
fi
fi
################ End of section to be done before AC_PROG_CC #################
# The following hack should ensure that configure doesn't add optimizing
# The following hack should ensure that configure doesn't add optimizing
# or debugging flags to CFLAGS or CXXFLAGS
# or debugging flags to CFLAGS or CXXFLAGS
# C_EXTRA_FLAGS are flags that are automaticly added to both
# C_EXTRA_FLAGS are flags that are automaticly added to both
...
...
include/my_sys.h
View file @
8cf0957d
...
@@ -179,6 +179,10 @@ extern void my_large_free(gptr ptr, myf my_flags);
...
@@ -179,6 +179,10 @@ extern void my_large_free(gptr ptr, myf my_flags);
#if defined(_AIX) && !defined(__GNUC__) && !defined(_AIX43)
#if defined(_AIX) && !defined(__GNUC__) && !defined(_AIX43)
#pragma alloca
#pragma alloca
#endif
/* _AIX */
#endif
/* _AIX */
#if defined(__MWERKS__)
#undef alloca
#define alloca __alloca
#endif
/* __MWERKS__ */
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)
#define alloca __builtin_alloca
#define alloca __builtin_alloca
#endif
/* GNUC */
#endif
/* GNUC */
...
...
mysql-test/r/ndb_restore.result
View file @
8cf0957d
...
@@ -247,3 +247,4 @@ count(*)
...
@@ -247,3 +247,4 @@ count(*)
3
3
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1_c,t2_c,t3_c,t4_c,t5_c,t6_c,t7_c,t8_c,t9_c;
drop table if exists t1_c,t2_c,t3_c,t4_c,t5_c,t6_c,t7_c,t8_c,t9_c;
520093696,1
mysql-test/t/ndb_restore.test
View file @
8cf0957d
...
@@ -209,3 +209,9 @@ select count(*)
...
@@ -209,3 +209,9 @@ select count(*)
drop
table
if
exists
t1
,
t2
,
t3
,
t4
,
t5
,
t6
,
t7
,
t8
,
t9
;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
,
t5
,
t6
,
t7
,
t8
,
t9
;
drop
table
if
exists
t1_c
,
t2_c
,
t3_c
,
t4_c
,
t5_c
,
t6_c
,
t7_c
,
t8_c
,
t9_c
;
drop
table
if
exists
t1_c
,
t2_c
,
t3_c
,
t4_c
,
t5_c
,
t6_c
,
t7_c
,
t8_c
,
t9_c
;
--
enable_warnings
--
enable_warnings
#
# Test BUG#10287
#
--
exec
$NDB_TOOLS_DIR
/
ndb_select_all
-
d
sys
-
D
,
SYSTAB_0
|
grep
520093696
ndb/test/src/NDBT_ResultRow.cpp
View file @
8cf0957d
...
@@ -116,8 +116,12 @@ BaseString NDBT_ResultRow::c_str() const {
...
@@ -116,8 +116,12 @@ BaseString NDBT_ResultRow::c_str() const {
NdbOut
&
NdbOut
&
operator
<<
(
NdbOut
&
ndbout
,
const
NDBT_ResultRow
&
res
)
{
operator
<<
(
NdbOut
&
ndbout
,
const
NDBT_ResultRow
&
res
)
{
for
(
int
i
=
0
;
i
<
res
.
cols
;
i
++
)
if
(
res
.
cols
!=
0
)
ndbout
<<
*
(
res
.
data
[
i
])
<<
"
\t
"
;
{
ndbout
<<
*
(
res
.
data
[
0
]);
for
(
int
i
=
1
;
i
<
res
.
cols
;
i
++
)
ndbout
<<
res
.
ad
<<
*
(
res
.
data
[
i
]);
}
return
ndbout
;
return
ndbout
;
}
}
...
...
sql/ha_innodb.cc
View file @
8cf0957d
...
@@ -6429,15 +6429,15 @@ ha_innobase::store_lock(
...
@@ -6429,15 +6429,15 @@ ha_innobase::store_lock(
(
lock_type
==
TL_READ
||
lock_type
==
TL_READ_NO_INSERT
)
&&
(
lock_type
==
TL_READ
||
lock_type
==
TL_READ_NO_INSERT
)
&&
thd
->
lex
->
sql_command
!=
SQLCOM_SELECT
&&
thd
->
lex
->
sql_command
!=
SQLCOM_SELECT
&&
thd
->
lex
->
sql_command
!=
SQLCOM_UPDATE_MULTI
&&
thd
->
lex
->
sql_command
!=
SQLCOM_UPDATE_MULTI
&&
thd
->
lex
->
sql_command
!=
SQLCOM_DELETE_MULTI
)
{
thd
->
lex
->
sql_command
!=
SQLCOM_DELETE_MULTI
&&
thd
->
lex
->
sql_command
!=
SQLCOM_LOCK_TABLES
)
{
/* In case we have innobase_locks_unsafe_for_binlog
/* In case we have innobase_locks_unsafe_for_binlog
option set and isolation level of the transaction
option set and isolation level of the transaction
is not set to serializable and MySQL is doing
is not set to serializable and MySQL is doing
INSERT INTO...SELECT without FOR UPDATE or IN
INSERT INTO...SELECT or UPDATE ... = (SELECT ...)
SHARE MODE we use consistent read for select.
without FOR UPDATE or IN SHARE MODE in select, then
Similarly, in case of DELETE...SELECT and
we use consistent read for select. */
UPDATE...SELECT when these are not multi table.*/
prebuilt
->
select_lock_type
=
LOCK_NONE
;
prebuilt
->
select_lock_type
=
LOCK_NONE
;
prebuilt
->
stored_select_lock_type
=
LOCK_NONE
;
prebuilt
->
stored_select_lock_type
=
LOCK_NONE
;
...
...
sql/sql_bitmap.h
View file @
8cf0957d
...
@@ -91,7 +91,7 @@ template <> class Bitmap<64>
...
@@ -91,7 +91,7 @@ template <> class Bitmap<64>
ulonglong
map
;
ulonglong
map
;
public:
public:
Bitmap
<
64
>
()
{
}
Bitmap
<
64
>
()
{
}
#if defined(__NETWARE__)
#if defined(__NETWARE__)
|| defined(__MWERKS__)
/*
/*
Metwork compiler gives error on Bitmap<64>
Metwork compiler gives error on Bitmap<64>
Changed to Bitmap, since in this case also it will proper construct
Changed to Bitmap, since in this case also it will proper construct
...
...
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