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
1744b540
Commit
1744b540
authored
Oct 05, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed failing test cases
parent
fce55f80
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
9 deletions
+28
-9
include/mysql/client_plugin.h.pp
include/mysql/client_plugin.h.pp
+5
-4
include/mysql/plugin_auth.h.pp
include/mysql/plugin_auth.h.pp
+23
-4
mysql-test/r/mysqld--help-win.result
mysql-test/r/mysqld--help-win.result
+0
-1
No files found.
include/mysql/client_plugin.h.pp
View file @
1744b540
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <stdlib.h>
struct
st_mysql_client_plugin
struct
st_mysql_client_plugin
{
{
int
type
;
unsigned
int
interface_version
;
const
char
*
name
;
const
char
*
author
;
const
char
*
desc
;
unsigned
int
version
[
3
];
int
(
*
init
)(
char
*
,
size_t
,
int
,
va_list
);
int
(
*
deinit
)(
);
int
type
;
unsigned
int
interface_version
;
const
char
*
name
;
const
char
*
author
;
const
char
*
desc
;
unsigned
int
version
[
3
];
const
char
*
license
;
void
*
mysql_api
;
int
(
*
init
)(
char
*
,
size_t
,
int
,
va_list
);
int
(
*
deinit
)();
int
(
*
options
)(
const
char
*
option
,
const
void
*
);
};
};
struct
st_mysql
;
struct
st_mysql
;
#include <mysql/plugin_auth_common.h>
#include <mysql/plugin_auth_common.h>
...
@@ -23,11 +23,9 @@ typedef struct st_plugin_vio
...
@@ -23,11 +23,9 @@ typedef struct st_plugin_vio
}
MYSQL_PLUGIN_VIO
;
}
MYSQL_PLUGIN_VIO
;
struct
st_mysql_client_plugin_AUTHENTICATION
struct
st_mysql_client_plugin_AUTHENTICATION
{
{
int
type
;
unsigned
int
interface_version
;
const
char
*
name
;
const
char
*
author
;
const
char
*
desc
;
unsigned
int
version
[
3
];
int
(
*
init
)(
char
*
,
size_t
,
int
,
va_list
);
int
(
*
deinit
)(
);
int
type
;
unsigned
int
interface_version
;
const
char
*
name
;
const
char
*
author
;
const
char
*
desc
;
unsigned
int
version
[
3
];
const
char
*
license
;
void
*
mysql_api
;
int
(
*
init
)(
char
*
,
size_t
,
int
,
va_list
);
int
(
*
deinit
)();
int
(
*
options
)(
const
char
*
option
,
const
void
*
);
int
(
*
authenticate_user
)(
MYSQL_PLUGIN_VIO
*
vio
,
struct
st_mysql
*
mysql
);
int
(
*
authenticate_user
)(
MYSQL_PLUGIN_VIO
*
vio
,
struct
st_mysql
*
mysql
);
};
};
typedef
char
*
(
*
mysql_authentication_dialog_ask_t
)(
struct
st_mysql
*
mysql
,
int
type
,
const
char
*
prompt
,
char
*
buf
,
int
buf_len
);
struct
st_mysql_client_plugin
*
struct
st_mysql_client_plugin
*
mysql_load_plugin
(
struct
st_mysql
*
mysql
,
const
char
*
name
,
int
type
,
mysql_load_plugin
(
struct
st_mysql
*
mysql
,
const
char
*
name
,
int
type
,
int
argc
,
...
);
int
argc
,
...
);
...
@@ -39,3 +37,6 @@ mysql_client_find_plugin(struct st_mysql *mysql, const char *name, int type);
...
@@ -39,3 +37,6 @@ mysql_client_find_plugin(struct st_mysql *mysql, const char *name, int type);
struct
st_mysql_client_plugin
*
struct
st_mysql_client_plugin
*
mysql_client_register_plugin
(
struct
st_mysql
*
mysql
,
mysql_client_register_plugin
(
struct
st_mysql
*
mysql
,
struct
st_mysql_client_plugin
*
plugin
);
struct
st_mysql_client_plugin
*
plugin
);
int
STDCALL
mysql_plugin_options
(
struct
st_mysql_client_plugin
*
plugin
,
const
char
*
option
,
const
void
*
value
);
include/mysql/plugin_auth.h.pp
View file @
1744b540
#include <mysql/plugin.h>
#include <mysql/plugin.h>
#include <mysql/services.h>
#include <mysql/services.h>
#include <mysql/service_my_snprintf.h>
#include <mysql/service_my_snprintf.h>
#include <stdarg.h>
#include <stdlib.h>
extern
struct
my_snprintf_service_st
{
extern
struct
my_snprintf_service_st
{
size_t
(
*
my_snprintf_type
)(
char
*
,
size_t
,
const
char
*
,
...
);
size_t
(
*
my_snprintf_type
)(
char
*
,
size_t
,
const
char
*
,
...
);
size_t
(
*
my_vsnprintf_type
)(
char
*
,
size_t
,
const
char
*
,
va_list
);
size_t
(
*
my_vsnprintf_type
)(
char
*
,
size_t
,
const
char
*
,
va_list
);
...
@@ -10,7 +8,6 @@ extern struct my_snprintf_service_st {
...
@@ -10,7 +8,6 @@ extern struct my_snprintf_service_st {
size_t
my_snprintf
(
char
*
to
,
size_t
n
,
const
char
*
fmt
,
...
);
size_t
my_snprintf
(
char
*
to
,
size_t
n
,
const
char
*
fmt
,
...
);
size_t
my_vsnprintf
(
char
*
to
,
size_t
n
,
const
char
*
fmt
,
va_list
ap
);
size_t
my_vsnprintf
(
char
*
to
,
size_t
n
,
const
char
*
fmt
,
va_list
ap
);
#include <mysql/service_thd_alloc.h>
#include <mysql/service_thd_alloc.h>
#include <stdlib.h>
struct
st_mysql_lex_string
struct
st_mysql_lex_string
{
{
char
*
str
;
char
*
str
;
...
@@ -34,6 +31,27 @@ void *thd_memdup(void* thd, const void* str, unsigned int size);
...
@@ -34,6 +31,27 @@ void *thd_memdup(void* thd, const void* str, unsigned int size);
MYSQL_LEX_STRING
*
thd_make_lex_string
(
void
*
thd
,
MYSQL_LEX_STRING
*
lex_str
,
MYSQL_LEX_STRING
*
thd_make_lex_string
(
void
*
thd
,
MYSQL_LEX_STRING
*
lex_str
,
const
char
*
str
,
unsigned
int
size
,
const
char
*
str
,
unsigned
int
size
,
int
allocate_lex_string
);
int
allocate_lex_string
);
#include <mysql/service_thd_wait.h>
typedef
enum
_thd_wait_type_e
{
THD_WAIT_MUTEX
=
1
,
THD_WAIT_DISKIO
=
2
,
THD_WAIT_ROW_TABLE_LOCK
=
3
,
THD_WAIT_GLOBAL_LOCK
=
4
}
thd_wait_type
;
extern
struct
thd_wait_service_st
{
void
(
*
thd_wait_begin_func
)(
void
*
,
thd_wait_type
);
void
(
*
thd_wait_end_func
)(
void
*
);
}
*
thd_wait_service
;
void
thd_wait_begin
(
void
*
thd
,
thd_wait_type
wait_type
);
void
thd_wait_end
(
void
*
thd
);
#include <mysql/service_thread_scheduler.h>
struct
scheduler_functions
;
extern
struct
my_thread_scheduler_service
{
int
(
*
set
)(
struct
scheduler_functions
*
scheduler
);
int
(
*
reset
)();
}
*
my_thread_scheduler_service
;
int
my_thread_scheduler_set
(
struct
scheduler_functions
*
scheduler
);
int
my_thread_scheduler_reset
();
struct
st_mysql_xid
{
struct
st_mysql_xid
{
long
formatID
;
long
formatID
;
long
gtrid_length
;
long
gtrid_length
;
...
@@ -155,6 +173,7 @@ long long thd_test_options(const void* thd, long long test_options);
...
@@ -155,6 +173,7 @@ long long thd_test_options(const void* thd, long long test_options);
int
thd_sql_command
(
const
void
*
thd
);
int
thd_sql_command
(
const
void
*
thd
);
const
char
*
thd_proc_info
(
void
*
thd
,
const
char
*
info
);
const
char
*
thd_proc_info
(
void
*
thd
,
const
char
*
info
);
void
**
thd_ha_data
(
const
void
*
thd
,
const
struct
handlerton
*
hton
);
void
**
thd_ha_data
(
const
void
*
thd
,
const
struct
handlerton
*
hton
);
void
thd_storage_lock_wait
(
void
*
thd
,
long
long
value
);
int
thd_tx_isolation
(
const
void
*
thd
);
int
thd_tx_isolation
(
const
void
*
thd
);
char
*
thd_security_context
(
void
*
thd
,
char
*
buffer
,
unsigned
int
length
,
char
*
thd_security_context
(
void
*
thd
,
char
*
buffer
,
unsigned
int
length
,
unsigned
int
max_query_len
);
unsigned
int
max_query_len
);
...
@@ -187,7 +206,7 @@ typedef struct st_plugin_vio
...
@@ -187,7 +206,7 @@ typedef struct st_plugin_vio
}
MYSQL_PLUGIN_VIO
;
}
MYSQL_PLUGIN_VIO
;
typedef
struct
st_mysql_server_auth_info
typedef
struct
st_mysql_server_auth_info
{
{
c
onst
c
har
*
user_name
;
char
*
user_name
;
unsigned
int
user_name_length
;
unsigned
int
user_name_length
;
const
char
*
auth_string
;
const
char
*
auth_string
;
unsigned
long
auth_string_length
;
unsigned
long
auth_string_length
;
...
...
mysql-test/r/mysqld--help-win.result
View file @
1744b540
...
@@ -919,7 +919,6 @@ slave-transaction-retries 10
...
@@ -919,7 +919,6 @@ slave-transaction-retries 10
slave-type-conversions
slave-type-conversions
slow-launch-time 2
slow-launch-time 2
slow-query-log FALSE
slow-query-log FALSE
socket MySQL
sort-buffer-size 2097152
sort-buffer-size 2097152
sporadic-binlog-dump-fail FALSE
sporadic-binlog-dump-fail FALSE
sql-mode
sql-mode
...
...
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