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
6ddb3d5d
Commit
6ddb3d5d
authored
Jan 19, 2010
by
Kent Boortz
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
d8d4369a
83bb5da5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
client/mysqltest.cc
client/mysqltest.cc
+1
-1
configure.cmake
configure.cmake
+5
-5
mysys/my_handler.c
mysys/my_handler.c
+5
-1
No files found.
client/mysqltest.cc
View file @
6ddb3d5d
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
#define QUERY_REAP_FLAG 2
#define QUERY_REAP_FLAG 2
#ifndef HAVE_SETENV
#ifndef HAVE_SETENV
static
int
setenv
(
const
char
*
name
,
const
char
*
value
,
int
overwrite
)
static
int
setenv
(
const
char
*
name
,
const
char
*
value
,
int
overwrite
)
;
#endif
#endif
enum
{
enum
{
...
...
configure.cmake
View file @
6ddb3d5d
mysys/my_handler.c
View file @
6ddb3d5d
...
@@ -576,6 +576,10 @@ HA_KEYSEG *ha_find_null(HA_KEYSEG *keyseg, uchar *a)
...
@@ -576,6 +576,10 @@ HA_KEYSEG *ha_find_null(HA_KEYSEG *keyseg, uchar *a)
will ignore calls to register already registered error numbers.
will ignore calls to register already registered error numbers.
*/
*/
static
const
char
**
get_handler_error_messages
()
{
return
handler_error_messages
;
}
void
my_handler_error_register
(
void
)
void
my_handler_error_register
(
void
)
{
{
...
@@ -587,7 +591,7 @@ void my_handler_error_register(void)
...
@@ -587,7 +591,7 @@ void my_handler_error_register(void)
*/
*/
compile_time_assert
(
HA_ERR_FIRST
+
array_elements
(
handler_error_messages
)
==
compile_time_assert
(
HA_ERR_FIRST
+
array_elements
(
handler_error_messages
)
==
HA_ERR_LAST
+
1
);
HA_ERR_LAST
+
1
);
my_error_register
(
handler_error_messages
,
HA_ERR_FIRST
,
my_error_register
(
get_
handler_error_messages
,
HA_ERR_FIRST
,
HA_ERR_FIRST
+
array_elements
(
handler_error_messages
)
-
1
);
HA_ERR_FIRST
+
array_elements
(
handler_error_messages
)
-
1
);
}
}
...
...
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