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
4b74d065
Commit
4b74d065
authored
Dec 22, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Names of all client methods (static functions inside client.c) now
uniform: cli_ + member name.
parent
3093d714
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
sql-common/client.c
sql-common/client.c
+9
-9
No files found.
sql-common/client.c
View file @
4b74d065
...
...
@@ -1403,15 +1403,15 @@ mysql_ssl_free(MYSQL *mysql __attribute__((unused)))
before calling mysql_real_connect !
*/
static
my_bool
cli_
mysql_
read_query_result
(
MYSQL
*
mysql
);
static
MYSQL_RES
*
cli_
mysql_
use_result
(
MYSQL
*
mysql
);
static
my_bool
cli_read_query_result
(
MYSQL
*
mysql
);
static
MYSQL_RES
*
cli_use_result
(
MYSQL
*
mysql
);
static
MYSQL_METHODS
client_methods
=
{
cli_
mysql_
read_query_result
,
cli_read_query_result
,
cli_advanced_command
,
cli_read_rows
,
cli_
mysql_
use_result
,
cli_use_result
,
cli_fetch_lengths
#ifndef MYSQL_SERVER
,
cli_list_fields
,
...
...
@@ -2022,7 +2022,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
goto
error
;
if
(
mysql
->
fields
)
{
if
(
!
(
res
=
cli_
mysql_
use_result
(
mysql
)))
if
(
!
(
res
=
cli_use_result
(
mysql
)))
goto
error
;
mysql_free_result
(
res
);
}
...
...
@@ -2240,13 +2240,13 @@ void STDCALL mysql_close(MYSQL *mysql)
DBUG_VOID_RETURN
;
}
static
my_bool
cli_
mysql_
read_query_result
(
MYSQL
*
mysql
)
static
my_bool
cli_read_query_result
(
MYSQL
*
mysql
)
{
uchar
*
pos
;
ulong
field_count
;
MYSQL_DATA
*
fields
;
ulong
length
;
DBUG_ENTER
(
"cli_
mysql_
read_query_result"
);
DBUG_ENTER
(
"cli_read_query_result"
);
/*
Read from the connection which we actually used, which
...
...
@@ -2419,10 +2419,10 @@ MYSQL_RES * STDCALL mysql_store_result(MYSQL *mysql)
have to wait for the client (and will not wait more than 30 sec/packet).
**************************************************************************/
static
MYSQL_RES
*
cli_
mysql_
use_result
(
MYSQL
*
mysql
)
static
MYSQL_RES
*
cli_use_result
(
MYSQL
*
mysql
)
{
MYSQL_RES
*
result
;
DBUG_ENTER
(
"cli_
mysql_
use_result"
);
DBUG_ENTER
(
"cli_use_result"
);
mysql
=
mysql
->
last_used_con
;
...
...
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