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
2165d185
Commit
2165d185
authored
Feb 01, 2001
by
jcole@tetra.spaceapes.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work.mysql.com:/home/bk/mysql
into tetra.spaceapes.com:/usr/home/jcole/bk/mysql
parents
e64b12a0
3634353e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
Docs/manual.texi
Docs/manual.texi
+10
-10
mysys/thr_alarm.c
mysys/thr_alarm.c
+1
-1
mysys/thr_lock.c
mysys/thr_lock.c
+1
-1
No files found.
Docs/manual.texi
View file @
2165d185
...
...
@@ -23514,7 +23514,7 @@ INSERT INTO shop VALUES
Okay, so the example data is:
@example
SELECT * FROM shop
mysql> SELECT * FROM shop;
+---------+--------+-------+
| article | dealer | price |
...
...
@@ -23650,7 +23650,7 @@ LOCK TABLES shop read;
INSERT INTO tmp SELECT article, MAX(price) FROM shop GROUP BY article;
SELECT shop.article, dealer, price FROM shop, tmp
SELECT shop.article, dealer,
shop.
price FROM shop, tmp
WHERE shop.article=tmp.article AND shop.price=tmp.price;
UNLOCK TABLES;
...
...
@@ -27260,7 +27260,7 @@ shell> safe_mysqld -O key_buffer=512k -O sort_buffer=16k \
-O table_cache=32 -O record_buffer=8k -O net_buffer=1K &
@end example
When you have installed @strong{MySQL}, the @file{
Doc
s} directory will
When you have installed @strong{MySQL}, the @file{
support-file
s} directory will
contain some different @code{my.cnf} example files, @file{my-huge.cnf},
@file{my-large.cnf}, @file{my-medium.cnf}, and @file{my-small.cnf}, you can
use as a base to optimize your system.
...
...
@@ -27738,7 +27738,7 @@ can be used to find the relevant rows when scanning the table.
Indexes are used to find rows with a specific value of one column
fast. Without an index @strong{MySQL} has to start with the first record
and then read through the whole table until it finds the relev
e
nt
and then read through the whole table until it finds the relev
a
nt
rows. The bigger the table, the more this costs. If the table has an index
for the colums in question, @strong{MySQL} can quickly get a position to
seek to in the middle of the data file without having to look at all the
...
...
@@ -37673,7 +37673,7 @@ from other threads and set timeouts when talking with the MySQL server,
you should use the @code{-lmysys}, @code{-lstring}, and @code{-ldbug}
libraries and the @code{net_serv.o} code that the server uses.
If you don't need interrupts or timeouts, you can just compile a tread
If you don't need interrupts or timeouts, you can just compile a t
h
read
safe client library @code{(mysqlclient_r)} and use this. @xref{C,,
MySQL C API}. In this case you don't have to worry about the
@code{net_serv.o} object file or the other @strong{MySQL} libraries.
...
...
@@ -41144,6 +41144,8 @@ Added @code{Threads_created} status variable to @code{mysqld}.
@appendixsubsec Changes in release 3.23.30
@itemize @bullet
@item
Added SHOW OPEN TABLES.
@item
Fixed that @code{myisamdump} works against old @code{mysqld} servers.
@item
Fixed @code{myisamchk -k#} so that it works again.
...
...
@@ -46001,8 +46003,6 @@ Change @code{INSERT ... SELECT} to use concurrent inserts.
@item
Add range checking to @code{MERGE} tables.
@item
@code{SHOW OPEN TABLES}
@item
Port of @strong{MySQL} to BeOS.
@item
Link the @code{myisampack} code into the server.
...
...
@@ -46683,7 +46683,7 @@ but in this case one shouldn't investigate the @code{Checking table...}
messages but instead try to find out why @code{mysqld} died.
@node Reproducable test case, , Using log files, Debugging server
@appendixsubsec Mak
eing a test case when you get crashed tables
@appendixsubsec Mak
ing a test case when you experience table corruption
If you get corrupted tables or if @code{mysqld} always fails after some
update commands, you can test if this bug is reproducible by doing the
...
...
@@ -46999,10 +46999,10 @@ messages, you are on the right track. Here is a successful run on
Solaris:
@example
Main thread: 1
Tread 0 (5) started
T
h
read 0 (5) started
Thread: 5 Waiting
process_alarm
Tread 1 (6) started
T
h
read 1 (6) started
Thread: 6 Waiting
process_alarm
process_alarm
mysys/thr_alarm.c
View file @
2165d185
...
...
@@ -689,7 +689,7 @@ static void *test_thread(void *arg)
fd_set
fd
;
FD_ZERO
(
&
fd
);
my_thread_init
();
printf
(
"Tread %d (%s) started
\n
"
,
param
,
my_thread_name
());
fflush
(
stdout
);
printf
(
"T
h
read %d (%s) started
\n
"
,
param
,
my_thread_name
());
fflush
(
stdout
);
for
(
i
=
1
;
i
<=
10
;
i
++
)
{
wait_time
=
param
?
11
-
i
:
i
;
...
...
mysys/thr_lock.c
View file @
2165d185
...
...
@@ -1189,7 +1189,7 @@ static void *test_thread(void *arg)
thr_multi_unlock
(
multi_locks
,
lock_counts
[
param
]);
}
printf
(
"Tread %s (%d) ended
\n
"
,
my_thread_name
(),
param
);
fflush
(
stdout
);
printf
(
"T
h
read %s (%d) ended
\n
"
,
my_thread_name
(),
param
);
fflush
(
stdout
);
thr_print_locks
();
pthread_mutex_lock
(
&
LOCK_thread_count
);
thread_count
--
;
...
...
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