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
432e4697
Commit
432e4697
authored
Aug 05, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge
BitKeeper/etc/logging_ok: auto-union configure.in: SCCS merged
parents
e223c07e
cdca651f
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
266 additions
and
221 deletions
+266
-221
BUILD/compile-hpux11-parisc2-aCC
BUILD/compile-hpux11-parisc2-aCC
+1
-1
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+2
-0
configure.in
configure.in
+2
-2
libmysql/libmysql.c
libmysql/libmysql.c
+248
-191
ndb/include/kernel/kernel_config_parameters.h
ndb/include/kernel/kernel_config_parameters.h
+0
-5
ndb/src/kernel/vm/Configuration.cpp
ndb/src/kernel/vm/Configuration.cpp
+5
-20
netware/mysql_test_run.c
netware/mysql_test_run.c
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+1
-1
tests/client_test.c
tests/client_test.c
+6
-0
No files found.
BUILD/compile-hpux11-parisc2-aCC
View file @
432e4697
...
@@ -13,7 +13,7 @@ fi
...
@@ -13,7 +13,7 @@ fi
# Also sends +Oprocelim and +Ofastaccess to the linker
# Also sends +Oprocelim and +Ofastaccess to the linker
# (see ld(1)).
# (see ld(1)).
release_flags
=
"-fast +O
4
"
release_flags
=
"-fast +O
3
"
# -z Do not bind anything to address zero. This option
# -z Do not bind anything to address zero. This option
# allows runtime detection of null pointers. See the
# allows runtime detection of null pointers. See the
...
...
BitKeeper/etc/logging_ok
View file @
432e4697
...
@@ -84,6 +84,7 @@ joreland@mysql.com
...
@@ -84,6 +84,7 @@ joreland@mysql.com
jorge@linux.jorge.mysql.com
jorge@linux.jorge.mysql.com
jplindst@t41.(none)
jplindst@t41.(none)
kaj@work.mysql.com
kaj@work.mysql.com
kent@mysql.com
konstantin@mysql.com
konstantin@mysql.com
kostja@oak.local
kostja@oak.local
lenz@kallisto.mysql.com
lenz@kallisto.mysql.com
...
@@ -97,6 +98,7 @@ miguel@hegel.txg
...
@@ -97,6 +98,7 @@ miguel@hegel.txg
miguel@light.
miguel@light.
miguel@light.local
miguel@light.local
miguel@sartre.local
miguel@sartre.local
mikron@c-fb0ae253.1238-1-64736c10.cust.bredbandsbolaget.se
mikron@mikael-ronstr-ms-dator.local
mikron@mikael-ronstr-ms-dator.local
mmatthew@markslaptop.
mmatthew@markslaptop.
monty@bitch.mysql.fi
monty@bitch.mysql.fi
...
...
configure.in
View file @
432e4697
...
@@ -2961,10 +2961,10 @@ then
...
@@ -2961,10 +2961,10 @@ then
if
test
"
$with_debug
"
=
"yes"
if
test
"
$with_debug
"
=
"yes"
then
then
# Medium debug.
# Medium debug.
NDB_DEFS
=
"-DVM_TRACE -DERROR_INSERT -DARRAY_GUARD"
NDB_DEFS
=
"-D
NDB_DEBUG -D
VM_TRACE -DERROR_INSERT -DARRAY_GUARD"
elif
test
"
$with_debug
"
=
"full"
elif
test
"
$with_debug
"
=
"full"
then
then
NDB_DEFS
=
"-DVM_TRACE -DERROR_INSERT -DARRAY_GUARD"
NDB_DEFS
=
"-D
NDB_DEBUG_FULL -D
VM_TRACE -DERROR_INSERT -DARRAY_GUARD"
else
else
NDB_DEFS
=
"-DNDEBUG"
NDB_DEFS
=
"-DNDEBUG"
fi
fi
...
...
libmysql/libmysql.c
View file @
432e4697
This diff is collapsed.
Click to expand it.
ndb/include/kernel/kernel_config_parameters.h
View file @
432e4697
...
@@ -14,10 +14,7 @@
...
@@ -14,10 +14,7 @@
#define CFG_ACC_SCAN (PRIVATE_BASE + 9)
#define CFG_ACC_SCAN (PRIVATE_BASE + 9)
#define CFG_DICT_ATTRIBUTE (PRIVATE_BASE + 10)
#define CFG_DICT_ATTRIBUTE (PRIVATE_BASE + 10)
#define CFG_DICT_CONNECT (PRIVATE_BASE + 11)
#define CFG_DICT_FRAG_CONNECT (PRIVATE_BASE + 12)
#define CFG_DICT_TABLE (PRIVATE_BASE + 13)
#define CFG_DICT_TABLE (PRIVATE_BASE + 13)
#define CFG_DICT_TC_CONNECT (PRIVATE_BASE + 14)
#define CFG_DIH_API_CONNECT (PRIVATE_BASE + 15)
#define CFG_DIH_API_CONNECT (PRIVATE_BASE + 15)
#define CFG_DIH_CONNECT (PRIVATE_BASE + 16)
#define CFG_DIH_CONNECT (PRIVATE_BASE + 16)
...
@@ -27,10 +24,8 @@
...
@@ -27,10 +24,8 @@
#define CFG_DIH_TABLE (PRIVATE_BASE + 20)
#define CFG_DIH_TABLE (PRIVATE_BASE + 20)
#define CFG_LQH_FRAG (PRIVATE_BASE + 21)
#define CFG_LQH_FRAG (PRIVATE_BASE + 21)
#define CFG_LQH_CONNECT (PRIVATE_BASE + 22)
#define CFG_LQH_TABLE (PRIVATE_BASE + 23)
#define CFG_LQH_TABLE (PRIVATE_BASE + 23)
#define CFG_LQH_TC_CONNECT (PRIVATE_BASE + 24)
#define CFG_LQH_TC_CONNECT (PRIVATE_BASE + 24)
#define CFG_LQH_REPLICAS (PRIVATE_BASE + 25)
#define CFG_LQH_LOG_FILES (PRIVATE_BASE + 26)
#define CFG_LQH_LOG_FILES (PRIVATE_BASE + 26)
#define CFG_LQH_SCAN (PRIVATE_BASE + 27)
#define CFG_LQH_SCAN (PRIVATE_BASE + 27)
...
...
ndb/src/kernel/vm/Configuration.cpp
View file @
432e4697
...
@@ -510,7 +510,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
...
@@ -510,7 +510,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
// The remainder are allowed for use by the scan processes.
// The remainder are allowed for use by the scan processes.
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
cfg
.
put
(
CFG_ACC_OP_RECS
,
cfg
.
put
(
CFG_ACC_OP_RECS
,
noOfReplicas
*
((
16
*
noOfOperations
)
/
10
+
50
)
+
((
11
*
noOfOperations
)
/
10
+
50
)
+
(
noOfLocalScanRecords
*
MAX_PARALLEL_SCANS_PER_FRAG
)
+
(
noOfLocalScanRecords
*
MAX_PARALLEL_SCANS_PER_FRAG
)
+
NODE_RECOVERY_SCAN_OP_RECORDS
);
NODE_RECOVERY_SCAN_OP_RECORDS
);
...
@@ -536,17 +536,8 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
...
@@ -536,17 +536,8 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
cfg
.
put
(
CFG_DICT_ATTRIBUTE
,
cfg
.
put
(
CFG_DICT_ATTRIBUTE
,
noOfAttributes
);
noOfAttributes
);
cfg
.
put
(
CFG_DICT_CONNECT
,
noOfOperations
+
32
);
cfg
.
put
(
CFG_DICT_FRAG_CONNECT
,
NO_OF_FRAG_PER_NODE
*
noOfDBNodes
*
noOfReplicas
);
cfg
.
put
(
CFG_DICT_TABLE
,
cfg
.
put
(
CFG_DICT_TABLE
,
noOfTables
);
noOfTables
);
cfg
.
put
(
CFG_DICT_TC_CONNECT
,
2
*
noOfOperations
);
}
}
{
{
...
@@ -557,7 +548,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
...
@@ -557,7 +548,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
2
*
noOfTransactions
);
2
*
noOfTransactions
);
cfg
.
put
(
CFG_DIH_CONNECT
,
cfg
.
put
(
CFG_DIH_CONNECT
,
noOfOperations
+
46
);
noOfOperations
+
noOfTransactions
+
46
);
cfg
.
put
(
CFG_DIH_FRAG_CONNECT
,
cfg
.
put
(
CFG_DIH_FRAG_CONNECT
,
NO_OF_FRAG_PER_NODE
*
noOfTables
*
noOfDBNodes
);
NO_OF_FRAG_PER_NODE
*
noOfTables
*
noOfDBNodes
);
...
@@ -587,17 +578,11 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
...
@@ -587,17 +578,11 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
cfg
.
put
(
CFG_LQH_FRAG
,
cfg
.
put
(
CFG_LQH_FRAG
,
NO_OF_FRAG_PER_NODE
*
noOfTables
*
noOfReplicas
);
NO_OF_FRAG_PER_NODE
*
noOfTables
*
noOfReplicas
);
cfg
.
put
(
CFG_LQH_CONNECT
,
noOfReplicas
*
((
11
*
noOfOperations
)
/
10
+
50
));
cfg
.
put
(
CFG_LQH_TABLE
,
cfg
.
put
(
CFG_LQH_TABLE
,
noOfTables
);
noOfTables
);
cfg
.
put
(
CFG_LQH_TC_CONNECT
,
cfg
.
put
(
CFG_LQH_TC_CONNECT
,
noOfReplicas
*
((
16
*
noOfOperations
)
/
10
+
50
));
(
11
*
noOfOperations
)
/
10
+
50
);
cfg
.
put
(
CFG_LQH_REPLICAS
,
noOfReplicas
);
cfg
.
put
(
CFG_LQH_SCAN
,
cfg
.
put
(
CFG_LQH_SCAN
,
noOfLocalScanRecords
);
noOfLocalScanRecords
);
...
@@ -611,7 +596,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
...
@@ -611,7 +596,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
3
*
noOfTransactions
);
3
*
noOfTransactions
);
cfg
.
put
(
CFG_TC_TC_CONNECT
,
cfg
.
put
(
CFG_TC_TC_CONNECT
,
noOfOperations
+
16
+
noOfTransactions
);
(
2
*
noOfOperations
)
+
16
+
noOfTransactions
);
cfg
.
put
(
CFG_TC_TABLE
,
cfg
.
put
(
CFG_TC_TABLE
,
noOfTables
);
noOfTables
);
...
@@ -631,7 +616,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
...
@@ -631,7 +616,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
2
*
NO_OF_FRAG_PER_NODE
*
noOfTables
*
noOfReplicas
);
2
*
NO_OF_FRAG_PER_NODE
*
noOfTables
*
noOfReplicas
);
cfg
.
put
(
CFG_TUP_OP_RECS
,
cfg
.
put
(
CFG_TUP_OP_RECS
,
noOfReplicas
*
((
16
*
noOfOperations
)
/
10
+
50
)
);
(
11
*
noOfOperations
)
/
10
+
50
);
cfg
.
put
(
CFG_TUP_PAGE
,
cfg
.
put
(
CFG_TUP_PAGE
,
noOfDataPages
);
noOfDataPages
);
...
...
netware/mysql_test_run.c
View file @
432e4697
...
@@ -170,7 +170,7 @@ void report_stats()
...
@@ -170,7 +170,7 @@ void report_stats()
log_msg
(
"
\n
The .out and .err files in %s may give you some
\n
"
,
result_dir
);
log_msg
(
"
\n
The .out and .err files in %s may give you some
\n
"
,
result_dir
);
log_msg
(
"hint of what when wrong.
\n
"
);
log_msg
(
"hint of what when wrong.
\n
"
);
log_msg
(
"
\n
If you want to report this error, please first read the documentation
\n
"
);
log_msg
(
"
\n
If you want to report this error, please first read the documentation
\n
"
);
log_msg
(
"at: http://www.mysql.com/doc/
M/y
/MySQL_test_suite.html
\n
"
);
log_msg
(
"at: http://www.mysql.com/doc/
en
/MySQL_test_suite.html
\n
"
);
}
}
log_msg
(
"
\n
%.02f total minutes elapsed in the test cases
\n\n
"
,
total_time
/
60
);
log_msg
(
"
\n
%.02f total minutes elapsed in the test cases
\n\n
"
,
total_time
/
60
);
...
...
sql/mysqld.cc
View file @
432e4697
...
@@ -1788,7 +1788,7 @@ bytes of memory\n", ((ulong) sql_key_cache->key_cache_mem_size +
...
@@ -1788,7 +1788,7 @@ bytes of memory\n", ((ulong) sql_key_cache->key_cache_mem_size +
You seem to be running 32-bit Linux and have %d concurrent connections.
\n
\
You seem to be running 32-bit Linux and have %d concurrent connections.
\n
\
If you have not changed STACK_SIZE in LinuxThreads and built the binary
\n
\
If you have not changed STACK_SIZE in LinuxThreads and built the binary
\n
\
yourself, LinuxThreads is quite likely to steal a part of the global heap for
\n
\
yourself, LinuxThreads is quite likely to steal a part of the global heap for
\n
\
the thread stack. Please read http://www.mysql.com/doc/
L/i
/Linux.html
\n\n
"
,
the thread stack. Please read http://www.mysql.com/doc/
en
/Linux.html
\n\n
"
,
thread_count
);
thread_count
);
}
}
#endif
/* HAVE_LINUXTHREADS */
#endif
/* HAVE_LINUXTHREADS */
...
...
tests/client_test.c
View file @
432e4697
...
@@ -9862,11 +9862,17 @@ static void test_bug4026()
...
@@ -9862,11 +9862,17 @@ static void test_bug4026()
time_in
.
minute
=
59
;
time_in
.
minute
=
59
;
time_in
.
second
=
59
;
time_in
.
second
=
59
;
time_in
.
second_part
=
123456
;
time_in
.
second_part
=
123456
;
/*
This is not necessary, just to make assert below work: this field
is filled in when time is received from server
*/
time_in
.
time_type
=
MYSQL_TIMESTAMP_TIME
;
datetime_in
=
time_in
;
datetime_in
=
time_in
;
datetime_in
.
year
=
2003
;
datetime_in
.
year
=
2003
;
datetime_in
.
month
=
12
;
datetime_in
.
month
=
12
;
datetime_in
.
day
=
31
;
datetime_in
.
day
=
31
;
datetime_in
.
time_type
=
MYSQL_TIMESTAMP_DATETIME
;
mysql_stmt_bind_param
(
stmt
,
bind
);
mysql_stmt_bind_param
(
stmt
,
bind
);
...
...
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