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
64eb6553
Commit
64eb6553
authored
Oct 31, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make variables static to please Netware compiler
parent
c6c0dcdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
client/mysqltest.c
client/mysqltest.c
+18
-18
No files found.
client/mysqltest.c
View file @
64eb6553
...
...
@@ -1409,7 +1409,7 @@ int open_file(const char *name)
void
do_source
(
struct
st_command
*
command
)
{
DYNAMIC_STRING
ds_filename
;
static
DYNAMIC_STRING
ds_filename
;
const
struct
command_arg
source_args
[]
=
{
"filename"
,
ARG_STRING
,
TRUE
,
&
ds_filename
,
"File to source"
};
...
...
@@ -1697,7 +1697,7 @@ void do_system(struct st_command *command)
void
do_remove_file
(
struct
st_command
*
command
)
{
int
error
;
DYNAMIC_STRING
ds_filename
;
static
DYNAMIC_STRING
ds_filename
;
const
struct
command_arg
rm_args
[]
=
{
"filename"
,
ARG_STRING
,
TRUE
,
&
ds_filename
,
"File to delete"
};
...
...
@@ -1730,8 +1730,8 @@ void do_remove_file(struct st_command *command)
void
do_copy_file
(
struct
st_command
*
command
)
{
int
error
;
DYNAMIC_STRING
ds_from_file
;
DYNAMIC_STRING
ds_to_file
;
static
DYNAMIC_STRING
ds_from_file
;
static
DYNAMIC_STRING
ds_to_file
;
const
struct
command_arg
copy_file_args
[]
=
{
"from_file"
,
ARG_STRING
,
TRUE
,
&
ds_from_file
,
"Filename to copy from"
,
"to_file"
,
ARG_STRING
,
TRUE
,
&
ds_to_file
,
"Filename to copy to"
...
...
@@ -1766,7 +1766,7 @@ void do_copy_file(struct st_command *command)
void
do_file_exist
(
struct
st_command
*
command
)
{
int
error
;
DYNAMIC_STRING
ds_filename
;
static
DYNAMIC_STRING
ds_filename
;
const
struct
command_arg
file_exist_args
[]
=
{
"filename"
,
ARG_STRING
,
TRUE
,
&
ds_filename
,
"File to check if it exist"
};
...
...
@@ -1873,9 +1873,9 @@ void read_until_delimiter(DYNAMIC_STRING *ds,
void
do_write_file
(
struct
st_command
*
command
)
{
DYNAMIC_STRING
ds_content
;
DYNAMIC_STRING
ds_filename
;
DYNAMIC_STRING
ds_delimiter
;
static
DYNAMIC_STRING
ds_content
;
static
DYNAMIC_STRING
ds_filename
;
static
DYNAMIC_STRING
ds_delimiter
;
const
struct
command_arg
write_file_args
[]
=
{
"filename"
,
ARG_STRING
,
TRUE
,
&
ds_filename
,
"File to write to"
,
"delimiter"
,
ARG_STRING
,
FALSE
,
&
ds_delimiter
,
"Delimiter to read until"
...
...
@@ -1927,8 +1927,8 @@ void do_perl(struct st_command *command)
int
error
;
char
buf
[
FN_REFLEN
];
FILE
*
res_file
;
DYNAMIC_STRING
ds_script
;
DYNAMIC_STRING
ds_delimiter
;
static
DYNAMIC_STRING
ds_script
;
static
DYNAMIC_STRING
ds_delimiter
;
const
struct
command_arg
perl_args
[]
=
{
"delimiter"
,
ARG_STRING
,
FALSE
,
&
ds_delimiter
,
"Delimiter to read until"
};
...
...
@@ -2985,14 +2985,14 @@ void do_connect(struct st_command *command)
bool
con_ssl
=
0
,
con_compress
=
0
;
char
*
ptr
;
DYNAMIC_STRING
ds_connection_name
;
DYNAMIC_STRING
ds_host
;
DYNAMIC_STRING
ds_user
;
DYNAMIC_STRING
ds_password
;
DYNAMIC_STRING
ds_database
;
DYNAMIC_STRING
ds_port
;
DYNAMIC_STRING
ds_sock
;
DYNAMIC_STRING
ds_options
;
static
DYNAMIC_STRING
ds_connection_name
;
static
DYNAMIC_STRING
ds_host
;
static
DYNAMIC_STRING
ds_user
;
static
DYNAMIC_STRING
ds_password
;
static
DYNAMIC_STRING
ds_database
;
static
DYNAMIC_STRING
ds_port
;
static
DYNAMIC_STRING
ds_sock
;
static
DYNAMIC_STRING
ds_options
;
const
struct
command_arg
connect_args
[]
=
{
"connection name"
,
ARG_STRING
,
TRUE
,
&
ds_connection_name
,
"Name of the connection"
,
...
...
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