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
a6df7002
Commit
a6df7002
authored
Jun 03, 2005
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
parents
6720cb7d
c661f473
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
23 additions
and
13 deletions
+23
-13
config/ac-macros/yassl.m4
config/ac-macros/yassl.m4
+2
-2
extra/yassl/taocrypt/src/integer.cpp
extra/yassl/taocrypt/src/integer.cpp
+2
-0
extra/yassl/taocrypt/src/template_instnt.cpp
extra/yassl/taocrypt/src/template_instnt.cpp
+10
-4
ndb/src/mgmclient/CommandInterpreter.cpp
ndb/src/mgmclient/CommandInterpreter.cpp
+2
-1
sql/item.cc
sql/item.cc
+1
-1
sql/item_subselect.cc
sql/item_subselect.cc
+1
-1
sql/sql_class.h
sql/sql_class.h
+2
-1
sql/sql_parse.cc
sql/sql_parse.cc
+2
-2
sql/sql_union.cc
sql/sql_union.cc
+1
-1
No files found.
config/ac-macros/yassl.m4
View file @
a6df7002
...
...
@@ -19,8 +19,8 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
AC_MSG_RESULT([using bundled yaSSL])
yassl_dir="extra/yassl"
openssl_libs="\
\$(top_builddir)/extra/yassl/src/libyassl.a
\
\$(top_builddir)/extra/yassl/taocrypt/src/libtaocrypt.a
"
-L\$(top_builddir)/extra/yassl/src -lyassl
\
-L\$(top_builddir)/extra/yassl/taocrypt/src -ltaocrypt
"
openssl_includes="-I\$(top_srcdir)/extra/yassl/include"
AC_DEFINE([HAVE_OPENSSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
else
...
...
extra/yassl/taocrypt/src/integer.cpp
View file @
a6df7002
...
...
@@ -3941,6 +3941,8 @@ Integer CRT(const Integer &xp, const Integer &p, const Integer &xq,
#ifdef __GNUC__
template
unsigned
int
DivideThreeWordsByTwo
<
unsigned
int
,
DWord
>(
unsigned
int
*
,
unsigned
int
,
unsigned
int
,
DWord
*
);
template
unsigned
int
DivideThreeWordsByTwo
<
unsigned
int
,
Word
>(
unsigned
int
*
,
unsigned
int
,
unsigned
int
,
Word
*
);
template
unsigned
long
long
DivideThreeWordsByTwo
<
unsigned
long
long
,
DWord
>(
unsigned
long
long
*
,
unsigned
long
long
,
unsigned
long
long
,
DWord
*
);
#endif
}
// namespace
...
...
extra/yassl/taocrypt/src/template_instnt.cpp
View file @
a6df7002
...
...
@@ -11,6 +11,7 @@ template AlignedAllocator<unsigned int>::pointer StdReallocate<unsigned int, Ali
#endif
template
AllocatorWithCleanup
<
unsigned
char
>
::
pointer
StdReallocate
<
unsigned
char
,
AllocatorWithCleanup
<
unsigned
char
>
>
(
AllocatorWithCleanup
<
unsigned
char
>&
,
unsigned
char
*
,
AllocatorWithCleanup
<
unsigned
char
>::
size_type
,
AllocatorWithCleanup
<
unsigned
char
>::
size_type
,
bool
);
template
AllocatorWithCleanup
<
unsigned
int
>
::
pointer
StdReallocate
<
unsigned
int
,
AllocatorWithCleanup
<
unsigned
int
>
>
(
AllocatorWithCleanup
<
unsigned
int
>&
,
unsigned
int
*
,
AllocatorWithCleanup
<
unsigned
int
>::
size_type
,
AllocatorWithCleanup
<
unsigned
int
>::
size_type
,
bool
);
template
AllocatorWithCleanup
<
unsigned
long
long
>
::
pointer
StdReallocate
<
unsigned
long
long
,
AllocatorWithCleanup
<
unsigned
long
long
>
>
(
AllocatorWithCleanup
<
unsigned
long
long
>&
,
unsigned
long
long
*
,
AllocatorWithCleanup
<
unsigned
long
long
>::
size_type
,
AllocatorWithCleanup
<
unsigned
long
long
>::
size_type
,
bool
);
template
class
RSA_Decryptor
<
RSA_BlockType2
>;
template
class
RSA_Encryptor
<
RSA_BlockType1
>;
template
class
RSA_Encryptor
<
RSA_BlockType2
>;
...
...
@@ -18,14 +19,19 @@ template class RSA_Encryptor<RSA_BlockType2>;
namespace
mySTL
{
template
vector
<
TaoCrypt
::
Integer
>
*
uninit_fill_n
<
vector
<
TaoCrypt
::
Integer
>*
,
unsigned
int
,
vector
<
TaoCrypt
::
Integer
>
>
(
vector
<
TaoCrypt
::
Integer
>*
,
unsigned
int
,
vector
<
TaoCrypt
::
Integer
>
const
&
);
template
vector
<
TaoCrypt
::
Integer
>
*
uninit_fill_n
<
vector
<
TaoCrypt
::
Integer
>*
,
unsigned
long
,
vector
<
TaoCrypt
::
Integer
>
>
(
vector
<
TaoCrypt
::
Integer
>*
,
unsigned
long
,
vector
<
TaoCrypt
::
Integer
>
const
&
);
template
void
destroy
<
vector
<
TaoCrypt
::
Integer
>
*>
(
vector
<
TaoCrypt
::
Integer
>*
,
vector
<
TaoCrypt
::
Integer
>*
);
template
TaoCrypt
::
Integer
*
uninit_copy
<
TaoCrypt
::
Integer
*
,
TaoCrypt
::
Integer
*
>(
TaoCrypt
::
Integer
*
,
TaoCrypt
::
Integer
*
,
TaoCrypt
::
Integer
*
);
template
TaoCrypt
::
Integer
*
uninit_fill_n
<
TaoCrypt
::
Integer
*
,
unsigned
int
,
TaoCrypt
::
Integer
>(
TaoCrypt
::
Integer
*
,
unsigned
int
,
TaoCrypt
::
Integer
const
&
);
template
TaoCrypt
::
Integer
*
uninit_fill_n
<
TaoCrypt
::
Integer
*
,
unsigned
long
,
TaoCrypt
::
Integer
>(
TaoCrypt
::
Integer
*
,
unsigned
long
,
TaoCrypt
::
Integer
const
&
);
template
void
destroy
<
TaoCrypt
::
Integer
*
>(
TaoCrypt
::
Integer
*
,
TaoCrypt
::
Integer
*
);
}
template
void
TaoCrypt
::
tcDelete
<
TaoCrypt
::
HASH
>(
TaoCrypt
::
HASH
*
);
template
void
TaoCrypt
::
tcArrayDelete
<
unsigned
>(
unsigned
*
);
template
void
TaoCrypt
::
tcArrayDelete
<
unsigned
char
>(
unsigned
char
*
);
template
void
TaoCrypt
::
tcArrayDelete
<
char
>(
char
*
);
namespace
TaoCrypt
{
template
void
tcDelete
<
HASH
>(
HASH
*
);
template
void
tcArrayDelete
<
unsigned
>(
unsigned
*
);
template
void
tcArrayDelete
<
unsigned
long
long
>(
unsigned
long
long
*
);
template
void
tcArrayDelete
<
unsigned
char
>(
unsigned
char
*
);
template
void
tcArrayDelete
<
char
>(
char
*
);
}
#endif
ndb/src/mgmclient/CommandInterpreter.cpp
View file @
a6df7002
...
...
@@ -1190,7 +1190,8 @@ CommandInterpreter::executeShow(char* parameters)
api_nodes
++
;
break
;
case
NDB_MGM_NODE_TYPE_NDB
:
if
(
state
->
node_states
[
i
].
dynamic_id
<
master_id
)
if
(
state
->
node_states
[
i
].
dynamic_id
&&
state
->
node_states
[
i
].
dynamic_id
<
master_id
)
master_id
=
state
->
node_states
[
i
].
dynamic_id
;
ndb_nodes
++
;
break
;
...
...
sql/item.cc
View file @
a6df7002
...
...
@@ -1027,7 +1027,7 @@ Item_field::Item_field(THD *thd, Field *f)
structure can go away and pop up again between subsequent executions
of a prepared statement).
*/
if
(
thd
->
current_arena
->
is_stmt_prepare
())
if
(
thd
->
current_arena
->
is_stmt_prepare
_or_first_sp_execute
())
{
if
(
db_name
)
orig_db_name
=
thd
->
strdup
(
db_name
);
...
...
sql/item_subselect.cc
View file @
a6df7002
...
...
@@ -362,7 +362,7 @@ Item_singlerow_subselect::select_transformer(JOIN *join)
because we do not rollback this changes
TODO: make rollback for it, or special name resolving mode in 5.0.
*/
!
arena
->
is_stmt_prepare
()
!
arena
->
is_stmt_prepare
_or_first_sp_execute
()
)
{
...
...
sql/sql_class.h
View file @
a6df7002
...
...
@@ -695,7 +695,8 @@ public:
virtual
Type
type
()
const
;
virtual
~
Item_arena
()
{};
inline
bool
is_stmt_prepare
()
const
{
return
(
int
)
state
<
(
int
)
PREPARED
;
}
inline
bool
is_stmt_prepare_or_first_sp_execute
()
const
{
return
(
int
)
state
<
(
int
)
PREPARED
;
}
inline
bool
is_first_stmt_execute
()
const
{
return
state
==
PREPARED
;
}
inline
bool
is_stmt_execute
()
const
{
return
state
==
PREPARED
||
state
==
EXECUTED
;
}
...
...
sql/sql_parse.cc
View file @
a6df7002
...
...
@@ -5894,7 +5894,7 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
ptr
->
db
=
empty_c_string
;
ptr
->
db_length
=
0
;
}
if
(
thd
->
current_arena
->
is_stmt_prepare
())
if
(
thd
->
current_arena
->
is_stmt_prepare
_or_first_sp_execute
())
ptr
->
db
=
thd
->
strdup
(
ptr
->
db
);
ptr
->
alias
=
alias_str
;
...
...
@@ -6972,7 +6972,7 @@ bool create_table_precheck(THD *thd, TABLE_LIST *tables,
against the opened tables to ensure we don't use a table that is part
of the view (which can only be done after the table has been opened).
*/
if
(
thd
->
current_arena
->
is_stmt_prepare
())
if
(
thd
->
current_arena
->
is_stmt_prepare
_or_first_sp_execute
())
{
/*
For temporary tables we don't have to check if the created table exists
...
...
sql/sql_union.cc
View file @
a6df7002
...
...
@@ -323,7 +323,7 @@ bool st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
}
if
(
tmp_arena
)
thd
->
restore_backup_item_arena
(
tmp_arena
,
&
backup
);
if
(
arena
->
is_stmt_prepare
())
if
(
arena
->
is_stmt_prepare
_or_first_sp_execute
())
{
/* prepare fake select to initialize it correctly */
init_prepare_fake_select_lex
(
thd
);
...
...
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