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
a7ee4f33
Commit
a7ee4f33
authored
Nov 12, 2004
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various build fixes.
parent
b95560a8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
sql/mysql_priv.h
sql/mysql_priv.h
+2
-2
sql/net_serv.cc
sql/net_serv.cc
+1
-1
sql/sql_base.cc
sql/sql_base.cc
+2
-1
sql/sql_show.cc
sql/sql_show.cc
+1
-1
No files found.
sql/mysql_priv.h
View file @
a7ee4f33
...
@@ -566,8 +566,8 @@ int mysql_explain_select(THD *thd, SELECT_LEX *sl, char const *type,
...
@@ -566,8 +566,8 @@ int mysql_explain_select(THD *thd, SELECT_LEX *sl, char const *type,
int
mysql_union
(
THD
*
thd
,
LEX
*
lex
,
select_result
*
result
,
int
mysql_union
(
THD
*
thd
,
LEX
*
lex
,
select_result
*
result
,
SELECT_LEX_UNIT
*
unit
);
SELECT_LEX_UNIT
*
unit
);
int
mysql_handle_derived
(
LEX
*
lex
,
int
(
*
processor
)(
THD
*
thd
,
int
mysql_handle_derived
(
LEX
*
lex
,
int
(
*
processor
)(
THD
*
thd
,
st_lex
*
lex
,
LEX
*
lex
,
st_table_list
*
table
));
TABLE_LIST
*
table
));
int
mysql_derived_prepare
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
t
);
int
mysql_derived_prepare
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
t
);
int
mysql_derived_filling
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
t
);
int
mysql_derived_filling
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
t
);
Field
*
create_tmp_field
(
THD
*
thd
,
TABLE
*
table
,
Item
*
item
,
Item
::
Type
type
,
Field
*
create_tmp_field
(
THD
*
thd
,
TABLE
*
table
,
Item
*
item
,
Item
::
Type
type
,
...
...
sql/net_serv.cc
View file @
a7ee4f33
...
@@ -96,7 +96,7 @@ extern void query_cache_insert(NET *net, const char *packet, ulong length);
...
@@ -96,7 +96,7 @@ extern void query_cache_insert(NET *net, const char *packet, ulong length);
#define update_statistics(A) A
#define update_statistics(A) A
#else
#else
#define update_statistics(A)
#define update_statistics(A)
#define thd_increment_bytes_sent()
#define thd_increment_bytes_sent(
N
)
#endif
#endif
#define TEST_BLOCKING 8
#define TEST_BLOCKING 8
...
...
sql/sql_base.cc
View file @
a7ee4f33
...
@@ -3056,6 +3056,7 @@ int setup_conds(THD *thd,TABLE_LIST *tables,COND **conds)
...
@@ -3056,6 +3056,7 @@ int setup_conds(THD *thd,TABLE_LIST *tables,COND **conds)
SELECT_LEX
*
select_lex
=
thd
->
lex
->
current_select
;
SELECT_LEX
*
select_lex
=
thd
->
lex
->
current_select
;
Item_arena
*
arena
=
thd
->
current_arena
,
backup
;
Item_arena
*
arena
=
thd
->
current_arena
,
backup
;
bool
save_wrapper
=
thd
->
lex
->
current_select
->
no_wrap_view_item
;
bool
save_wrapper
=
thd
->
lex
->
current_select
->
no_wrap_view_item
;
TABLE_LIST
*
table
=
NULL
;
// For HP compilers
DBUG_ENTER
(
"setup_conds"
);
DBUG_ENTER
(
"setup_conds"
);
if
(
select_lex
->
conds_processed_with_permanent_arena
||
if
(
select_lex
->
conds_processed_with_permanent_arena
||
...
@@ -3075,7 +3076,7 @@ int setup_conds(THD *thd,TABLE_LIST *tables,COND **conds)
...
@@ -3075,7 +3076,7 @@ int setup_conds(THD *thd,TABLE_LIST *tables,COND **conds)
}
}
/* Check if we are using outer joins */
/* Check if we are using outer joins */
for
(
TABLE_LIST
*
table
=
tables
;
table
;
table
=
table
->
next_local
)
for
(
table
=
tables
;
table
;
table
=
table
->
next_local
)
{
{
TABLE_LIST
*
embedded
;
TABLE_LIST
*
embedded
;
TABLE_LIST
*
embedding
=
table
;
TABLE_LIST
*
embedding
=
table
;
...
...
sql/sql_show.cc
View file @
a7ee4f33
...
@@ -1965,7 +1965,7 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables,
...
@@ -1965,7 +1965,7 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables,
switch
(
show_type
)
{
switch
(
show_type
)
{
case
SHOW_LONG_STATUS
:
case
SHOW_LONG_STATUS
:
case
SHOW_LONG_CONST_STATUS
:
case
SHOW_LONG_CONST_STATUS
:
value
=
((
char
*
)
status_var
+
(
u
int
)
value
);
value
=
((
char
*
)
status_var
+
(
u
long
)
value
);
/* fall through */
/* fall through */
case
SHOW_LONG
:
case
SHOW_LONG
:
case
SHOW_LONG_CONST
:
case
SHOW_LONG_CONST
:
...
...
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