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
0731ba81
Commit
0731ba81
authored
Jul 12, 2012
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
Merge unpushed changes from 5.1.64-release
parents
bb35915d
3de8d224
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+0
-6
sql/sql_class.h
sql/sql_class.h
+1
-2
No files found.
libmysqld/lib_sql.cc
View file @
0731ba81
...
@@ -756,12 +756,6 @@ void THD::clear_data_list()
...
@@ -756,12 +756,6 @@ void THD::clear_data_list()
cur_data
=
0
;
cur_data
=
0
;
}
}
void
THD
::
clear_error
()
{
if
(
main_da
.
is_error
())
main_da
.
reset_diagnostics_area
();
}
static
char
*
dup_str_aux
(
MEM_ROOT
*
root
,
const
char
*
from
,
uint
length
,
static
char
*
dup_str_aux
(
MEM_ROOT
*
root
,
const
char
*
from
,
uint
length
,
CHARSET_INFO
*
fromcs
,
CHARSET_INFO
*
tocs
)
CHARSET_INFO
*
fromcs
,
CHARSET_INFO
*
tocs
)
{
{
...
...
sql/sql_class.h
View file @
0731ba81
...
@@ -2089,7 +2089,6 @@ public:
...
@@ -2089,7 +2089,6 @@ public:
void
add_changed_table
(
const
char
*
key
,
long
key_length
);
void
add_changed_table
(
const
char
*
key
,
long
key_length
);
CHANGED_TABLE_LIST
*
changed_table_dup
(
const
char
*
key
,
long
key_length
);
CHANGED_TABLE_LIST
*
changed_table_dup
(
const
char
*
key
,
long
key_length
);
int
send_explain_fields
(
select_result
*
result
);
int
send_explain_fields
(
select_result
*
result
);
#ifndef EMBEDDED_LIBRARY
/**
/**
Clear the current error, if any.
Clear the current error, if any.
We do not clear is_fatal_error or is_fatal_sub_stmt_error since we
We do not clear is_fatal_error or is_fatal_sub_stmt_error since we
...
@@ -2105,9 +2104,9 @@ public:
...
@@ -2105,9 +2104,9 @@ public:
is_slave_error
=
0
;
is_slave_error
=
0
;
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
#ifndef EMBEDDED_LIBRARY
inline
bool
vio_ok
()
const
{
return
net
.
vio
!=
0
;
}
inline
bool
vio_ok
()
const
{
return
net
.
vio
!=
0
;
}
#else
#else
void
clear_error
();
inline
bool
vio_ok
()
const
{
return
true
;
}
inline
bool
vio_ok
()
const
{
return
true
;
}
#endif
#endif
/**
/**
...
...
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