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
628848df
Commit
628848df
authored
May 19, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
parents
6757a04e
6cca51f0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
11 deletions
+6
-11
include/my_dbug.h
include/my_dbug.h
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+0
-4
sql/sp.cc
sql/sp.cc
+4
-5
sql/sql_lex.cc
sql/sql_lex.cc
+1
-1
No files found.
include/my_dbug.h
View file @
628848df
...
@@ -39,7 +39,7 @@ extern void _db_pargs_(uint _line_,const char *keyword);
...
@@ -39,7 +39,7 @@ extern void _db_pargs_(uint _line_,const char *keyword);
extern
void
_db_doprnt_
_VARARGS
((
const
char
*
format
,...));
extern
void
_db_doprnt_
_VARARGS
((
const
char
*
format
,...));
extern
void
_db_dump_
(
uint
_line_
,
const
char
*
keyword
,
const
char
*
memory
,
extern
void
_db_dump_
(
uint
_line_
,
const
char
*
keyword
,
const
char
*
memory
,
uint
length
);
uint
length
);
extern
void
_db_output_
(
uint
);
extern
void
_db_output_
(
uint
flag
);
extern
void
_db_lock_file
(
void
);
extern
void
_db_lock_file
(
void
);
extern
void
_db_unlock_file
(
void
);
extern
void
_db_unlock_file
(
void
);
...
...
sql/mysqld.cc
View file @
628848df
...
@@ -39,11 +39,7 @@
...
@@ -39,11 +39,7 @@
#else
#else
#define OPT_INNODB_DEFAULT 0
#define OPT_INNODB_DEFAULT 0
#endif
#endif
#ifdef HAVE_BERKLEY_DB
#define OPT_BDB_DEFAULT 1
#else
#define OPT_BDB_DEFAULT 0
#define OPT_BDB_DEFAULT 0
#endif
#ifdef HAVE_NDBCLUSTER_DB
#ifdef HAVE_NDBCLUSTER_DB
#define OPT_NDBCLUSTER_DEFAULT 0
#define OPT_NDBCLUSTER_DEFAULT 0
#if defined(NOT_ENOUGH_TESTED) \
#if defined(NOT_ENOUGH_TESTED) \
...
...
sql/sp.cc
View file @
628848df
...
@@ -72,6 +72,9 @@ db_find_routine_aux(THD *thd, int type, sp_name *name,
...
@@ -72,6 +72,9 @@ db_find_routine_aux(THD *thd, int type, sp_name *name,
DBUG_PRINT
(
"enter"
,
(
"type: %d name: %*s"
,
DBUG_PRINT
(
"enter"
,
(
"type: %d name: %*s"
,
type
,
name
->
m_name
.
length
,
name
->
m_name
.
str
));
type
,
name
->
m_name
.
length
,
name
->
m_name
.
str
));
*
opened
=
FALSE
;
*
tablep
=
0
;
/*
/*
Speed up things if mysql.proc doesn't exists. mysql_proc_table_exists
Speed up things if mysql.proc doesn't exists. mysql_proc_table_exists
is set when we create or read stored procedure or on flush privileges.
is set when we create or read stored procedure or on flush privileges.
...
@@ -88,9 +91,7 @@ db_find_routine_aux(THD *thd, int type, sp_name *name,
...
@@ -88,9 +91,7 @@ db_find_routine_aux(THD *thd, int type, sp_name *name,
strcmp
(
table
->
s
->
table_name
,
"proc"
)
==
0
)
strcmp
(
table
->
s
->
table_name
,
"proc"
)
==
0
)
break
;
break
;
}
}
if
(
table
)
if
(
!
table
)
*
opened
=
FALSE
;
else
{
{
TABLE_LIST
tables
;
TABLE_LIST
tables
;
...
@@ -99,7 +100,6 @@ db_find_routine_aux(THD *thd, int type, sp_name *name,
...
@@ -99,7 +100,6 @@ db_find_routine_aux(THD *thd, int type, sp_name *name,
tables
.
table_name
=
tables
.
alias
=
(
char
*
)
"proc"
;
tables
.
table_name
=
tables
.
alias
=
(
char
*
)
"proc"
;
if
(
!
(
table
=
open_ltable
(
thd
,
&
tables
,
ltype
)))
if
(
!
(
table
=
open_ltable
(
thd
,
&
tables
,
ltype
)))
{
{
*
tablep
=
NULL
;
/*
/*
Under explicit LOCK TABLES or in prelocked mode we should not
Under explicit LOCK TABLES or in prelocked mode we should not
say that mysql.proc table does not exist if we are unable to
say that mysql.proc table does not exist if we are unable to
...
@@ -131,7 +131,6 @@ db_find_routine_aux(THD *thd, int type, sp_name *name,
...
@@ -131,7 +131,6 @@ db_find_routine_aux(THD *thd, int type, sp_name *name,
key
,
table
->
key_info
->
key_length
,
key
,
table
->
key_info
->
key_length
,
HA_READ_KEY_EXACT
))
HA_READ_KEY_EXACT
))
{
{
*
tablep
=
NULL
;
DBUG_RETURN
(
SP_KEY_NOT_FOUND
);
DBUG_RETURN
(
SP_KEY_NOT_FOUND
);
}
}
*
tablep
=
table
;
*
tablep
=
table
;
...
...
sql/sql_lex.cc
View file @
628848df
...
@@ -1101,7 +1101,7 @@ void st_select_lex::init_query()
...
@@ -1101,7 +1101,7 @@ void st_select_lex::init_query()
embedding
=
leaf_tables
=
0
;
embedding
=
leaf_tables
=
0
;
item_list
.
empty
();
item_list
.
empty
();
join
=
0
;
join
=
0
;
where
=
prep_where
=
0
;
having
=
where
=
prep_where
=
0
;
olap
=
UNSPECIFIED_OLAP_TYPE
;
olap
=
UNSPECIFIED_OLAP_TYPE
;
having_fix_field
=
0
;
having_fix_field
=
0
;
resolve_mode
=
NOMATTER_MODE
;
resolve_mode
=
NOMATTER_MODE
;
...
...
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