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
f0355a67
Commit
f0355a67
authored
Nov 16, 2004
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b6449
parents
dde88ea8
8ee2a183
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+8
-1
No files found.
sql/ha_ndbcluster.cc
View file @
f0355a67
...
@@ -144,10 +144,17 @@ static int ndb_to_mysql_error(const NdbError *err)
...
@@ -144,10 +144,17 @@ static int ndb_to_mysql_error(const NdbError *err)
// Push the NDB error message as warning
// Push the NDB error message as warning
push_warning_printf
(
current_thd
,
MYSQL_ERROR
::
WARN_LEVEL_ERROR
,
push_warning_printf
(
current_thd
,
MYSQL_ERROR
::
WARN_LEVEL_ERROR
,
ER_GET_ERRMSG
,
ER
(
ER_GET_ERRMSG
),
ER_GET_ERRMSG
,
ER
(
ER_GET_ERRMSG
),
err
->
code
,
err
->
message
,
"NDB"
);
err
->
code
,
err
->
message
,
"NDB"
);
return
err
->
code
;
return
err
->
code
;
}
}
}
}
// Push the NDB error message as warning
// this since e.g. HA_ERR_RECORD_FILE_FULL maps to
// several error codes in NDB, and the uses needs
// to know which one it is
push_warning_printf
(
current_thd
,
MYSQL_ERROR
::
WARN_LEVEL_ERROR
,
ER_GET_ERRMSG
,
ER
(
ER_GET_ERRMSG
),
err
->
code
,
err
->
message
,
"NDB"
);
return
err_map
[
i
].
my_err
;
return
err_map
[
i
].
my_err
;
}
}
...
...
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