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
082a01d1
Commit
082a01d1
authored
Mar 10, 2004
by
konstantin@oak.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename:
read_statistic -> read_statistics (statistic is adjective)
parent
cd7ec53d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
include/mysql.h
include/mysql.h
+1
-1
libmysql/client_settings.h
libmysql/client_settings.h
+1
-1
libmysql/libmysql.c
libmysql/libmysql.c
+2
-2
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+2
-2
sql-common/client.c
sql-common/client.c
+1
-1
No files found.
include/mysql.h
View file @
082a01d1
...
...
@@ -575,7 +575,7 @@ typedef struct st_mysql_methods
MYSQL_DATA
*
(
*
read_binary_rows
)(
MYSQL_STMT
*
stmt
);
int
(
*
unbuffered_fetch
)(
MYSQL
*
mysql
,
char
**
row
);
void
(
*
free_embedded_thd
)(
MYSQL
*
mysql
);
const
char
*
(
*
read_statistic
)(
MYSQL
*
mysql
);
const
char
*
(
*
read_statistic
s
)(
MYSQL
*
mysql
);
int
(
*
next_result
)(
MYSQL
*
mysql
);
int
(
*
read_change_user_result
)(
MYSQL
*
mysql
,
char
*
buff
,
const
char
*
passwd
);
#endif
...
...
libmysql/client_settings.h
View file @
082a01d1
...
...
@@ -57,7 +57,7 @@ MYSQL_DATA * cli_read_rows(MYSQL *mysql,MYSQL_FIELD *mysql_fields,
int
cli_stmt_execute
(
MYSQL_STMT
*
stmt
);
MYSQL_DATA
*
cli_read_binary_rows
(
MYSQL_STMT
*
stmt
);
int
cli_unbuffered_fetch
(
MYSQL
*
mysql
,
char
**
row
);
const
char
*
cli_read_statistic
(
MYSQL
*
mysql
);
const
char
*
cli_read_statistic
s
(
MYSQL
*
mysql
);
int
cli_read_change_user_result
(
MYSQL
*
mysql
,
char
*
buff
,
const
char
*
passwd
);
#ifdef EMBEDDED_LIBRARY
...
...
libmysql/libmysql.c
View file @
082a01d1
...
...
@@ -1126,7 +1126,7 @@ mysql_dump_debug_info(MYSQL *mysql)
DBUG_RETURN
(
simple_command
(
mysql
,
COM_DEBUG
,
0
,
0
,
0
));
}
const
char
*
cli_read_statistic
(
MYSQL
*
mysql
)
const
char
*
cli_read_statistic
s
(
MYSQL
*
mysql
)
{
mysql
->
net
.
read_pos
[
mysql
->
packet_length
]
=
0
;
/* End of stat string */
if
(
!
mysql
->
net
.
read_pos
[
0
])
...
...
@@ -1145,7 +1145,7 @@ mysql_stat(MYSQL *mysql)
DBUG_ENTER
(
"mysql_stat"
);
if
(
simple_command
(
mysql
,
COM_STATISTICS
,
0
,
0
,
0
))
return
mysql
->
net
.
last_error
;
DBUG_RETURN
((
*
mysql
->
methods
->
read_statistic
)(
mysql
));
DBUG_RETURN
((
*
mysql
->
methods
->
read_statistic
s
)(
mysql
));
}
...
...
libmysqld/lib_sql.cc
View file @
082a01d1
...
...
@@ -234,7 +234,7 @@ static void emb_free_embedded_thd(MYSQL *mysql)
delete
thd
;
}
static
const
char
*
emb_read_statistic
(
MYSQL
*
mysql
)
static
const
char
*
emb_read_statistic
s
(
MYSQL
*
mysql
)
{
THD
*
thd
=
(
THD
*
)
mysql
->
thd
;
return
thd
->
net
.
last_error
;
...
...
@@ -279,7 +279,7 @@ MYSQL_METHODS embedded_methods=
emb_read_binary_rows
,
emb_unbuffered_fetch
,
emb_free_embedded_thd
,
emb_read_statistic
,
emb_read_statistic
s
,
emb_next_result
,
emb_read_change_user_result
};
...
...
sql-common/client.c
View file @
082a01d1
...
...
@@ -1422,7 +1422,7 @@ static MYSQL_METHODS client_methods=
cli_read_binary_rows
,
cli_unbuffered_fetch
,
NULL
,
cli_read_statistic
,
cli_read_statistic
s
,
cli_read_query_result
,
cli_read_change_user_result
#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