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
80abd5a1
Commit
80abd5a1
authored
Mar 06, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1
into eagle.mysql.r18.ru:/home/vva/work/BUG_2082/mysql-4.1
parents
8e7a2ec9
d2b3d9bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
client/mysqltest.c
client/mysqltest.c
+7
-7
No files found.
client/mysqltest.c
View file @
80abd5a1
...
@@ -215,8 +215,8 @@ Q_REQUIRE_VERSION,
...
@@ -215,8 +215,8 @@ Q_REQUIRE_VERSION,
Q_ENABLE_WARNINGS
,
Q_DISABLE_WARNINGS
,
Q_ENABLE_WARNINGS
,
Q_DISABLE_WARNINGS
,
Q_ENABLE_INFO
,
Q_DISABLE_INFO
,
Q_ENABLE_INFO
,
Q_DISABLE_INFO
,
Q_EXEC
,
Q_DELIMITER
,
Q_EXEC
,
Q_DELIMITER
,
Q_DISPLAY_VERTICAL_RESULTS
,
Q_DISPLAY_HORI
S
ONTAL_RESULTS
,
Q_DISPLAY_VERTICAL_RESULTS
,
Q_DISPLAY_HORI
Z
ONTAL_RESULTS
,
Q_QUERY_VERTICAL
,
Q_QUERY_HORI
S
ONTAL
,
Q_QUERY_VERTICAL
,
Q_QUERY_HORI
Z
ONTAL
,
Q_UNKNOWN
,
/* Unknown command. */
Q_UNKNOWN
,
/* Unknown command. */
Q_COMMENT
,
/* Comments, ignored. */
Q_COMMENT
,
/* Comments, ignored. */
...
@@ -291,9 +291,9 @@ const char *command_names[]=
...
@@ -291,9 +291,9 @@ const char *command_names[]=
"exec"
,
"exec"
,
"delimiter"
,
"delimiter"
,
"vertical_results"
,
"vertical_results"
,
"hori
s
ontal_results"
,
"hori
z
ontal_results"
,
"query_vertical"
,
"query_vertical"
,
"query_hori
s
ontal"
,
"query_hori
z
ontal"
,
0
0
};
};
...
@@ -2581,7 +2581,7 @@ int main(int argc, char **argv)
...
@@ -2581,7 +2581,7 @@ int main(int argc, char **argv)
delimiter_length
=
strlen
(
delimiter
);
delimiter_length
=
strlen
(
delimiter
);
break
;
break
;
case
Q_DISPLAY_VERTICAL_RESULTS
:
display_result_vertically
=
TRUE
;
break
;
case
Q_DISPLAY_VERTICAL_RESULTS
:
display_result_vertically
=
TRUE
;
break
;
case
Q_DISPLAY_HORI
S
ONTAL_RESULTS
:
case
Q_DISPLAY_HORI
Z
ONTAL_RESULTS
:
display_result_vertically
=
FALSE
;
break
;
display_result_vertically
=
FALSE
;
break
;
case
Q_LET
:
do_let
(
q
);
break
;
case
Q_LET
:
do_let
(
q
);
break
;
case
Q_EVAL_RESULT
:
eval_result
=
1
;
break
;
case
Q_EVAL_RESULT
:
eval_result
=
1
;
break
;
...
@@ -2590,7 +2590,7 @@ int main(int argc, char **argv)
...
@@ -2590,7 +2590,7 @@ int main(int argc, char **argv)
q
->
query
=
q
->
first_argument
;
q
->
query
=
q
->
first_argument
;
/* fall through */
/* fall through */
case
Q_QUERY_VERTICAL
:
case
Q_QUERY_VERTICAL
:
case
Q_QUERY_HORI
S
ONTAL
:
case
Q_QUERY_HORI
Z
ONTAL
:
{
{
my_bool
old_display_result_vertically
=
display_result_vertically
;
my_bool
old_display_result_vertically
=
display_result_vertically
;
if
(
!
q
->
query
[
q
->
first_word_len
])
if
(
!
q
->
query
[
q
->
first_word_len
])
...
@@ -2605,7 +2605,7 @@ int main(int argc, char **argv)
...
@@ -2605,7 +2605,7 @@ int main(int argc, char **argv)
switch
(
q
->
type
)
switch
(
q
->
type
)
{
{
case
Q_QUERY_VERTICAL
:
display_result_vertically
=
TRUE
;
break
;
case
Q_QUERY_VERTICAL
:
display_result_vertically
=
TRUE
;
break
;
case
Q_QUERY_HORI
S
ONTAL
:
display_result_vertically
=
FALSE
;
break
;
case
Q_QUERY_HORI
Z
ONTAL
:
display_result_vertically
=
FALSE
;
break
;
}
}
error
|=
run_query
(
&
cur_con
->
mysql
,
q
,
QUERY_REAP
|
QUERY_SEND
);
error
|=
run_query
(
&
cur_con
->
mysql
,
q
,
QUERY_REAP
|
QUERY_SEND
);
display_result_vertically
=
old_display_result_vertically
;
display_result_vertically
=
old_display_result_vertically
;
...
...
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