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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
eede4140
Commit
eede4140
authored
Aug 09, 2012
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge from mysql-5.1 to working copy.
parents
bb849479
f58a6967
Changes
2
Hide 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 @
eede4140
...
...
@@ -756,12 +756,6 @@ void THD::clear_data_list()
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
,
CHARSET_INFO
*
fromcs
,
CHARSET_INFO
*
tocs
)
{
...
...
sql/sql_class.h
View file @
eede4140
...
...
@@ -2089,7 +2089,6 @@ class THD :public Statement,
void
add_changed_table
(
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
);
#ifndef EMBEDDED_LIBRARY
/**
Clear the current error, if any.
We do not clear is_fatal_error or is_fatal_sub_stmt_error since we
...
...
@@ -2105,9 +2104,9 @@ class THD :public Statement,
is_slave_error
=
0
;
DBUG_VOID_RETURN
;
}
#ifndef EMBEDDED_LIBRARY
inline
bool
vio_ok
()
const
{
return
net
.
vio
!=
0
;
}
#else
void
clear_error
();
inline
bool
vio_ok
()
const
{
return
true
;
}
#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