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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b31d0768
Commit
b31d0768
authored
Nov 18, 2000
by
monty@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some reported bugs
parent
23dc1a6b
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
318 additions
and
262 deletions
+318
-262
BUILD/compile-alpha-cxx
BUILD/compile-alpha-cxx
+2
-1
Docs/manual.texi
Docs/manual.texi
+72
-46
myisam/mi_key.c
myisam/mi_key.c
+6
-2
mysys/Makefile.am
mysys/Makefile.am
+17
-6
sql-bench/Results/ATIS-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/ATIS-mysql-Linux_2.2.13_SMP_alpha
+7
-7
sql-bench/Results/RUN-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/RUN-mysql-Linux_2.2.13_SMP_alpha
+74
-68
sql-bench/Results/alter-table-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/alter-table-mysql-Linux_2.2.13_SMP_alpha
+5
-5
sql-bench/Results/big-tables-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/big-tables-mysql-Linux_2.2.13_SMP_alpha
+6
-6
sql-bench/Results/connect-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/connect-mysql-Linux_2.2.13_SMP_alpha
+10
-10
sql-bench/Results/create-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/create-mysql-Linux_2.2.13_SMP_alpha
+7
-7
sql-bench/Results/insert-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/insert-mysql-Linux_2.2.13_SMP_alpha
+41
-35
sql-bench/Results/select-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/select-mysql-Linux_2.2.13_SMP_alpha
+13
-13
sql-bench/Results/wisconsin-mysql-Linux_2.2.13_SMP_alpha
sql-bench/Results/wisconsin-mysql-Linux_2.2.13_SMP_alpha
+4
-4
sql-bench/test-select.sh
sql-bench/test-select.sh
+3
-2
sql/log.cc
sql/log.cc
+5
-7
sql/mysqld.cc
sql/mysqld.cc
+1
-1
sql/share/german/errmsg.sys
sql/share/german/errmsg.sys
+0
-0
sql/share/german/errmsg.txt
sql/share/german/errmsg.txt
+30
-30
sql/sql_base.cc
sql/sql_base.cc
+1
-0
sql/sql_insert.cc
sql/sql_insert.cc
+4
-5
sql/sql_table.cc
sql/sql_table.cc
+3
-0
vio/VioFd.cc
vio/VioFd.cc
+2
-2
vio/VioSSL.cc
vio/VioSSL.cc
+2
-2
vio/VioSSLFactoriesFd.cc
vio/VioSSLFactoriesFd.cc
+2
-2
vio/VioSocket.cc
vio/VioSocket.cc
+1
-1
No files found.
BUILD/compile-alpha-cxx
View file @
b31d0768
...
...
@@ -4,7 +4,8 @@ make -k clean
/bin/rm -f config.cache mysql-*.tar.gz
aclocal; autoheader; aclocal; automake; autoconf
CC=ccc CFLAGS="-fast" CXX=cxx CXXFLAGS="-fast -noexceptions -nortti" ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex --enable-thread-safe-client --with-mysqld-ldflags=-all-static
CC=ccc CFLAGS="-fast" CXX=cxx CXXFLAGS="-fast -noexceptions -nortti" ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex --enable-thread-safe-client --with-mysqld-ldflags=-non_shared --with-client-ldflags=-non_shared
make
rm */.deps/*
make
...
...
Docs/manual.texi
View file @
b31d0768
...
...
@@ -1972,6 +1972,9 @@ Apart from the following links, you can find and download a lot of
@c @item @uref{http://www.devshed.com/resource/advanced/mysql/index.html, A
@c beginner's tutorial of how to start using @strong{MySQL}}
@item @uref{http://www.4t2.com/mysql. German MySQL maling list}
Information about the German MySQL mailing list.
@item @uref{http://www.analysisandsolutions.com/code/mybasic.htm}@*
Beginners @strong{MySQL} Tutorial on how to install and set up
@strong{MySQL} on a Windows machine.
...
...
@@ -2069,7 +2072,6 @@ organization.
@item @uref{http://www.xnot.com/kmysql}@*
KDE @strong{MySQL} client.
@c EMAIL: bilhaut_f@mail.cpod.fr (Frédérik Bilhaut)
@item @uref{http://www.penguinpowered.com/~kmysql}@*
KMySQL is a database client for KDE that primarily supports @strong{MySQL}.
...
...
@@ -2090,6 +2092,14 @@ A free report writer in Java
@item @uref{http://www.javaframework.de}@*
MySQLExport - Export of @strong{MySQL} create statements and data in a lot of
different formats (SQL, HTML, CVS, text, ZIP, GZIP...)
@item @uref{http://dlabs.4t2.com, M2D}
A MySQL-ADmin-client for windows. It supports administration of
MySQL-Databases, creating of new DBs and tables, editing etc.
@item @uref{http://www.scibit.com/Products/Software/Utils/Mascon.asp,
Mascon home page}.
Mascon is a powerful Win32 GUI for the administering MySQL server databases.
@end itemize
@subheading Distributions that Include MySQL
...
...
@@ -2629,6 +2639,9 @@ unsubscribe from the @code{myodbc} list, send a message to
@email{myodbc-subscribe@@lists.mysql.com} or
@email{myodbc-unsubscribe@@lists.mysql.com}.
There is also a german mailing list. You can find information about this
at: @uref{http://www.4t2.com/mysql}.
@cindex net etiquette
@cindex mailing lists, archive location
@cindex searching, MySQL webpages
...
...
@@ -6896,59 +6909,40 @@ We have tested @strong{MySQL} on Alpha with our benchmarks + test suite and
it appears to work nicely. The main thing we haven't yet had time to test
is how things works with many concurrent users.
When we compiled @strong{MySQL} we where using SuSE 6.3, kernel 2.2.13-SMP,
egcs 1.1.2, and libc-2.1.2-28.
When we compiled the standard @strong{MySQL} binary we are using SuSE 6.4,
kernel 2.2.13-SMP, Compaq C compiler (V6.2-504) and Compaq C++ compiler
(V6.3-005) on a Comaq DS20 machine with an Alpha EV6 processor
We used the following configure line:
You can find the above compilers at
@uref{http://www.support.compaq.com/alpha-tools}). By using these compilers,
instead of gcc, we get about 9-14 % better performance with @strong{MySQL}.
Note that the configure line optimized the binary for the current CPU; This
means you can only use our binary if you have an Alpha EV6 processor.
We also compile staticly to avoid library problems.
@example
C
FLAGS="-O6 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --disable-
shared
C
C=ccc CFLAGS="-fast" CXX=cxx CXXFLAGS="-fast -noexceptions -nortti" ./configure --prefix=/usr/local/mysql --disable-shared --with-extra-charsets=complex --enable-thread-safe-client --with-mysqld-ldflags=-non_shared --with-client-ldflags=-non_
shared
@end example
If you
have access to Compaq's C compiler, the following configure line
will give you about 9 % more performance:
If you
want to use egcs the following configure line worked for us:
@example
C
C=ccc CFLAGS="-fast -O3 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -mcpu=ev6 -Wa,-mev6" CXXLDFLAGS='/usr/lib/compaq/libots-2.2.7/libots.so /usr/lib/compaq/cpml-5.0.0/libcpml_ev6.a'
./configure --prefix=/usr/local/mysql --disable-shared
C
FLAGS="-O6 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"
./configure --prefix=/usr/local/mysql --disable-shared
@end example
Note that the last example assumes your are using an Alpha EV6 processor.
Some known problems when running @strong{MySQL} on Linux-Alpha:
@itemize @bullet
@item
If you create many files ( > 10000) in one directory (as done by the
@code{test-create} in the @strong{MySQL} benchmarks, mysqld may report
the error @code{Can't create/write to file '...' (Errcode: 12)}. This
is probably a bug in the Linux-Alpha kernel.
@item
Debugging threaded applications like @strong{MySQL} will not work with
@code{gdb 4.18}. You should download and use gdb 5.0 instead!
@item
If you try linking mysqld staticly
, the resulting image will core dump
at start. In other words, @strong{DON'T} use
@code{--with-mysqld-ldflags=-all-static}
If you try linking mysqld staticly
when using gcc, the resulting image
will core dump
at start. In other words, @strong{DON'T} use
@code{--with-mysqld-ldflags=-all-static}
with gcc
@end itemize
We don't yet know if the following old information is still relevant, so we
leave this here until we have had time to test Linux-Alpha properly.
If you have problems with signals (@strong{MySQL} dies unexpectedly
under high load) you may have found an OS bug with threads and
signals. In this case you can tell @strong{MySQL} not to use signals by
configuring with:
@example
shell> CFLAGS=-DDONT_USE_THR_ALARM \
CXXFLAGS=-DDONT_USE_THR_ALARM \
./configure ...
@end example
This doesn't affect the performance of @strong{MySQL}, but has the side
effect that you can't kill clients that are ``sleeping'' on a connection with
@code{mysqladmin kill} or @code{mysqladmin shutdown}. Instead, the client
will die when it issues its next command.
@node MKLinux, Qube2, Linux-Alpha, Linux
@subsubsection MkLinux Notes
...
...
@@ -30808,13 +30802,32 @@ problems if you have values > 127 in the column!
@cindex ADO program
@item ADO
When you access @strong{MyODBC} through ADO, @strong{MyODBC} doesn't
return a result for @code{SQLRowCount} for a query. We have tried to
track this down and according to ODBC logs, @strong{MyODBC} returns the
correct answer but the ADO client only gets -1 back from the ODBC
manager. Because of this we can only assume this is a bug in ADO.
When you are coding with the ADO API and @strong{MyODBC} you need to put
attention in some default properties that aren't supported by the
@strong{MySQL} server. For example using the @code{CursorLocation
Property} as @code{adUseServer} will return for the @code{RecordCount
Property} a result of -1. To have the right value, you need to set this
property to @code{adUseClient}, like is showing in the VB code below:
The only known workaround is to use a @code{SELECT COUNT(*)} statement
@example
Dim myconn As New ADODB.Connection
Dim myrs As New Recordset
Dim mySQL As String
Dim myrows As Long
myconn.Open "DSN=MyODBCsample"
mySQL = "SELECT * from user"
myrs.Source = mySQL
Set myrs.ActiveConnection = myconn
myrs.CursorLocation = adUseClient
myrs.Open
myrows = myrs.RecordCount
myrs.Close
myconn.Close
@end example
Another workaround is to use a @code{SELECT COUNT(*)} statement
for a similar query to get the correct row count.
@cindex Borland Buidler 4 program
...
...
@@ -37705,7 +37718,7 @@ Fernandez Herrero.
@itemize @bullet
@item Graphical clients
@itemize @bullet
@item @uref{http://www.ideit.com/products/dbvis
:
DbVisualizer}
@item @uref{http://www.ideit.com/products/dbvis
,
DbVisualizer}
Freeware JDBC client to graphically visualize the data and structure
of several databases simultaneously. By Innovative-IT Development AB.
...
...
@@ -38531,6 +38544,17 @@ though, so Version 3.23 is not released as a stable version yet.
@appendixsubsec Changes in release 3.23.28
@itemize @bullet
@item
Fixed bug when using a multi-part keys where the first part was of type
@code{TEXT} or @code{BLOB}.
@item
@code{DROP} of temporary tables wasn't stored in the update/binary log.
@item
Fixed bug where @code{SELECT DISTINCT * ... LIMIT #} only returned 1 row.
@item
Fixed a bug in the assembler code in strstr for sparc and cleaned up
the global.h header file to avoid a problem with bad aliasing with
the compiler submitted with RedHat 7.0. (Reported by Trond Eivind Glomsrød)
@item
Fixed the @code{--skip-networking} works properly on NT.
@item
Fixed long outstanding bug in the @code{ISAM} tables when a row with a length
...
...
@@ -43045,6 +43069,9 @@ Allow users to change startup options without taking down the server.
Help for all commands from the client.
@item
Secure connections (with SSL).
@item
Extend the optimizer to be able to optimize some
@code{ORDER BY key_name DESC} queries.
@end itemize
@node TODO future, TODO sometime, TODO MySQL 4.0, TODO
...
...
@@ -43185,8 +43212,7 @@ Function @code{CASE}.
Many more variables for @code{show status}. Counts for:
@code{INSERT}/@code{DELETE}/@code{UPDATE} statements. Records reads and
updated. Selects on 1 table and selects with joins. Mean number of
tables in select. Key buffer read/write hits (logical and real).
@code{ORDER BY}, @code{GROUP BY}, temporary tables created.
tables in select. Number of @code{ORDER BY} and @code{GROUP BY} queries.
@item
If you abort @code{mysql} in the middle of a query, you should open
another connection and kill the old running query.
myisam/mi_key.c
View file @
b31d0768
...
...
@@ -181,10 +181,14 @@ uint _mi_pack_key(register MI_INFO *info, uint keynr, uchar *key, uchar *old,
}
else
if
(
keyseg
->
flag
&
(
HA_VAR_LENGTH
|
HA_BLOB_PART
))
{
uint
tmp_length
=
uint2korr
(
pos
);
pos
+=
2
;
/* Length of key-part used with mi_rkey() always 2 */
uint
tmp_length
=
uint2korr
(
pos
);
k_length
-=
2
+
length
;
set_if_smaller
(
length
,
tmp_length
);
store_key_length_inc
(
key
,
length
);
k_length
-=
2
;
memcpy
((
byte
*
)
key
,
pos
+
2
,(
size_t
)
length
);
key
+=
length
;
continue
;
}
else
if
(
keyseg
->
flag
&
HA_SWAP_KEY
)
{
/* Numerical column */
...
...
mysys/Makefile.am
View file @
b31d0768
...
...
@@ -61,7 +61,7 @@ DEFS = -DDEFAULT_BASEDIR=\"$(prefix)\" \
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
\
@DEFS@
#getopt1.o:
@THREAD_LOBJECTS@
libmysys_a_DEPENDENCIES
=
@THREAD_LOBJECTS@
OMIT_DEPENDENCIES
=
pthread.h stdio.h __stdio.h stdlib.h __stdlib.h math.h
\
__math.h time.h __time.h unistd.h __unistd.h types.h
\
...
...
@@ -75,11 +75,25 @@ OMIT_DEPENDENCIES = pthread.h stdio.h __stdio.h stdlib.h __stdlib.h math.h\
# I hope this always does the right thing. Otherwise this is only test programs
FLAGS
=
$(DEFS)
$(INCLUDES)
$(CPPFLAGS)
$(CFLAGS)
#
# The CP .. RM stuff is to avoid problems with some compilers (like alpha ccc)
# which automaticly removes the object files you use to compile a final program
#
test_thr_alarm
:
thr_alarm.c $(LIBRARIES)
$(LINK)
$(FLAGS)
-DMAIN
$(srcdir)
/thr_alarm.c
$(LDADD)
$(LIBS)
$(CP)
$(srcdir)
/thr_alarm.c ./test_thr_alarm.c
$(LINK)
$(FLAGS)
-DMAIN
./test_thr_alarm.c
$(LDADD)
$(LIBS)
$(RM)
./test_thr_alarm.
*
test_thr_lock
:
thr_lock.c $(LIBRARIES)
$(LINK)
$(FLAGS)
-DMAIN
$(srcdir)
/thr_lock.c
$(LDADD)
$(LIBS)
$(CP)
$(srcdir)
/thr_lock.c test_thr_lock.c
$(LINK)
$(FLAGS)
-DMAIN
./test_thr_lock.c
$(LDADD)
$(LIBS)
$(RM)
./test_thr_lock.
*
test_vsnprintf
:
my_vsnprintf.c $(LIBRARIES)
$(CP)
$(srcdir)
/my_vsnprintf.c test_vsnprintf.c
$(LINK)
$(FLAGS)
-DMAIN
./test_vsnprintf.c
$(LDADD)
$(LIBS)
$(RM)
test_vsnprintf.
*
test_dir
:
test_dir.c $(LIBRARIES)
$(LINK)
$(FLAGS)
-DMAIN
$(srcdir)
/test_dir.c
$(LDADD)
$(LIBS)
...
...
@@ -87,9 +101,6 @@ test_dir: test_dir.c $(LIBRARIES)
test_charset
:
test_charset.c $(LIBRARIES)
$(LINK)
$(FLAGS)
-DMAIN
$(srcdir)
/test_charset.c
$(LDADD)
$(LIBS)
test_vsnprintf
:
my_vsnprintf.c $(LIBRARIES)
$(LINK)
$(FLAGS)
-DMAIN
$(srcdir)
/my_vsnprintf.c
$(LDADD)
$(LIBS)
test_hash
:
test_hash.c $(LIBRARIES)
$(LINK)
$(FLAGS)
-DMAIN
$(srcdir)
/test_dir.c
$(LDADD)
$(LIBS)
...
...
sql-bench/Results/ATIS-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Testing server 'MySQL 3.23.2
5 beta' at 2000-10-13 0:30:52
Testing server 'MySQL 3.23.2
8 gamma' at 2000-11-18 15:05:04
ATIS table test
...
...
@@ -6,14 +6,14 @@ Creating tables
Time for create_table (28): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Inserting data
Time to insert (9768):
4 wallclock secs ( 0.66
usr 0.60 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert (9768):
3 wallclock secs ( 0.68
usr 0.60 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Retrieving data
Time for select_simple_join (500): 2 wallclock secs ( 0.6
4 usr 0.38
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_join (200): 1
3 wallclock secs ( 4.22 usr 3.17
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_distinct (800): 11 wallclock secs ( 1.
68 usr 1.02
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_group (2800): 10 wallclock secs ( 1.5
4 usr 0.65
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_simple_join (500): 2 wallclock secs ( 0.6
2 usr 0.39
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_join (200): 1
2 wallclock secs ( 4.31 usr 3.11
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_distinct (800): 11 wallclock secs ( 1.
72 usr 0.95
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_group (2800): 10 wallclock secs ( 1.5
8 usr 0.66
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Removing tables
Time to drop_table (28): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time:
40 wallclock secs ( 8.74 usr 5.83
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time:
38 wallclock secs ( 8.93 usr 5.72
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/RUN-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Benchmark DBD suite: 2.9
Date of test: 2000-1
0-13 0:30:52
Date of test: 2000-1
1-18 18:20:34
Running tests on: Linux 2.2.13-SMP alpha
Arguments:
Comments: Alpha DS20 2x500 MHz, 2G memory, key_buffer=16M; gcc 2.95.2 + ccc
Limits from:
Server version: MySQL 3.23.2
5 bet
a
Server version: MySQL 3.23.2
8 gamm
a
ATIS: Total time:
40 wallclock secs ( 8.74 usr 5.83
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
alter-table: Total time:
435 wallclock secs ( 0.29 usr 0.17
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
big-tables: Total time: 4
1 wallclock secs ( 8.36 usr 10.28
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
connect: Total time: 7
6 wallclock secs (34.42 usr 12.79
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
create: Total time: 13
5 wallclock secs (10.37 usr 4.56
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
insert: Total time: 1
756 wallclock secs (370.65 usr 171.18
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
select: Total time: 1
982 wallclock secs (130.60 usr 108.91
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
wisconsin: Total time: 19 wallclock secs ( 3.
67 usr 2.69
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
ATIS: Total time:
38 wallclock secs ( 8.93 usr 5.72
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
alter-table: Total time:
375 wallclock secs ( 0.30 usr 0.15
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
big-tables: Total time: 4
2 wallclock secs ( 9.09 usr 11.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
connect: Total time: 7
7 wallclock secs (34.21 usr 17.98
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
create: Total time: 13
4 wallclock secs (10.66 usr 4.31
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
insert: Total time: 1
851 wallclock secs (450.58 usr 224.15
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
select: Total time: 1
215 wallclock secs (57.43 usr 28.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
wisconsin: Total time: 19 wallclock secs ( 3.
77 usr 2.78
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
All 8 test executed successfully
Totals per operation:
Operation seconds usr sys cpu tests
alter_table_add 2
38
.00 0.17 0.07 0.00 992
alter_table_drop 1
89.00 0.06 0.04
0.00 496
connect 1
3.00 7.52 2.74
0.00 10000
connect+select_1_row 1
6.00 7.90 3.25
0.00 10000
connect+select_simple 16.00
7.94 3.21
0.00 10000
count
53.00 0.04
0.01 0.00 100
count_distinct
94.00 0.64 0.20 0.00 1
000
count_distinct_big
851.00 79.09 89.50 0.00 10
20
count_distinct_group
69.00 1.13 0.58
0.00 1000
count_distinct_group_on_key 4
8.00 0.37 0.16
0.00 1000
count_distinct_group_on_key_parts
69.00 1.10
0.62 0.00 1000
count_group_on_key_parts
44.00 1.15 0.58
0.00 1000
count_on_key 45
2.00 15.84 4.57
0.00 50100
create+drop 13.00 2.
72 1.19
0.00 10000
create_MANY_tables 91.00 1.8
0
0.61 0.00 10000
alter_table_add 2
05
.00 0.17 0.07 0.00 992
alter_table_drop 1
61.00 0.07 0.03
0.00 496
connect 1
4.00 8.15 2.36
0.00 10000
connect+select_1_row 1
7.00 8.55 3.39
0.00 10000
connect+select_simple 16.00
8.31 3.17
0.00 10000
count
49.00 0.03
0.01 0.00 100
count_distinct
86.00 0.71 0.21 0.00 2
000
count_distinct_big
140.00 7.24 8.69 0.00 1
20
count_distinct_group
72.00 1.07 0.63
0.00 1000
count_distinct_group_on_key 4
2.00 0.45 0.15
0.00 1000
count_distinct_group_on_key_parts
72.00 1.08
0.62 0.00 1000
count_group_on_key_parts
39.00 0.99 0.61
0.00 1000
count_on_key 45
4.00 15.83 4.45
0.00 50100
create+drop 13.00 2.
86 0.85
0.00 10000
create_MANY_tables 91.00 1.8
5
0.61 0.00 10000
create_index 4.00 0.00 0.00 0.00 8
create_key+drop 17.00 4.
20 1.25
0.00 10000
create_key+drop 17.00 4.
39 1.33
0.00 10000
create_table 0.00 0.00 0.00 0.00 31
delete_all 11.00 0.00 0.00 0.00 12
delete_all_many_keys 49.00 0.01 0.0
0
0.00 1
delete_all_many_keys 49.00 0.01 0.0
1
0.00 1
delete_big 0.00 0.00 0.00 0.00 1
delete_big_many_keys 49.00 0.01 0.0
0
0.00 128
delete_key
5.00 0.68 0.58
0.00 10000
delete_big_many_keys 49.00 0.01 0.0
1
0.00 128
delete_key
4.00 0.65 0.54
0.00 10000
drop_index 4.00 0.00 0.00 0.00 8
drop_table 0.00 0.00 0.00 0.00 28
drop_table_when_MANY_tables 7.00 0.6
9 0.60
0.00 10000
insert 13
2.00 22.47 20.01
0.00 350768
insert_duplicates
40.00 6.20 6.19
0.00 100000
insert_key 9
5.00 8.49 5.48
0.00 100000
insert_many_fields 14.00 0.34 0.1
2
0.00 2000
insert_select_1_key
5
.00 0.00 0.00 0.00 1
drop_table_when_MANY_tables 7.00 0.6
3 0.62
0.00 10000
insert 13
7.00 26.71 20.07
0.00 350768
insert_duplicates
39.00 5.58 6.03
0.00 100000
insert_key 9
3.00 8.08 5.73
0.00 100000
insert_many_fields 14.00 0.34 0.1
6
0.00 2000
insert_select_1_key
4
.00 0.00 0.00 0.00 1
insert_select_2_keys 7.00 0.00 0.00 0.00 1
min_max 23.00 0.03 0.00 0.00 60
min_max_on_key 188.00 25.65 7.76 0.00 85000
multiple_value_insert 7.00 2.08 0.05 0.00 100000
order_by 51.00 21.06 22.46 0.00 10
order_by_key 36.00 20.39 14.82 0.00 10
outer_join 65.00 0.00 0.00 0.00 10
outer_join_found 60.00 0.00 0.00 0.00 10
outer_join_not_found 38.00 0.01 0.00 0.00 500
outer_join_on_key 42.00 0.00 0.00 0.00 10
select_1_row 3.00 0.38 1.04 0.00 10000
select_2_rows 3.00 0.35 0.96 0.00 10000
select_big 56.00 30.32 15.00 0.00 10080
select_column+column 3.00 0.32 0.73 0.00 10000
select_diff_key 175.00 0.24 0.05 0.00 500
select_distinct 11.00 1.68 1.02 0.00 800
select_group 51.00 1.59 0.66 0.00 2911
select_group_when_MANY_tables 7.00 0.95 0.90 0.00 10000
select_join 13.00 4.22 3.17 0.00 200
select_key 141.00 74.40 21.54 0.00 200000
select_key2 146.00 76.95 20.42 0.00 200000
select_key_prefix 146.00 76.59 19.98 0.00 200000
select_many_fields 27.00 8.01 10.15 0.00 2000
select_range 269.00 9.47 5.61 0.00 410
select_range_key2 19.00 6.47 2.37 0.00 25010
select_range_prefix 20.00 6.54 2.29 0.00 25010
select_simple 2.00 0.28 0.79 0.00 10000
select_simple_join 2.00 0.64 0.38 0.00 500
update_big 28.00 0.00 0.00 0.00 10
update_of_key 44.00 2.93 2.56 0.00 50256
update_of_key_big 19.00 0.04 0.03 0.00 501
update_with_key 139.00 23.06 19.06 0.00 300000
wisc_benchmark 4.00 1.75 0.93 0.00 114
TOTALS 4533.00 566.96 316.29 0.00 1944607
min_max 21.00 0.02 0.00 0.00 60
min_max_on_key 186.00 25.42 7.61 0.00 85000
multiple_value_insert 7.00 2.19 0.05 0.00 100000
order_by_big 54.00 22.86 21.67 0.00 10
order_by_big_key 37.00 22.01 14.79 0.00 10
order_by_big_key2 37.00 22.02 14.86 0.00 10
order_by_big_key_desc 37.00 22.03 14.87 0.00 10
order_by_big_key_diff 52.00 23.11 21.71 0.00 10
order_by_key 3.00 1.17 0.64 0.00 500
order_by_key2_diff 5.00 2.05 1.25 0.00 500
order_by_range 5.00 1.17 0.65 0.00 500
outer_join 61.00 0.01 0.00 0.00 10
outer_join_found 55.00 0.00 0.00 0.00 10
outer_join_not_found 35.00 0.01 0.00 0.00 500
outer_join_on_key 40.00 0.00 0.00 0.00 10
select_1_row 3.00 0.41 1.01 0.00 10000
select_2_rows 3.00 0.38 0.89 0.00 10000
select_big 57.00 30.30 20.70 0.00 10080
select_column+column 3.00 0.27 0.75 0.00 10000
select_diff_key 154.00 0.23 0.06 0.00 500
select_distinct 11.00 1.72 0.95 0.00 800
select_group 52.00 1.62 0.67 0.00 2911
select_group_when_MANY_tables 6.00 0.92 0.90 0.00 10000
select_join 12.00 4.31 3.11 0.00 200
select_key 137.00 75.62 20.87 0.00 200000
select_key2 144.00 76.78 20.52 0.00 200000
select_key_prefix 144.00 76.89 20.33 0.00 200000
select_many_fields 28.00 8.73 10.85 0.00 2000
select_range 228.00 8.51 5.59 0.00 410
select_range_key2 20.00 6.50 2.29 0.00 25010
select_range_prefix 18.00 6.46 2.33 0.00 25010
select_simple 2.00 0.29 0.75 0.00 10000
select_simple_join 2.00 0.62 0.39 0.00 500
update_big 25.00 0.00 0.00 0.00 10
update_of_key 47.00 3.41 2.97 0.00 50256
update_of_key_big 18.00 0.04 0.04 0.00 501
update_with_key 134.00 21.08 18.70 0.00 300000
wisc_benchmark 4.00 1.92 0.94 0.00 114
TOTALS 3797.00 574.84 294.06 0.00 1946237
sql-bench/Results/alter-table-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Testing server 'MySQL 3.23.2
5 beta' at 2000-10-13 0:31:33
Testing server 'MySQL 3.23.2
8 gamma' at 2000-11-18 15:05:42
Testing of ALTER TABLE
Testing with 1000 columns and 1000 rows in 20 steps
Insert data into the table
Time for insert (1000)
0 wallclock secs ( 0.06 usr 0.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert (1000)
1 wallclock secs ( 0.06 usr 0.04
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for alter_table_add (992): 2
38
wallclock secs ( 0.17 usr 0.07 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for alter_table_add (992): 2
05
wallclock secs ( 0.17 usr 0.07 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create_index (8): 4 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for drop_index (8): 4 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for alter_table_drop (496): 1
89 wallclock secs ( 0.06 usr 0.04
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for alter_table_drop (496): 1
61 wallclock secs ( 0.07 usr 0.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time:
435 wallclock secs ( 0.29 usr 0.17
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time:
375 wallclock secs ( 0.30 usr 0.15
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/big-tables-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Testing server 'MySQL 3.23.2
5 beta' at 2000-10-13 0:38:49
Testing server 'MySQL 3.23.2
8 gamma' at 2000-11-18 15:11:57
Testing of some unusual tables
All tests are done 1000 times with 1000 fields
Testing table with 1000 fields
Testing select * from table with 1 record
Time to select_many_fields(1000): 1
1 wallclock secs ( 3.96 usr 5.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_many_fields(1000): 1
2 wallclock secs ( 4.18 usr 5.43
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing select all_fields from table with 1 record
Time to select_many_fields(1000): 16 wallclock secs ( 4.
05 usr 5.09
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_many_fields(1000): 16 wallclock secs ( 4.
55 usr 5.42
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing insert VALUES()
Time to insert_many_fields(1000): 5 wallclock secs ( 0.3
1 usr 0.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert_many_fields(1000): 5 wallclock secs ( 0.3
0 usr 0.08
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing insert (all_fields) VALUES()
Time to insert_many_fields(1000): 9 wallclock secs ( 0.0
3 usr 0.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert_many_fields(1000): 9 wallclock secs ( 0.0
4 usr 0.08
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 4
1 wallclock secs ( 8.36 usr 10.28
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 4
2 wallclock secs ( 9.09 usr 11.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/connect-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Testing server 'MySQL 3.23.2
5 beta' at 2000-10-13 0:39:31
Testing server 'MySQL 3.23.2
8 gamma' at 2000-11-18 15:12:39
Testing the speed of connecting to the server and sending of data
All tests are done 10000 times
Testing connection/disconnect
Time to connect (10000): 1
3 wallclock secs ( 7.52 usr 2.74
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to connect (10000): 1
4 wallclock secs ( 8.15 usr 2.36
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Test connect/simple select/disconnect
Time for connect+select_simple (10000): 16 wallclock secs (
7.94 usr 3.21
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for connect+select_simple (10000): 16 wallclock secs (
8.31 usr 3.17
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Test simple select
Time for select_simple (10000): 2 wallclock secs ( 0.2
8 usr 0.79
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_simple (10000): 2 wallclock secs ( 0.2
9 usr 0.75
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing connect/select 1 row from table/disconnect
Time to connect+select_1_row (10000): 1
6 wallclock secs ( 7.90 usr 3.25
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to connect+select_1_row (10000): 1
7 wallclock secs ( 8.55 usr 3.39
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing select 1 row from table
Time to select_1_row (10000): 3 wallclock secs ( 0.
38 usr 1.04
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_1_row (10000): 3 wallclock secs ( 0.
41 usr 1.01
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing select 2 rows from table
Time to select_2_rows (10000): 3 wallclock secs ( 0.3
5 usr 0.96
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_2_rows (10000): 3 wallclock secs ( 0.3
8 usr 0.89
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Test select with aritmetic (+)
Time for select_column+column (10000): 3 wallclock secs ( 0.
32 usr 0.73
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_column+column (10000): 3 wallclock secs ( 0.
27 usr 0.75
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing retrieval of big records (65000 bytes)
Time to select_big (10000):
20 wallclock secs ( 9.73 usr 0.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_big (10000):
19 wallclock secs ( 7.84 usr 5.67
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 7
6 wallclock secs (34.42 usr 12.79
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 7
7 wallclock secs (34.21 usr 17.98
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/create-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Testing server 'MySQL 3.23.2
5 beta' at 2000-10-13 0:40:47
Testing server 'MySQL 3.23.2
8 gamma' at 2000-11-18 15:13:56
Testing the speed of creating and droping tables
Testing with 10000 tables and 10000 loop count
Testing create of tables
Time for create_MANY_tables (10000): 91 wallclock secs ( 1.8
0
usr 0.61 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create_MANY_tables (10000): 91 wallclock secs ( 1.8
5
usr 0.61 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Accessing tables
Time to select_group_when_MANY_tables (10000):
7 wallclock secs ( 0.95
usr 0.90 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_group_when_MANY_tables (10000):
6 wallclock secs ( 0.92
usr 0.90 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing drop
Time for drop_table_when_MANY_tables (10000): 7 wallclock secs ( 0.6
9 usr 0.60
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for drop_table_when_MANY_tables (10000): 7 wallclock secs ( 0.6
3 usr 0.62
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing create+drop
Time for create+drop (10000): 13 wallclock secs ( 2.
72 usr 1.19
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create_key+drop (10000): 17 wallclock secs ( 4.
20 usr 1.25
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 13
5 wallclock secs (10.37 usr 4.56
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create+drop (10000): 13 wallclock secs ( 2.
86 usr 0.85
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create_key+drop (10000): 17 wallclock secs ( 4.
39 usr 1.33
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 13
4 wallclock secs (10.66 usr 4.31
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/insert-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Testing server 'MySQL 3.23.2
5 beta' at 2000-10-13 0:43:02
Testing server 'MySQL 3.23.2
8 gamma' at 2000-11-18 15:16:11
Testing the speed of inserting data into 1 table and do some selects on it.
The tests are done with a table that has 100000 rows.
...
...
@@ -8,72 +8,78 @@ Creating tables
Inserting 100000 rows in order
Inserting 100000 rows in reverse order
Inserting 100000 rows in random order
Time for insert (300000): 11
0 wallclock secs (19.18 usr 17.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert (300000): 11
6 wallclock secs (23.42 usr 16.99
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing insert of duplicates
Time for insert_duplicates (100000):
40 wallclock secs ( 6.20 usr 6.19
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert_duplicates (100000):
39 wallclock secs ( 5.58 usr 6.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Retrieving data from the table
Time for select_big (10:3000000): 35 wallclock secs (20.45 usr 14.85 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_key (10:3000000): 36 wallclock secs (20.39 usr 14.82 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by (10:3000000): 51 wallclock secs (21.06 usr 22.46 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_diff_key (500:1000): 175 wallclock secs ( 0.24 usr 0.05 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_prefix (5010:42084): 11 wallclock secs ( 2.81 usr 0.93 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_key2 (5010:42084): 10 wallclock secs ( 2.78 usr 1.01 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key_prefix (200000): 146 wallclock secs (76.59 usr 19.98 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key (200000): 141 wallclock secs (74.40 usr 21.54 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key2 (200000): 146 wallclock secs (76.95 usr 20.42 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_big (10:3000000): 37 wallclock secs (22.33 usr 14.93 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_big_key (10:3000000): 37 wallclock secs (22.01 usr 14.79 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_big_key_desc (10:3000000): 37 wallclock secs (22.03 usr 14.87 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_big_key2 (10:3000000): 37 wallclock secs (22.02 usr 14.86 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_big_key_diff (10:3000000): 52 wallclock secs (23.11 usr 21.71 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_big (10:3000000): 54 wallclock secs (22.86 usr 21.67 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_range (500:125750): 5 wallclock secs ( 1.17 usr 0.65 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_key (500:125750): 3 wallclock secs ( 1.17 usr 0.64 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_key2_diff (500:250500): 5 wallclock secs ( 2.05 usr 1.25 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_diff_key (500:1000): 154 wallclock secs ( 0.23 usr 0.06 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_prefix (5010:42084): 10 wallclock secs ( 2.79 usr 0.99 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_key2 (5010:42084): 11 wallclock secs ( 2.80 usr 1.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key_prefix (200000): 144 wallclock secs (76.89 usr 20.33 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key (200000): 137 wallclock secs (75.62 usr 20.87 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key2 (200000): 144 wallclock secs (76.78 usr 20.52 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Test of compares with simple ranges
Time for select_range_prefix (20000:43500):
9 wallclock secs ( 3.73 usr 1.36
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_key2 (20000:43500): 9 wallclock secs ( 3.
69 usr 1.36
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_group (111): 4
1 wallclock secs ( 0.05
usr 0.01 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max_on_key (15000):
10 wallclock secs ( 4.68 usr 1.32
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max (60): 2
3 wallclock secs ( 0.03
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_on_key (100):
38 wallclock secs ( 0.04 usr 0.01
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count (100):
53 wallclock secs ( 0.04
usr 0.01 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_prefix (20000:43500):
8 wallclock secs ( 3.67 usr 1.34
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_key2 (20000:43500): 9 wallclock secs ( 3.
70 usr 1.29
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_group (111): 4
2 wallclock secs ( 0.04
usr 0.01 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max_on_key (15000):
9 wallclock secs ( 4.71 usr 1.26
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max (60): 2
1 wallclock secs ( 0.02
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_on_key (100):
41 wallclock secs ( 0.04 usr 0.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count (100):
49 wallclock secs ( 0.03
usr 0.01 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_big (20): 58 wallclock secs ( 0.00 usr 0.01 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing update of keys with functions
Time for update_of_key (50000): 2
2 wallclock secs ( 2.91 usr 2.54
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_of_key_big (501): 1
9 wallclock secs ( 0.04 usr 0.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_of_key (50000): 2
6 wallclock secs ( 3.38 usr 2.96
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_of_key_big (501): 1
8 wallclock secs ( 0.04 usr 0.04
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing update with key
Time for update_with_key (300000): 13
9 wallclock secs (23.06 usr 19.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_with_key (300000): 13
4 wallclock secs (21.08 usr 18.70
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing update of all rows
Time for update_big (10): 2
8
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_big (10): 2
5
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing left outer join
Time for outer_join_on_key (10:10): 4
2
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join (10:10): 6
5 wallclock secs ( 0.00
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_found (10:10):
60
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_not_found (500:10): 3
8
wallclock secs ( 0.01 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_on_key (10:10): 4
0
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join (10:10): 6
1 wallclock secs ( 0.01
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_found (10:10):
55
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_not_found (500:10): 3
5
wallclock secs ( 0.01 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing INSERT INTO ... SELECT
Time for insert_select_1_key (1):
5
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert_select_1_key (1):
4
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert_select_2_keys (1): 7 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for drop table(2): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing delete
Time for delete_key (10000):
5 wallclock secs ( 0.68 usr 0.58
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for delete_key (10000):
4 wallclock secs ( 0.65 usr 0.54
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for delete_all (12): 11 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Insert into table with 16 keys and with a primary key with 16 parts
Time for insert_key (100000): 9
5 wallclock secs ( 8.49 usr 5.48
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert_key (100000): 9
3 wallclock secs ( 8.08 usr 5.73
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing update of keys
Time for update_of_key (256): 2
2 wallclock secs ( 0.02 usr 0.02
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_of_key (256): 2
1 wallclock secs ( 0.03 usr 0.01
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Deleting rows from the table
Time for delete_big_many_keys (128): 49 wallclock secs ( 0.01 usr 0.0
0
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for delete_big_many_keys (128): 49 wallclock secs ( 0.01 usr 0.0
1
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Deleting everything from table
Time for delete_all_many_keys (1): 49 wallclock secs ( 0.01 usr 0.0
0
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for delete_all_many_keys (1): 49 wallclock secs ( 0.01 usr 0.0
1
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Inserting 100000 rows with multiple values
Time for multiple_value_insert (100000): 7 wallclock secs ( 2.
08
usr 0.05 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for multiple_value_insert (100000): 7 wallclock secs ( 2.
19
usr 0.05 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for drop table(1): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 1
756 wallclock secs (370.65 usr 171.18
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 1
851 wallclock secs (450.58 usr 224.15
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/select-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Testing server 'MySQL 3.23.2
5 beta' at 2000-10-13 1:12:21
Testing server 'MySQL 3.23.2
8 gamma' at 2000-11-18 17:02:47
Testing the speed of selecting on keys that consist of many parts
The test-table has 10000 rows and the test is done with 500 ranges.
Creating table
Inserting 10000 rows
Time to insert (10000): 3 wallclock secs ( 0.7
2 usr 0.58
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert (10000): 3 wallclock secs ( 0.7
6 usr 0.64
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing big selects on the table
Time for select_big (70:17207): 1 wallclock secs ( 0.1
4 usr 0.09
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range (410:1057904): 2
69 wallclock secs ( 9.47 usr 5.61
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max_on_key (70000): 17
8 wallclock secs (20.97 usr 6.44
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_on_key (50000): 41
4 wallclock secs (15.80 usr 4.56
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_big (70:17207): 1 wallclock secs ( 0.1
3 usr 0.10
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range (410:1057904): 2
28 wallclock secs ( 8.51 usr 5.59
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max_on_key (70000): 17
7 wallclock secs (20.71 usr 6.35
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_on_key (50000): 41
3 wallclock secs (15.79 usr 4.45
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_group_on_key_parts (1000:
0): 44 wallclock secs ( 1.15 usr 0.58
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_group_on_key_parts (1000:
100000): 39 wallclock secs ( 0.99 usr 0.61
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing count(distinct) on the table
Time for count_distinct (
1000:2000): 94 wallclock secs ( 0.64 usr 0.20
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group_on_key (1000:6000): 4
8 wallclock secs ( 0.37 usr 0.16
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group_on_key_parts (1000:100000):
69 wallclock secs ( 1.10
usr 0.62 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group (1000:100000):
69 wallclock secs ( 1.13 usr 0.58
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_big (100
0:10000000): 793 wallclock secs (79.09 usr 89.49
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 1
982 wallclock secs (130.60 usr 108.91
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct (
2000:2000): 86 wallclock secs ( 0.71 usr 0.21
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group_on_key (1000:6000): 4
2 wallclock secs ( 0.45 usr 0.15
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group_on_key_parts (1000:100000):
72 wallclock secs ( 1.08
usr 0.62 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group (1000:100000):
72 wallclock secs ( 1.07 usr 0.63
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_big (100
:1000000): 82 wallclock secs ( 7.24 usr 8.68
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 1
215 wallclock secs (57.43 usr 28.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/wisconsin-mysql-Linux_2.2.13_SMP_alpha
View file @
b31d0768
Testing server 'MySQL 3.23.2
5 beta' at 2000-10-13 1:45:23
Testing server 'MySQL 3.23.2
8 gamma' at 2000-11-18 16:16:05
Wisconsin benchmark test
Time for create_table (3): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Inserting data
Time to insert (31000): 15 wallclock secs ( 1.
91 usr 1.77
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert (31000): 15 wallclock secs ( 1.
85 usr 1.84
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to delete_big (1): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Running actual benchmark
Time for wisc_benchmark (114): 4 wallclock secs ( 1.
75 usr 0.93
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for wisc_benchmark (114): 4 wallclock secs ( 1.
92 usr 0.94
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 19 wallclock secs ( 3.
67 usr 2.69
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 19 wallclock secs ( 3.
77 usr 2.78
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/test-select.sh
View file @
b31d0768
...
...
@@ -338,13 +338,14 @@ if ($limits->{'group_functions'})
$loop_time
=
new Benchmark
;
$rows
=
$estimated
=
$count
=
0
;
for
(
$i
=
0
;
$i
<
$opt_medium_loop_count
;
$i
++
)
$test_count
=
$opt_medium_loop_count
/10
;
for
(
$i
=
0
;
$i
<
$test_count
;
$i
++
)
{
$count
++
;
$rows
+
=
fetch_all_rows
(
$dbh
,
"select idn,count(distinct region) from bench1 group by idn"
)
;
$end_time
=
new Benchmark
;
last
if
(
$estimated
=
predict_query_time
(
$loop_time
,
$end_time
,
\$
count,
$i
+1,
$
opt_medium_loop
_count
))
;
$
test
_count
))
;
}
print_time
(
$estimated
)
;
print
" for count_distinct_big (
$count
:
$rows
): "
.
...
...
sql/log.cc
View file @
b31d0768
...
...
@@ -703,7 +703,7 @@ void MYSQL_LOG::write(THD *thd,const char *query, uint query_length,
VOID
(
pthread_mutex_unlock
(
&
LOCK_log
));
return
;
}
if
(
specialflag
&
SPECIAL_LONG_LOG_FORMAT
)
if
(
(
specialflag
&
SPECIAL_LONG_LOG_FORMAT
)
||
query_start
)
{
current_time
=
time
(
NULL
);
if
(
current_time
!=
last_time
)
...
...
@@ -724,28 +724,26 @@ void MYSQL_LOG::write(THD *thd,const char *query, uint query_length,
if
(
my_b_write
(
&
log_file
,
(
byte
*
)
buff
,
24
))
error
=
errno
;
}
if
(
my_b_printf
(
&
log_file
,
"# User@Host: %s
[%s] @ %s [%s]
\n
"
,
if
(
my_b_printf
(
&
log_file
,
"# User@Host: %s[%s] @ %s [%s]
\n
"
,
thd
->
priv_user
,
thd
->
user
,
thd
->
host
?
thd
->
host
:
""
,
thd
->
ip
?
thd
->
ip
:
""
))
thd
->
ip
?
thd
->
ip
:
""
)
==
(
uint
)
-
1
)
error
=
errno
;
}
if
(
query_start
)
{
/* For slow query log */
if
(
!
(
specialflag
&
SPECIAL_LONG_LOG_FORMAT
))
current_time
=
time
(
NULL
);
if
(
my_b_printf
(
&
log_file
,
"# Time: %lu Lock_time: %lu Rows_sent: %lu
\n
"
,
(
ulong
)
(
current_time
-
query_start
),
(
ulong
)
(
thd
->
time_after_lock
-
query_start
),
(
ulong
)
thd
->
sent_row_count
))
(
ulong
)
thd
->
sent_row_count
)
==
(
uint
)
-
1
)
error
=
errno
;
}
if
(
thd
->
db
&&
strcmp
(
thd
->
db
,
db
))
{
// Database changed
if
(
my_b_printf
(
&
log_file
,
"use %s;
\n
"
,
thd
->
db
))
if
(
my_b_printf
(
&
log_file
,
"use %s;
\n
"
,
thd
->
db
)
==
(
uint
)
-
1
)
error
=
errno
;
strmov
(
db
,
thd
->
db
);
}
...
...
sql/mysqld.cc
View file @
b31d0768
...
...
@@ -172,7 +172,7 @@ static char **defaults_argv,time_zone[30];
static
const
char
*
default_table_type_name
;
#ifdef HAVE_OPENSSL
static
bool
opt_use_ssl
=
false
;
static
bool
opt_use_ssl
=
FALSE
;
static
char
*
opt_ssl_key
=
0
;
static
char
*
opt_ssl_cert
=
0
;
static
char
*
opt_ssl_ca
=
0
;
...
...
sql/share/german/errmsg.sys
View file @
b31d0768
No preview for this file type
sql/share/german/errmsg.txt
View file @
b31d0768
...
...
@@ -166,35 +166,35 @@
"Timeout beim Lesen eines Communication-Packets",
"Fehler beim Schreiben eines Communication-Packets",
"Timeout beim Schreiben eines Communication-Packets",
"
Result string is longer than
max_allowed_packet",
"
The used table type doesn't support BLOB/TEXT columns
",
"
The used table type doesn't support AUTO_INCREMENT columns
",
"INSERT DELAYED
can't be used with table '%-.64s', because it is locked with LOCK TABLES
",
"
Incorrect column
name '%-.100s'",
"
The used table handler can't index column '%-.64s'
",
"All
tables in the MERGE table are not defined identically
",
"
Can't write, because of unique constraint, to table '%-.64s'
",
"BLOB
column '%-.64s' used in key specification without a key length
",
"All
parts of a PRIMARY KEY must be NOT NULL; If you need NULL in a key, use UNIQUE instead
",
"
Result consisted of more than one row
",
"
This table type requires a primary key
",
"
This version of MySQL is not compiled with RAID suppo
rt",
"
You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
",
"
Key '%-.64s' doesn't exist in tab
le '%-.64s'",
"
Can't open table
",
"
The handler for the table doesn't support
check/repair",
"
You are not allowed to execute this command in a transactio
n",
"
Got error %d during
COMMIT",
"
Got error %d during
ROLLBACK",
"
Got error %d during
FLUSH_LOGS",
"
Got error %d during
CHECKPOINT",
"
Aborted connection %ld to
db: '%-.64s' user: '%-.32s' host: `%-.64s' (%-.64s)",
"
The handler for the table does not support binary table
dump",
"Binlog
closed while trying to
FLUSH MASTER",
"
Failed rebuilding the index of dumped table '%-.64s'
",
"
Error from m
aster: '%-.64s'",
"Net
error reading from m
aster",
"Net
error writing to m
aster",
"
Can't find FULLTEXT index matching the column lis
t",
"
Ergebnisstring ist länger al
s max_allowed_packet",
"
Der verwendete Tabellentyp unterstützt keine BLOB/TEXT Spalte
n",
"
Der verwendete Tabellentyp unterstützt keine AUTO_INCREMENT Spalt
e",
"INSERT DELAYED
kann nicht auf Tabelle '%-.64s' angewendet werden, da diese mit LOCK TABLES gesperrt ist
",
"
Falscher Spalten
name '%-.100s'",
"
Der verwendete Tabellen-Handler kann die Spalte '%-.64s' nicht indizieren
",
"All
e Tabelle in der MERGE-Tabelle sind nicht gleich definiert
",
"
Schreiben in Tabelle '%-.64s' nicht möglich wegen eines Unique Constrain
t",
"BLOB
Spalte '%-.64s' wird in der Key-Definition ohne Längenangabe verwende
t",
"All
e Teile eines PRIMARY KEY müssen als NOT NULL definiert sein; Wenn NULL benötigt wird sollte ein UNIQUE Key verwendet werd
en",
"
Ergebnis besteht aus mehr als einer Reihe
",
"
Dieser Tabellentyp verlangt nach einem PRIMARY KEY
",
"
Diese MySQL-Version ist nicht mit RAID-Unterstützung kompili
ert",
"
Unter Verwendung des Sicheren Updatemodes wurde versucht eine Tabelle zu updaten ohne eine KEY-Spalte in der WHERE-Klausel
",
"
Schlüssel '%-.64s' existiert nicht in der Tabe
lle '%-.64s'",
"
Kann Tabelle nicht öffne
n",
"
Der Tabellen-Handler für diese Tabelle unterstützt ke
in check/repair",
"
Keine Berechtigung dieses Kommando in einer Transaktion auszuführ
en",
"
Fehler %d wären
d COMMIT",
"
Fehler %d wären
d ROLLBACK",
"
Fehler %d wären
d FLUSH_LOGS",
"
Fehler %d wären
d CHECKPOINT",
"
Verbindungsabbruch %ld zu
db: '%-.64s' user: '%-.32s' host: `%-.64s' (%-.64s)",
"
Der Tabellenhandler für die Tabelle unterstützt kein Binary Tabell
endump",
"Binlog
wurde beendet wären
d FLUSH MASTER",
"
Neubau des Index der gedumpten Tabelle '%-.64s' fehlgeschlagen
",
"
Fehler vom M
aster: '%-.64s'",
"Net
zfehler beim Lesen vom M
aster",
"Net
zfehler beim Schreiben zum M
aster",
"
Kann keinen FULLTEXT-Index finden der der Spaltenliste entsprich
t",
"Can't execute the given command because you have active locked tables or an active transaction",
"Unknown system variable '%-.64'",
sql/sql_base.cc
View file @
b31d0768
...
...
@@ -1687,6 +1687,7 @@ insert_fields(THD *thd,TABLE_LIST *tables, const char *table_name,
if
(
!
table_name
||
!
strcmp
(
table_name
,
tables
->
name
))
{
Field
**
ptr
=
table
->
field
,
*
field
;
thd
->
used_tables
|=
table
->
map
;
while
((
field
=
*
ptr
++
))
{
Item_field
*
item
=
new
Item_field
(
field
);
...
...
sql/sql_insert.cc
View file @
b31d0768
...
...
@@ -118,11 +118,10 @@ int mysql_insert(THD *thd,TABLE_LIST *table_list, List<Item> &fields,
if we are told to replace duplicates, the insert cannot be concurrent
delayed insert changed to regular in slave thread
*/
if
(
lock_type
==
TL_WRITE_DELAYED
&&
((
specialflag
&
(
SPECIAL_NO_NEW_FUNC
|
SPECIAL_SAFE_MODE
))
||
thd
->
slave_thread
)
||
lock_type
==
TL_WRITE_CONCURRENT_INSERT
&&
duplic
==
DUP_REPLACE
)
if
((
lock_type
==
TL_WRITE_DELAYED
&&
((
specialflag
&
(
SPECIAL_NO_NEW_FUNC
|
SPECIAL_SAFE_MODE
))
||
thd
->
slave_thread
))
||
(
lock_type
==
TL_WRITE_CONCURRENT_INSERT
&&
duplic
==
DUP_REPLACE
))
lock_type
=
TL_WRITE
;
if
(
lock_type
==
TL_WRITE_DELAYED
)
...
...
sql/sql_table.cc
View file @
b31d0768
...
...
@@ -79,7 +79,10 @@ int mysql_rm_table(THD *thd,TABLE_LIST *tables, my_bool if_exists)
{
char
*
db
=
table
->
db
?
table
->
db
:
thd
->
db
;
if
(
!
close_temporary_table
(
thd
,
db
,
table
->
real_name
))
{
some_tables_deleted
=
1
;
// Log query
continue
;
// removed temporary table
}
abort_locked_tables
(
thd
,
db
,
table
->
real_name
);
while
(
remove_table_from_cache
(
thd
,
db
,
table
->
real_name
)
&&
!
thd
->
killed
)
...
...
vio/VioFd.cc
View file @
b31d0768
...
...
@@ -82,13 +82,13 @@ VioFd::keepalive(boolonoff)
bool
VioFd
::
fcntl
()
const
{
return
false
;
return
FALSE
;
}
bool
VioFd
::
should_retry
()
const
{
return
false
;
return
FALSE
;
}
int
...
...
vio/VioSSL.cc
View file @
b31d0768
...
...
@@ -48,7 +48,7 @@ report_errors()
VioSSL
::
VioSSL
(
int
fd
,
vio_ptr
ssl_context
,
int
state
)
:
bio_
(
0
),
ssl_con_
(
0
),
open_
(
false
),
sd_
(
new
VioSocket
(
fd
))
:
bio_
(
0
),
ssl_con_
(
0
),
open_
(
FALSE
),
sd_
(
new
VioSocket
(
fd
))
{
DBUG_ENTER
(
"VioSSL::VioSSL"
);
DBUG_PRINT
(
"enter"
,
(
"this=%p, fd=%d, ssl_context=%p, state=%d"
,
...
...
@@ -66,7 +66,7 @@ VioSSL::VioSSL(int fd,
VioSSL
::
VioSSL
(
VioSocket
*
sd
,
vio_ptr
ssl_context
,
int
state
)
:
bio_
(
0
),
ssl_con_
(
0
),
open_
(
false
),
sd_
(
sd
)
:
bio_
(
0
),
ssl_con_
(
0
),
open_
(
FALSE
),
sd_
(
sd
)
{
DBUG_ENTER
(
"VioSSL::VioSSL"
);
DBUG_PRINT
(
"enter"
,
...
...
vio/VioSSLFactoriesFd.cc
View file @
b31d0768
...
...
@@ -24,8 +24,8 @@ VIO_NS_BEGIN
#define this_ssl_context my_static_cast(SSL_CTX*)(this->ssl_context_)
typedef
unsigned
char
*
ssl_data_ptr_t
;
static
bool
ssl_algorithms_added
=
false
;
static
bool
ssl_error_strings_loaded
=
false
;
static
bool
ssl_algorithms_added
=
FALSE
;
static
bool
ssl_error_strings_loaded
=
FALSE
;
static
int
verify_depth
=
0
;
static
int
verify_error
=
X509_V_OK
;
...
...
vio/VioSocket.cc
View file @
b31d0768
...
...
@@ -73,7 +73,7 @@ VIO_NS_BEGIN
VioSocket
::
VioSocket
(
vio_socket
sd
,
enum_vio_type
type
,
bool
localhost
)
:
sd_
(
sd
),
localhost_
(
localhost
),
fcntl_
(
0
),
fcntl_set_
(
false
),
cipher_description_
(
0
)
fcntl_set_
(
FALSE
),
cipher_description_
(
0
)
{
DBUG_ENTER
(
"VioSocket::VioSocket"
);
DBUG_PRINT
(
"enter"
,
(
"sd=%d"
,
sd
));
...
...
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