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
c8f87750
Commit
c8f87750
authored
Dec 13, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always compile rPM's with --enable-thread-safe-client
parent
0c0a170f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
sql-bench/bench-init.pl.sh
sql-bench/bench-init.pl.sh
+10
-2
sql/mysqld.cc
sql/mysqld.cc
+2
-2
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+2
-1
No files found.
sql-bench/bench-init.pl.sh
View file @
c8f87750
...
...
@@ -38,12 +38,13 @@ require "$pwd/server-cfg" || die "Can't read Configuration file: $!\n";
$|
=
1
;
# Output data immediately
$opt_skip_test
=
$opt_skip_create
=
$opt_skip_delete
=
$opt_verbose
=
$opt_fast_insert
=
$opt_lock_tables
=
$opt_debug
=
$opt_skip_delete
=
$opt_fast
=
$opt_force
=
$opt_log
=
$opt_use_old_results
=
$opt_help
=
$opt_odbc
=
$opt_small_test
=
$opt_small_tables
=
$opt_samll_key_tables
=
$opt_stage
=
$opt_old_headers
=
$opt_die_on_errors
=
$opt_tcpip
=
0
;
$opt_skip_test
=
$opt_skip_create
=
$opt_skip_delete
=
$opt_verbose
=
$opt_fast_insert
=
$opt_lock_tables
=
$opt_debug
=
$opt_skip_delete
=
$opt_fast
=
$opt_force
=
$opt_log
=
$opt_use_old_results
=
$opt_help
=
$opt_odbc
=
$opt_small_test
=
$opt_small_tables
=
$opt_samll_key_tables
=
$opt_stage
=
$opt_old_headers
=
$opt_die_on_errors
=
$opt_tcpip
=
$opt_random
=
0
;
$opt_cmp
=
$opt_user
=
$opt_password
=
""
;
$opt_server
=
"mysql"
;
$opt_dir
=
"output"
;
$opt_host
=
"localhost"
;
$opt_database
=
"test"
;
$opt_machine
=
""
;
$opt_suffix
=
""
;
$opt_create_options
=
undef
;
$opt_threads
=
5
;
$opt_time_limit
=
10
*
60
;
# Don't wait more than 10 min for some tests
...
...
@@ -51,7 +52,7 @@ $log_prog_args=join(" ", skip_arguments(\@ARGV,"comments","cmp","server",
"user"
,
"host"
,
"database"
,
"password"
,
"use-old-results"
,
"skip-test"
,
"machine"
,
"dir"
,
"suffix"
,
"log"
))
;
GetOptions
(
"skip-test=s"
,
"comments=s"
,
"cmp=s"
,
"server=s"
,
"user=s"
,
"host=s"
,
"database=s"
,
"password=s"
,
"loop-count=i"
,
"row-count=i"
,
"skip-create"
,
"skip-delete"
,
"verbose"
,
"fast-insert"
,
"lock-tables"
,
"debug"
,
"fast"
,
"force"
,
"field-count=i"
,
"regions=i"
,
"groups=i"
,
"time-limit=i"
,
"log"
,
"use-old-results"
,
"machine=s"
,
"dir=s"
,
"suffix=s"
,
"help"
,
"odbc"
,
"small-test"
,
"small-tables"
,
"small-key-tables"
,
"stage=i"
,
"old-headers"
,
"die-on-errors"
,
"create-options=s"
,
"hires"
,
"tcpip"
,
"silent"
,
GetOptions
(
"skip-test=s"
,
"comments=s"
,
"cmp=s"
,
"server=s"
,
"user=s"
,
"host=s"
,
"database=s"
,
"password=s"
,
"loop-count=i"
,
"row-count=i"
,
"skip-create"
,
"skip-delete"
,
"verbose"
,
"fast-insert"
,
"lock-tables"
,
"debug"
,
"fast"
,
"force"
,
"field-count=i"
,
"regions=i"
,
"groups=i"
,
"time-limit=i"
,
"log"
,
"use-old-results"
,
"machine=s"
,
"dir=s"
,
"suffix=s"
,
"help"
,
"odbc"
,
"small-test"
,
"small-tables"
,
"small-key-tables"
,
"stage=i"
,
"
threads=i"
,
"random"
,
"
old-headers"
,
"die-on-errors"
,
"create-options=s"
,
"hires"
,
"tcpip"
,
"silent"
,
"socket=s"
)
||
usage
()
;
usage
()
if
(
$opt_help
)
;
...
...
@@ -558,6 +559,13 @@ All benchmarks takes the following options:
different server options without overwritten old files.
When using --fast the suffix is automaticly set to '_fast'.
--random
Inform test suite that we are generate random inital values for sequence of
test executions. It should be used for imitation of real conditions.
--threads=# (Default 5)
Number of threads for multi-user benchmarks.
--tcpip
Inform test suite that we are using TCP/IP to connect to the server. In
this case we can
\t
do many new connections in a row as we in this case may
...
...
sql/mysqld.cc
View file @
c8f87750
...
...
@@ -3969,11 +3969,11 @@ static void get_options(int argc,char **argv)
charsets_dir
=
mysql_charsets_dir
;
break
;
#include "sslopt-case.h"
#ifdef HAVE_OPENSSL
case
OPT_DES_KEY_FILE
:
#ifdef HAVE_OPENSSL
des_key_file
=
optarg
;
break
;
#endif
break
;
case
OPT_TX_ISOLATION
:
{
int
type
;
...
...
support-files/mysql.spec.sh
View file @
c8f87750
...
...
@@ -187,6 +187,7 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-/bin:/usr/bin}\" \
--includedir=/usr/include
\
--mandir=/usr/man
\
--with-embedded-server
\
--enable-thread-safe-client
\
--with-comment=
\"
Official MySQL RPM
\"
;
# Add this for more debugging support
# --with-debug
...
...
@@ -212,7 +213,7 @@ mkdir -p $RBR
# Build the shared libraries and mysqld-max
BuildMySQL
"--enable-shared --
enable-thread-safe-client --
with-berkeley-db --with-innodb --with-mysqld-ldflags='-all-static' --with-server-suffix='-Max'"
BuildMySQL
"--enable-shared --with-berkeley-db --with-innodb --with-mysqld-ldflags='-all-static' --with-server-suffix='-Max'"
# Save everything for debug
# tar cf $RBR/all.tar .
...
...
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