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
c89eee10
Commit
c89eee10
authored
Nov 15, 2000
by
tim@work.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thread_test.c make thread_test compile on non-threaded machines
parent
c270064c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
client/thread_test.c
client/thread_test.c
+5
-4
No files found.
client/thread_test.c
View file @
c89eee10
...
@@ -16,10 +16,6 @@
...
@@ -16,10 +16,6 @@
MA 02111-1307, USA */
MA 02111-1307, USA */
#include <global.h>
#include <global.h>
#include <my_sys.h>
#include <my_pthread.h>
#include "mysql.h"
#include <getopt.h>
#ifndef THREAD
#ifndef THREAD
...
@@ -30,6 +26,11 @@ int main(int argc, char **argv)
...
@@ -30,6 +26,11 @@ int main(int argc, char **argv)
}
}
#else
#else
#include <my_sys.h>
#include <my_pthread.h>
#include "mysql.h"
#include <getopt.h>
static
my_bool
version
,
verbose
;
static
my_bool
version
,
verbose
;
static
uint
thread_count
,
number_of_tests
=
1000
,
number_of_threads
=
2
;
static
uint
thread_count
,
number_of_tests
=
1000
,
number_of_threads
=
2
;
static
pthread_cond_t
COND_thread_count
;
static
pthread_cond_t
COND_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