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
718839a1
Commit
718839a1
authored
Nov 03, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#2930 Adding view and cursor 'protocols' to mysqltest
- Part2, actually adding the new functionality
parent
de07ac0c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
290 additions
and
88 deletions
+290
-88
client/mysqltest.c
client/mysqltest.c
+265
-88
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+25
-0
No files found.
client/mysqltest.c
View file @
718839a1
This diff is collapsed.
Click to expand it.
mysql-test/mysql-test-run.pl
View file @
718839a1
...
...
@@ -191,6 +191,9 @@ our $opt_ssl;
our
$opt_skip_ssl
;
our
$opt_ssl_supported
;
our
$opt_ps_protocol
;
our
$opt_sp_protocol
;
our
$opt_cursor_protocol
;
our
$opt_view_protocol
;
our
$opt_current_test
;
our
$opt_ddd
;
...
...
@@ -490,6 +493,9 @@ sub command_line_setup () {
# Control what engine/variation to run
'
embedded-server
'
=>
\
$opt_embedded_server
,
'
ps-protocol
'
=>
\
$opt_ps_protocol
,
'
sp-protocol
'
=>
\
$opt_sp_protocol
,
'
view-protocol
'
=>
\
$opt_view_protocol
,
'
cursor-protocol
'
=>
\
$opt_cursor_protocol
,
'
ssl|with-openssl
'
=>
\
$opt_ssl
,
'
skip-ssl
'
=>
\
$opt_skip_ssl
,
'
compress
'
=>
\
$opt_compress
,
...
...
@@ -2554,6 +2560,21 @@ sub run_mysqltest ($) {
mtr_add_arg
(
$args
,
"
--ps-protocol
");
}
if
(
$opt_sp_protocol
)
{
mtr_add_arg
(
$args
,
"
--sp-protocol
");
}
if
(
$opt_view_protocol
)
{
mtr_add_arg
(
$args
,
"
--view-protocol
");
}
if
(
$opt_cursor_protocol
)
{
mtr_add_arg
(
$args
,
"
--cursor-protocol
");
}
if
(
$opt_strace_client
)
{
$exe
=
"
strace
";
# FIXME there are ktrace, ....
...
...
@@ -2685,6 +2706,10 @@ Options to control what engine/variation to run
embedded-server Use the embedded server, i.e. no mysqld daemons
ps-protocol Use the binary protocol between client and server
cursor-protocol Use the cursor protocol between client and server
(implies --ps-protocol)
view-protocol Create a view to execute all non updating queries
sp-protocol Create a stored procedure to execute all queries
compress Use the compressed protocol between client and server
ssl Use ssl protocol between client and server
skip-ssl Dont start sterver with support for ssl connections
...
...
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